*{
/*     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;
}

.logo img{
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: 0cm 0cm;  
}

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 img{
    width: 20px;
    transform: rotate(90deg);
    margin-left: 10px;
    display: none;
}

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
}

#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;
}

/*    TEXT    */

.transition-fade .text{
    padding-left: 40px;
    padding-top: 40px;
}

.text h1{
    font-family: "Figtree", sans-serif;
    font-weight:600;
    font-size: 2.7rem;
    padding-right: 20px;
}

.text p{
    font-family: "Figtree", sans-serif;
    font-size: 1rem;
    color: #616161;
    margin-top: -3px;
}

/*  --- START GALLERY / IMAGE SLIDER ----  */


/*   MY SWIPER / SWIPER   */

.swiper{
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: auto;
}

/*    SWIPER WRAPPER   */

.swiper-wrapper{
    display: flex;
    width: 100%;
    height: auto;
    padding-top: 30px;
    padding-bottom: 40px;
}

/*   SWIPER-SLIDE   */

.swiper-slide{
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.swiper-slide .info-data{
    display: none;
}

/*   SLIDER IMG   */

.slide-img{
    width: 100%;
    height: auto;
    position: relative;
}

.slide-img img{
    width: 100%;
    height: 500px;
    object-fit: cover;
    box-sizing: border-box;
}

/*   OVERLAY   */

.overlay{
    font-family: "Figtree", sans-serif;
    font-weight: 500;
    position: absolute;
    display: flex;
    left: 50%;
    top:50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    visibility: hidden;
    cursor: pointer;
}

.overlay .resize{
    background-color: #d5d5d5;
    padding: 12px 18px 10px 18px;
    opacity: 100%;
    border-radius: 30px;
    color: black;
    font-size: 1.2rem;
}

.resize:hover{
    background-color: white;
    transition: all ease 0.5s;
}

.slide-img:hover .overlay{
    visibility: visible;
    animation:fade 0.5s;
}

@keyframes fade{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}

/*   DETAIL BOX   */

.detail-box{
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 20px 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;
/*     opacity: 0;
    transition:visibility 0s linear 0.25s, opacity 0.25s; */
}

.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{
    position: absolute;
    right: 10px;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items:center;
    margin: 50px 0px;
    z-index: 30;
} */

.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;
}

.swiper-wrapper{
    display: flex;
    height: 100%;
    width: auto;
}

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;
    font-family: "Figtree", sans-serif;
    margin: 0 10px;
    font-weight: 100;
    font-size: 12px;
}

@media screen and (max-width: 1000px){
    nav{
        position: fixed;
        right: -70vw;
        z-index: 10;
        width: 70vw;
        bottom: 0;
        transition: all 0.5s ease;
        height: calc(100% - 70px);
        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);
    } 

    .transition-fade .text{
        padding-left: 20px;
        padding-top: 40px;
    }

    .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;
    background-color: rgba(239, 239, 239, 0.7);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
}