/* *********** Stylesheet - Reports ********** */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Nunito:ital,wght@0,200..1000;1,200..1000&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');


/*  ---------- CSS Reset -------- */ 

body {
    background-color: rgb(251, 250, 253);
}

* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Lato', sans-serif;
}

/*  ---------- Global Styles -------- */ 

/*  Grid Area Names */

.header {
  grid-area: hd;  
}

.footer {
  grid-area: ft;
}

.content {
  grid-area: main;
}

.sidebar {
  grid-area: sd;
}

.aside {
    grid-area: as;
}

/* Typography */

h2 {
  padding-bottom: 20px;
}

h3 {
  padding-bottom: 20px;
}

h4 {
  padding-bottom: 15px;
}

h5 {
  padding-bottom: 10px;
}
img {
    width: 100%;
    height: auto;
    border-radius: 6px;
}



.wrapper {
    max-width: 1800px;
    width: 95%;
    margin: auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(100px, auto);
  grid-template-areas:
    "hd hd hd hd   hd   hd   hd   hd   hd hd hd hd"
    "sd sd sd main main main main main main as as as"
    "ft ft ft ft   ft   ft   ft   ft   ft ft ft ft";
}

.sidebar, .content, .aside {
  margin: 10px;
}

/*  ---------- Navbar - Logo - Navigation  -------- */ 

.navbar {
    display: flex;
    justify-content: space-between;
    justify-items: center;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 20px;
    padding: 15px;
   border: 1px solid f4f4f6;
  border-radius: 6px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.25);    
}

.navbar-nav {
    display: flex;
    justify-content: space-between;
    justify-items: center;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 20px;
   border: 1px solid f4f4f6;
  border-radius: 6px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.25);    
}

.logo-oth {
    display: flex;
    flex-direction: column;
    align-items: center;
}

ul {
    list-style-type: none;
}

li {
    list-style-type: none;
}

a {
    text-decoration: none;
    color: #333;
  }



.navbar ul{
    display: flex;
}

.navbar a {
    color: #646464;
    padding: 10px;
    margin: 5px;
    font-size: 18px;
    font-weight: 700;
    opacity: 0.75;
    transition: all 0.4s;
}

.navbar a:hover, a:focus {
    border-bottom: 3px #646464 solid;
    opacity: 1;
}

.splash {
  display: flex;
  gap: 3rem;
  font-size: 85%;
  font-style: oblique;
  font-weight: 700;
}

.splash1 {
      color: rgb(206, 20, 20);  
}

.splash2 {
    color: rgb(9, 122, 78); 
}


.splash3 {
    color: rgb(100, 169, 11); 
}


.splash4 {
    color: rgb(222, 73, 35); 
}

.splash5 {
    color: rgb(141, 15, 150); 
}


.splash6 {
    color: rgb(11, 27, 116); 
}



/*  ---------- Main Container - 3 Column Grid Layout  -------- */ 

/*  ---------- 3 Column - Shared Styles  -------- */ 

.column-left, .column-centre, .column-right, .four-recents, .recents .recent {
    display: grid;
    border: 1px solid f4f4f6;
  border-radius: 6px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.25);
  padding: 10px;
  margin-bottom: 32px; 
    }


/*  ----------  Left Column - Info - Search - Category  --------- */ 

.column-left {
    display: grid;
    align-content: start;
    gap: 20px;
    justify-items: center;
    text-align: center;
}

.intro-to-oth {
  border-bottom: 1px solid #646464;
  padding-bottom: 30px;
  margin-bottom: 15px;
}

.intro-to-oth img {
   max-height: 100px;
  width: auto;
}





.database-search-name, .database-search-category, .database-search-note {
  border-bottom: 1px solid #646464;
  padding-bottom: 30px;
  margin-bottom: 15px;
}

.database-search-name img {
  max-height: 100px;
  width: auto;
}

form  {
  margin-top: 15px;
}


/* ------- Submit Button Hover State ------- */

input[type="submit"] {
  color: black;
  background-color: rgba(170, 236, 190, 0.8);
  padding: 5px 8px;
  border: 2px solid green;
  font-size: 12px;
  cursor: pointer;
}

input[type="submit"]:hover {
  color: #f4f4f4;
  background-color: green;
}

/* ------- Munro Corbett Other Buttons ------- */

input[value="Munros"],
input[value="Corbetts"],
input[value="Others"] {
  color: black;
  background-color: rgba(170, 236, 190, 0.8);
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  margin: 1px 1px;
  cursor: pointer;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 8px;
      margin: 10px 0px;

}

input[value="Search"] {
  text-transform: uppercase;
  font-size: 14px;
  margin: 20px 0px;
  padding: 5px 25px;
  border-radius: 8px;
}



input[type="text"] {
  color: black;
  background-color: rgba(170, 236, 190, 0.8);
  background-image: url("https://cdn.bitdegree.org/learn/search-icon.png?229dfb2d");
  background-size: 10px;
  background-position: 3px 3px;
  background-repeat: no-repeat;
  padding-left: 5px;
  height: 30px;
  width: 85%;
}

