/* colors dark green: #032725
light green: #233837 
cream:#FEFAF5
teal: #8D9998

beige/taupe: #EAE1D6
teracotta: #8D2D00
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: Integral;
    
}

@font-face {
    font-family:'Nexa';
    src: url(../fonts/nexa/Nexa-ExtraLight.ttf) format(truetype);
  }
  
  @font-face {
    font-family:'Nexa Bold';
    src: url(../fonts/nexa/Nexa-Heavy.ttf) format(truetype);
  }
  
  @font-face {
    font-family:'Akira';
    src: url(../fonts/akira_expanded/Akira\ Expanded\ Demo.otf) format(opentype);
  }
  
  @font-face {
    font-family:'Integral';
    src: url(../fonts/Integral-CF-Font-Family/Fontspring-DEMO-integralcf-medium.otf) format(truetype);
  }

  @font-face {
    font-family:'Satoshi';
    src: url(../fonts/Satoshi_Complete/Fonts/OTF/Satoshi-Medium.otf) format(opentype);
  }

  @font-face {
    font-family:'Satoshi Bold';
    src: url(../fonts/Satoshi_Complete/Fonts/OTF/Satoshi-Bold.otf) format(opentype);
  }

  body {
    background-color: #fffaf5;
  }

  .header .top_nav {
    width: 100%;
    height: 70px;
    background-color: none;
    padding: 0 50px;
    display:flex;
    justify-content: space-between;
    align-items: center;
    color: #032725;
  }

  .top_left {
    display: flex;
  }

  .top_left ul {
    display: flex;
    align-items: center;
    list-style-type: none;
    
  }

  .top_left ul li {
    margin: 0 20px;
  }
  
  .top_left ul li a {
    text-decoration: none;
    color: #032725;
    
  }

  /* ATLAS MIDDLE */

  .top_middle h1 {
    letter-spacing: 0px;
    color: #8D9998 ;
    font-size: 50px;
    text-align: center;
  }

  .top_middle {
    display: flex;
    justify-content: center;
    flex-direction: column; /* Add this line if needed */
    position: relative;
    right: 30px;
    transition: transform 0.5s ease-in-out;
}

.top_middle:hover{
  transform: scale(1.1);
}


  /* TOP RIGHT NAV */

  .header .top_right ul {
    display: flex;
    align-items: center;
    
  }

  .header .top_right ul li {
    margin: 0 20px;
  }

  .top_right ul li a {
    color: #032725;
  }

 #sign_up {
    background-color:  #233837;
    margin-right: 0;
    border-radius: 10px;
    display: block;
    padding: 15px 20px;
    
  }

  #sign_up_link {
    color: #FEFAF5;
  }

  /* Bottom Navigation Bar */

.header .bottom_nav {
        width: 100%;
        height: 70px;
        background-color: none ;
        padding: 20px;
        position: relative;
        top: -15px;

        
    
}

.bottom_nav ul {
        display:flex;
        align-items: center;
        color: #032725;
        justify-content: center;
        
}

.bottom_nav ul li {
    margin: 0 20px;
}

.bottom_nav ul li a {
    color: #032725;
}

/*font-family*/

.top_middle h1 {
    font-family: Integral;
}

.top_left li {
    font-family: Integral;
}

.top_right li {
    font-family: Integral;
}

.bottom_nav li{
    font-family: Integral;
}


 /* img */
 .discover_img img {
    width: 30%;
 }

 .mountain_pic img {
    width: 100vw;
    height: 600px;
 }

/* HOVER FEATURES */
 
.top_left a:hover {
    color: #8D9998;
    transition: color 0.2s ease-in-out, text-decoration 0.3s ease-in-out;

}

.top_right a:hover {
    color: #8D9998;
    transition: color 0.2s ease-in-out, transform 0.5s ease-in-out, font-size 0.5s ease-in-out; 
    
}
.bottom_nav a:hover {
    color: #8D9998;
   
    transition: color 0.2s ease-in-out, transform 0.s ease-in-out, font-size 0.5s ease-in-out; 

   
}

.top_middle :hover{
    color: #8D9998;
    transform: scale(1.1); /* Scale the link to 110% on hover */
    font-size: 60px; /* Increase font size to 110% on hover */
    transition: color 0.2s ease-in-out, transform 0.5s ease-in-out;
}


