*{
/*     font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

.logo {
    width: 90px;
    height: auto;
    margin-top: 7px;
}

nav .logo{
    display: none;
}

nav ul{
    display: flex;
    width: 330px;
    align-items: flex-start;
    justify-content: space-between;
}

nav ul li {
    position: relative; /* Added */
  }

  nav ul li a{
    font-family: "Figtree", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: #212526;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: 5px;
    border-style: solid;
    border-width: 2px;
    border-color: white;
}

nav ul li a:hover {
    border-color: #212526;
    }
    
nav ul li a.active {
    background-color: #212526;
    border-color: #212526;
    border-style: solid;
    border-width: 2px;
    color:white
}

nav ul li a img{
    width: 20px;
    transform: rotate(90deg);
    margin-left: 10px;
    display: none;
    color: #ffffff;
}

#dropdown {
    display: none;
    position: absolute; /* Added */
    top: 100%; /* Added */
    left: 0;
    background-color: white; /* Added */
    width: max-content;
    border-radius: 5px;
  }
  
  nav ul li:hover #dropdown {
    display: flex;
    flex-direction: column;
  }

  nav ul li ul li a:hover {
    border-color: #212526;
    text-decoration: underline;
    text-decoration-color: #000000;
    text-decoration-thickness: 2px;
    border-color: #ffffff;
  }

  nav ul li ul li{
    padding: 5px;
  }

.hamburger{
    display: none;
    height: fit-content;
    cursor: pointer;
    padding: 3px 8px;
    border-radius: 5px;
    transition: 0.2s;
}

.hamburger:hover{
    background: #f6f4ff;
}

.hamburger div{
    width: 30px;
    height: 3px;
    margin: 6px 0;
    background-color: #212526;
    border-radius: 2px;
}

.smallNav{
    width: 100%;    
    margin-top: 70px;
    height: auto;
}

.smallNav ul{
    display: flex;
    justify-content: center;
    list-style: none;
    font-family: "Figtree", sans-serif;
    font-weight: 500;
    font-size: 1.1rem;
}

.smallNav ul li a{
    color: #000000;
    padding: 12px 18px 10px 18px;
    border-radius: 30px;
    border-style: solid;
    border-width: 2px;
    border-color: #efefef;
    background-color: #efefef;
    display: block;
    margin: 0 8px;
}

.smallNav ul li a:hover{
    background-color: #d5d5d5;;
    color:#000000;
}

.smallNav ul li a.active{
    color:#efefef;
    border-style: solid;
    border-width: 2px;
    background-color:#000000;
}

body{
    background-color: #efefef;
}

header{
    width: 100%;
    height: 70px;
    background: #fefefe;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 30px;
    padding-left: 10px;
    border-radius: 0 0 10px 10px;
    margin: 0 auto;
}

.cover{
    margin: 70px;
    margin-top: 45px;
}

.grid-container{
    width: 100%;
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 35px;
    background-color: whitesmoke(96, 121, 81);
    height: auto;
}

.column{
    display: flex;
    flex-direction: column;
} 


img{
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: 0cm 0cm;
    border-radius: 5px 5px 0 0;
}

.box{
    background-color: #fefefe;
    box-shadow: 5px 5px 10px #bebebe;
    transition: 0,5s;
    margin-bottom: 55px;
    border-radius: 5px;
    transition: all 1s ease;
}

.box .info-data{
    display: none;
}

.box:hover{
    box-shadow: 10px 10px 20px #a0a0a0;
    cursor: pointer;
}

.color-block{
    background-color: aqua;
    height: 60px;
    width: 100%;
}

.detail-box{
    font-size: 18px;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px 20px 20px;
    box-sizing: border-box;
}

.type{
    display: flex;
    flex-direction: column;
    text-align: left;

}

.type a{
    font-family: "Figtree", sans-serif;
    color:#222222;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.type span{
    font-family: "Figtree", sans-serif;
    font-weight: 500;
    margin-top: 5px;
    color:rgba(26,26,26,0.5);
}