fieldset {
  border: none;
  margin: none;
  padding: none;
}

.item {
  margin-bottom: 20px;
}


/*  ----------  Centre Column - Latest Report & 4 Most Recent Walks  --------- */ 

.column-centre {
    display: grid;
    gap: 20px;
}


/* -------- Latest Report ------ */


.title {
  text-align: center;
}

.latest-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.latest-header-dist-time {
    text-align: right;
}

.metres {
  font-size: 60%;
}



/*  ---------- Four Most Recent Walk Reports  --------- */ 

.four-recents {
  display: grid;
 }


 .recents {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
 }
 
.recent {
  display: grid;
  grid-template-columns: 1fr;
  align-content: flex-start;
}

.recent h5 {
  font-weight: 400;
}

 .btn-align {
  display: flex;
  justify-content: end;
 }

 .btn-recent {
  color: black;
  background-color: rgba(170, 236, 190, 0.8);
  text-decoration: none;
  font-size: 12px;
  margin: 11px 1px;
  padding: 3px;
  cursor: pointer;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
    border-radius: 8px;
      margin: 10px 0px;
 }

 .btn-recent:hover, .btn-recent:focus, .btn-recent a {
  color: #f4f4f4;
  background-color: green;
 }



/*  ---------- Right Column - Walk Data - Map - Profile - Statistics   -------- */ 

.column-right {
    display: grid;
    align-content: start;
    gap: 20px;
    text-align: center;
}

.italic-sml {
  font-size: 10px;
}

.map {
    border-bottom: 1px solid #646464;
  padding-bottom: 30px;
  margin-bottom: 25px;
}

.pro {
    border-bottom: 1px solid #646464;
  padding-bottom: 30px;
  margin-bottom: 25px;
}

.stats {
    border-bottom: 1px solid #646464;
  padding-bottom: 30px;
  margin-bottom: 25px;
}



/* Footer */


.footer {
     display: flex;
    justify-content: space-between;
    justify-items: center;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 20px;
    padding-left: 15px;
    padding-right: 15px;
   border: 1px solid f4f4f6;
  border-radius: 6px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.25);
  padding: 10px 
}


.footer-links-container {
    display: flex;
    gap: 0.5rem;
    text-align: center;
}

.nav-footer a {
    color: #646464;
    padding: 10px;
    margin: 15px;
    font-size: 18px;
    font-weight: 700;
    opacity: 0.75;
    transition: all 0.4s;
}

.nav-footer a:hover, a:focus {
    border-bottom: 3px #646464 solid;
    opacity: 1;
}

.credit-footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem;
}

.credit {
  font-size: 12px;
  font-weight: 500;
  line-height: 75%;
  opacity: 0.75;
}



/* Media Queries */


 @media (width <= 1250px) {
  /* .wrapper {
    grid-template-columns: repeat(12, 1fr);
    grid-template-areas:
      "hd hd hd hd   hd   hd   hd   hd   hd hd hd hd"
      "main main main  main main main main main main main main main"
      "sd sd sd sd sd sd as as as as as as"
      "ft ft ft   ft  ft   ft   ft   ft   ft ft ft ft";
  } */

    .wrapper {
    grid-template-columns: repeat(12, 1fr);
    grid-template-areas:
      "hd hd hd hd   hd   hd   hd   hd   hd hd hd hd"
      "main main main  main main main main main main main main main"
      "as as as as as as sd sd sd sd sd sd "
      "ft ft ft   ft  ft   ft   ft   ft   ft ft ft ft";
  }

  .splash {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex-direction: column;
  gap: 0.75rem;
}
} 


 @media (width <= 850px) {
  /* .wrapper {
    grid-template-columns: repeat(12, 1fr);
    grid-template-areas:
      "hd hd hd hd   hd   hd   hd   hd   hd hd hd hd"
      "main main main  main main main main main main main main main"
      "as as as as as as as as as as as as"
      "sd sd sd sd sd sd sd sd sd sd sd sd "
      "ft ft ft   ft  ft   ft   ft   ft   ft ft ft ft";
  } */


.wrapper {
    grid-template-columns: repeat(12, 1fr);
    grid-template-areas:
      "hd hd hd hd   hd   hd   hd   hd   hd hd hd hd"
      "main main main  main main main main main main main main main"
      "sd sd sd sd sd sd sd sd sd sd sd sd "
      "as as as as as as as as as as as as"
      "ft ft ft   ft  ft   ft   ft   ft   ft ft ft ft";
  }




  .navbar-nav {
    display: flex;
    flex-direction: column;
  }

  .footer-links-container {
    display: flex;
    flex-direction: column;
    font-size: 15px;
}

.credit-footer {
  display: flex;
  flex-direction: column;
}

.credit {
  font-size: 10px;
}

.nav-footer a {
    padding: 5px;
    font-size: 15px;
} 

.splash {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
}

 @media (width <= 500px) {
  .splash {
    visibility: hidden;
  }

  .navbar-nav a {
    font-size: 12px;
  }
 }