/* MOTTO SECTION */

.charting_your_journey_motto {
    background-color: none;
    position: relative;
    justify-content: center;
    text-align: center;
    width: 100vw;
    margin-top: 100px;
    
}

.charting_your_journey_motto h1 {
    font-size: 70px;
    color: #233837;
    z-index: 999999999;
}

.charting_your_journey_motto h2 {
    font-size: 100px;
    color: #8D9998;
    font-family: cursive;
    font-weight: 100;
}

#through_books {
  margin-top: -20px;
  
}

/* ATTEMPTED ANIMATION OF MOTTO */
@keyframes floatIn {
  0% {
    opacity: 0;
    transform: translateY(-500px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.charting_your_journey_motto, .learn_more_button, .button_content {
  animation: floatIn 2.5s ease forwards;
}

.header {
  animation: floatIn 0.8s ease forwards;
}

/* LEARN MORE BUTTON */
.button_content {
  background-color: #EAE1D6;
  width: 200px;
  padding: 20px;
  font-size: 12px;
  border-radius: 100px;
  text-align: center;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, font-size 0.3s ease-in-out, width 0.3s ease-in-out; /* Adjust timing functions for smoother transitions */
}

.learn_more_button a {
  color: black;
}

.learn_more_button a:hover {
  color: white;
}

.button_content:hover {
  background-color: #8D9998;
  font-size: 10px;
  width: 190px;
}



.learn_more_button {
  width: 100vw;
  background-color: none;
  justify-content: center;
  margin-top: 50px;
  display: flex;
  
}






/* Gallery Home Books */

body {
    width: 100%;
}

.home_gallery_of_books {
    min-width: 100%;
    height: 1250px;
    background-color:#032725;
    position: absolute;
    top: 80%;
    color: black;
}

.home_gallery_of_books img {
    width: 200px;
}
.gallery1 {
    display: flex;
    justify-content:center;
    margin: 100px;
  }

  .box {
    display:grid;
    width: 400px;
    height: 450px; /* Adjust the height of boxes as needed */
    background-color: #FEFAF5; /* Set the background color of boxes */
    border-radius: 5px; /* Add rounded corners to boxes */
    justify-content: center;
    align-content: center;
    margin: 20px;
    transition: transform 0.3s ease-in-out; 
  }

  .box:hover {
    transform: scale(1.1); /* Enlarge the element by 10% on hover */
  }
  
.box img {
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 2.0);
}

/*
  .gallery2 {
    display: flex;
    justify-content:center;
    margin: 100px;
    position:absolute;
    top: 50%;
    color: white;

  }
  */
  
  .gallery3 {
    position: absolute;
    top: 40%;
    display: flex;
    justify-content:center;
    margin: 100px;
   

  }

  .browse_books_button {
    position: absolute;
    top: 96.5%;
    background-color: #8D9998 ;
    color: white;
    padding: 30px;
    border-radius: 100px;
    width: 300px;
    text-align: center;
    transition: background-color 0.3s ease-in-out, 
    color 0.3s ease-in-out, font-size 0.3s ease-in-out, 
    width 0.3s ease-in-out; /* Adjust timing functions for smoother transitions */
  }
  .browse_books_button:hover {
    background-color: #EAE1D6;
    width: 250px;
    font-size: 15px;
  }
  .browse_books_button a {
    color: white;
  }



/* MEDIA QUERIES */

@media (max-width: 1200px) {
  .header .top_nav {
    padding: 0 30px;
  }
  
  .top_middle h1 {
    font-size: 40px;
  
  }
.top_left li, .top_right li, .bottom_nav{
  font-size: 15px;
}
.browse_menu {
  font-size: 25px;
}
}




@media (max-width: 900px) {
  .header .top_nav {
    padding: 0 30px;
  }
  .top_middle h1 {
    font-size: 40px;
}
.top_left li, .top_right li, .bottom_nav{
  font-size: 15px;
}
.browse_menu {
  font-size: 25px;
}
}




@media (max-width: 700px) {
  .header .top_nav {
    padding: 0 20px;
  }
  .top_middle h1 {
    font-size: 30px;
  }
  .top_left li, .top_right li, .bottom_nav{
      font-size: 12px;}
  .browse_menu {
    font-size: 25px;
}
.charting_your_journey_motto h1, .charting_your_journey_motto h2{
  font-size: 50px;
}
}




@media (max-width: 570px) {
  .header, .top_nav {
    padding: 0 10px;
  }
  
  .top_middle h1 {
    font-size: 20px;
  }
  .top_left li, .top_right li, .bottom_nav{
    font-size: 10px;
  }

  .browse_menu {
    font-size: 20px;
  }
  .charting_your_journey_motto h1, .charting_your_journey_motto h2 {
    font-size: 50px;
  }
  .box {
    grid-template-columns: 1fr; /* Change to a single column */
    width: 350px;
  
}
.home_gallery_of_books img {
  width: 300px;
}
}




@media (max-width: 440px) {
  
  
  .header .top_nav {
    width: 100%;
    height: 70px;
    background-color: none;
    padding: 0 10px;
    display:flex;
    justify-content: space-between;
    align-items: center;
    color: #032725;
    font-size: 10px;
  }
  
  .top_left {
    display: flex;
    margin-left: -5px;
  }
  
  .top_left ul {
    display: flex;
    align-items: center;
    list-style-type: none;
    
  }
  
  .top_left ul li {
    margin: 0 15px;
  }
  
  #search {
  margin-right: 40px;
  }
  .top_left ul li a {
    text-decoration: none;
    color: #032725;
    
  }
  
  /* ATLAS MIDDLE */
  
  .top_middle h1 {
    letter-spacing: 0px;
    color: #8D9998 ;
    font-size: 40px;
    text-align: center;
  }
  
  .top_middle {
    display: flex;
    justify-content: center;
    flex-direction: column; /* Add this line if needed */
    position: relative;
    right: 50px;
    
  }
  
  
  /* TOP RIGHT NAV */
  
  .header .top_right ul {
    display: flex;
    align-items: center;
    margin-left: -30px;
    
  }
  
  .header .top_right ul li {
    margin: 0 5px;
  }
  
  .top_right ul li a {
    color: #032725;
  }
  
  .bottom_nav {
    font-size: 10px;
  }
  
  #sign_up {
    background-color:  #233837;
    margin-right: 0;
    border-radius: 10px;
    display: block;
    padding: 5px 10px;
    font-size: px;
    
  }
  .browse_menu {
    font-size: 15px;}

  .charting_your_journey_motto {
      background-color: none;
      position: relative;
      justify-content: center;
      text-align: center;
      width: 100vw;
      margin-top: 20%;
      
  }
  
  .charting_your_journey_motto h1 {
      font-size: 40px;
      color: #233837;
      z-index: 999999999;
      padding: 20px;
  }
  
  .charting_your_journey_motto h2 {
      font-size: 50px;
      color: #8D9998;
      font-family: cursive;
      font-weight: 100;
  }
  
  #through_books {
    margin-top: -10px;
  }
  .home_gallery_of_books {
    min-width: 100%;
    height: 1250px;
    background-color:#032725;
    position: absolute;
    top: 80%;
    color: black;
}

