body {
    background-color: #566e7c;
    font-size: 16px;
    background-image: url("./img/main5.jpg");
    background-size: cover;
    background-repeat: no-repeat;

}


/*Header*/

/*here we are using the Google font in hero*/
.hero {
    display: flex;
    text-align: center;
    position: relative;
    background-image: url("./img/main2.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 70% 20%;
    
    height: 750px;
    width: 100%;
    font-family: "Cormorant Garamond", serif;
    font-size: 3.9rem;
    border-radius: 4px;
   
   
    align-items: center;
    justify-content: center;
    
}
.mountain{
    position: absolute;
    z-index: 2;
    opacity: .3;
    width: 20%;
}

nav {
    position: fixed;
    background-color: rgb(179, 107, 48, .6);
    color:wheat;
    width: 140px;
    height: 100px;
    top: 2%;
    right: 2%;
    border-radius: 4px;
}

.hero nav li{
    display:inline-block;
    list-style-type: circle;
        
}

a{
    color:rgb(10, 36, 58);
    font-weight: 700;
}


/*Main*/
/*Another Google font*/
.adventuresHead{
    font-size: 3rem;
    font-family: "Fredericka the Great", serif;
    font-weight: 400;
    font-style: normal;
}

.adventureDiv {
    text-align: center;
    background-color: rgb(27, 73, 114);
    opacity: .8;
    width: 50vh;
    height: 180px;
    border-radius: 4px;

    margin-top: 150px;
    margin-left: 50%;
    transform: translate(-50%, -50%);
}

ol  {
    text-align: left;

    background-color: rgb(128, 145, 150);
    width: 100px;
    height: 80px;
    margin-bottom: 35px;
    margin-left: 10px;
    border-radius: 4px;
    padding-top: 10px;
    
}

.hawaii {
   opacity: 0;
   width: 50px;
   background-color: navajowhite;
   border: 2px solid orange;
   
}
li {
    width: 70px;
    padding-left: 5px;

}

li:hover  .hawaii{
    opacity: 1;
    color: rgba(243, 92, 23, 0.89);
}

section {

    text-align: center;
    background-color: rgb(20, 56, 88, 0.5);
    width: 100%;
    align-items: center;
    border-radius: 4px;

}



.grid{

    margin: auto;
    justify-content:space-evenly;

    
    width: 100%;
     
    border-radius: 3px;          
    display: grid;
    gap: 5px;
    grid-template-columns: repeat(
    auto-fit, minmax(400px, 600px));
}

/* position:relative so we can put h4(child) position:absolute so its on top of the image*/
.box{
    border: 1px solid rgb(73, 40, 40);
    height: 680px;
    position: relative;

    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: rgb(128, 145, 150);
    border-radius: 5px;

   
}



img {
    max-height: 95%;
    width: 98%;
    margin: 5px;
    border-radius: 5px;
}

/* absolute position is only in its parent, box
   if we want the item to be center, we have to use left: 50% BUT also that transform so it really is at center.
*/
.box h2 {
    position: absolute;
    top: 2%;
    left: 50%;
    transform: translate(-50%, -50%);
    

    z-index: 2;
    color: rgb(2, 21, 29);
    font-size: 1.8rem;

}

h6 {
    position: absolute;
    opacity: 0;
    top: 4%;
    left: 50%;
    transform: translate(-50%, -50%);

    z-index: 2;
    font-size: 1.3rem;
}

.box:hover h6  {
    opacity: 1;
    color:rgb(2, 3, 3);

}

.box p {
    text-align: justify;
    margin: 25px;
    color: white;
    font-size: 1.1rem;
    
}


/*FOOTER*/

footer {
    text-align: center;
    
    position: relative;
    background-color: rgb(20, 56, 88);
    height: 70px;
    border-radius: 4px;
    padding: 1px;
}

.trademark{
    position: fixed;
    right: 2%;
    bottom: 1%;
    border-radius: 3%;
    width: 140px;

    font-size: .85rem;
    background-color: rgb(189, 181, 181, 0.4);
}


/*MEDIA query*/

@media only screen and (max-width: 700px) {
    body{
        overflow-x: hidden;
    }
    .hero {

      display: flex;
      flex-direction: column;
      font-size: 7vw;
 
    }

    nav{
        background-color: rgb(179, 107, 48);
        width: 100%;
        height: 60px;
        top: 0%;
        right: 0%;

    

    }
    nav ul{

        display: flex;
        
        justify-content: space-evenly;
        align-items: center;   
        text-align: center;
        padding: 0%;
        

        list-style-type: none;
    }

    nav li {
        flex: 1;



        font-size: 1.5rem;


    }
  }