a {
    text-decoration: none;
}


/*   CLOSE UP   */

.close-up{
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: nowrap;
    z-index: 20;
    top: 0;
    justify-content: center;
    align-items: center;
    background-color: rgb(0, 0, 0, 0.9);
    visibility: hidden;
}

.close-up.show {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
}

.close-up .imgandinfo{
    position: absolute;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: auto;
    padding: 40px 0;
    align-items: center;
    z-index: 20;
}

.close-up .imgandinfo ul{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 40px 0;
    background-color: rgba(239, 239, 239, 0.7);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    font-family: "Figtree", sans-serif;
    font-weight: 500;
}

.close-up .imgandinfo ul li{
    padding-top: 10px;
}

.close-up .buttons{
    position: fixed;
    right: 10px;
    top: 0px;
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    z-index: 30;
    height: 2rem;
    margin-right: 20px;
}

.close-up .buttons a img{
    z-index: 40;
    width: 2.1rem;
    height: 2.1rem;
    }

.close-up .buttons #closeButton{
    width: auto;
    height: auto;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.close-up .buttons #infoButton{
    width: auto;
    height: auto;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.close-up .imgandinfo img{
    width: auto;
    height: 100%;
    object-fit: cover;
}

.close-up.show img {
    border-radius: 0;
  }


.reveal{
    position:relative;
    transform: translateY(150px);
    opacity: 0;
    transition: all 1s ease;
}

.reveal.active{
    transform: translateY(0px);
    opacity: 1;
}

footer{
    display: flex;
    height: auto;
    width: 100vw;
    background-color: #efefef;
    place-content: center;
}

footer .footer-content{
    display: flex;
    justify-content: space-evenly;
    width: 30%;
    padding-top: 30px;
    padding-bottom: 20px;
}

footer .footer-content a{
    color:#000000;
    margin: 0 10px;
    font-family: "Figtree", sans-serif;
    font-weight: 100;
    font-size: 12px;
}

@media screen and (max-width: 1000px){
    nav{
        position: fixed;
        right: -70vw;
        z-index: 10;
        width: 70vw;
        height: calc(100% - 70px);
        transition: all 0.5s ease;
        bottom: 0;
        background-color: #fefefe;
        box-shadow: 2px 0 20px 0 rgb(0,0,0,0.05);
        padding: 0 10px;
    }
    #nav_check:checked ~ nav{
        right: 0;
        bottom: 0;
    }

    .hamburger{
        display: block;
    }
    nav ul{
        display: block;
    }

    nav ul li{
        margin: 10px 0;
    }

    nav ul li a{
        width: calc(70vw - 20px);
    }

    nav .logo{
        display: block;
        width: 80px;
        height: auto;
        margin-top: 8px;
    }

    nav ul li a img{
        display: flex;
    }

    #dropdown li a{
    padding: 0px 50px;
    color: #000000;
    }

    #dropdown {
    display: block;
    position: relative; /* Added */
    }

    nav ul li:hover #dropdown {
        display: block;
      }

    nav ul li ul li a:hover {
        border-color: none;
        text-decoration: none;
        border-color: none;
      }

    .grid-container{
        grid-template-columns: repeat(1, 1fr);
    } 

}

@media screen and (max-width: 1000px){
    .cover{
        margin: 10%;
    }

    .box{
        margin-bottom: 14%;
    }

    .close-up .imgandinfo{
        height: auto;
        width: 100%;
        padding: 0 40px;
    }


.close-up .imgandinfo img{
    width: 100%;
    height: auto;
    object-fit: cover;
}

.close-up .buttons{
    position: absolute;
    right: 40px;
    top: -45px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    margin: 0;
    z-index: 30;
}

.close-up .buttons a{
    padding-left: 10px;
    }

    .close-up .buttons a img{
        width: 33px;

        }

.close-up .imgandinfo ul{
    margin: 0 40px;
}

.close-up .imgandinfo ul{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


    
}