.home_gallery_of_books img {
    width: 250px;
}
.gallery1 {
    display: hide;
    justify-content:center;
    margin: 0px;
    margin-top: 15%;
  }

  .box {
    display:grid;
    width: 350px;
    height: 450px; /* Adjust the height of boxes as needed */
    background-color: #FEFAF5; /* Set the background color of boxes */
    border-radius: 5px; /* Add rounded corners to boxes */
    justify-content: center;
    align-content: center;
    margin: 20px;
    transition: transform 0.3s ease-in-out; 
    text-align: center;
  }

  .box:hover {
    transform: scale(1.1); /* Enlarge the element by 10% on hover */
  }
  
.box img {
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 2.0);
}
.learn_more_button {
  width: 100vw;
  background-color: none;
  justify-content: center;
  margin-top: 40px;
  display: flex;
  
}
.button_content {
  background-color: #EAE1D6;
  width: 150px;
  padding: 20px;
  font-size: 8px;
  border-radius: 100px;
  text-align: center;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, font-size 0.3s ease-in-out, width 0.3s ease-in-out; /* Adjust timing functions for smoother transitions */
}

.button_content:hover {
  background-color: #8D9998;
  font-size: 8px;
  width: 190px;
}

#mobilehide1, #mobilehide2, #mobilehide3, #mobilehide4{
  display: none;
}





  }
