@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inconsolata&display=swap');
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

@font-face {
    font-family: w;
    src: url(./fonts/WanoQuin-ExtraBold.otf);
}

 
body{
    color: #fff;
    font-family: 'Inconsolata', monospace;
    overflow-x: hidden;
    background-color: #141414;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100vw;
    
}

p{
    color: #fff;
    font-family: 'Inconsolata', monospace;
    font-size: 18px;


}

.arttitle {
    font-family: w;
    font-size: 58px;
    position: absolute;
    top: 0;
    padding: 15%;
    color: #fff;

  
    
}

li {
    list-style: none;
}

a {
    font-family: 'Inconsolata', monospace;

    text-decoration: none;
}

.span{
    position: absolute;
    bottom: 0;
    height: 2px;
    width: 50px;
    background: linear-gradient(90deg , transparent , #fff);
    animation: animate 5s infinite linear;
}


@keyframes animate {
    0%{
        left: 0;
        transform: translate(-100%);
    }
    100%{
        left: 100%;
        transform: translate(0%);
    }
}  

.header{
    border-bottom: 1px transparent;
}

.navbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 3rem;
    position: fixed;
    top: 0;
    width: 100vw;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    background-color: rgba(0,0,0,.3);
    z-index: 900;

}

.hamburger {
    display: none;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: white;
}


.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.nav-item {
    margin-left: 5rem;
}

.nav-link{
    font-family: 'Inconsolata', monospace;
    font-weight: 600;
    font-size: 1rem;
    color: whitesmoke;
}

.nav-link:hover{
    color: #035E7B;
    font-weight: 700;
}

.nav-logo {
    font-size: 2.1rem;
    font-weight: 500;
    color: #482ff7;
}




.logos {
    width:10rem;
}





li{
    list-style: none;
}

a{
    color: #fff;
    text-decoration: none;
}

.menu{
    display: flex;
    gap: 5rem;
    text-transform: uppercase;
    font-weight: 100;
}


.btn{
    font-weight: 500;
    text-transform: uppercase;
}

.containerpolicy {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    
    color: #ffffff;
    line-height: 1.6;
}

@media only screen and (max-width: 768px) {

   
    .nav-menu {
        position: fixed;
        right: -50%;
        top: 5rem;
        flex-direction: column;
        background-color: black;
        opacity: 80%;
        width: 25%;
        height: 90%;
        border-radius: 0px;
        text-align: right;
        transition: 0.3s;
        
    }

    

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        margin: 1.3rem 0;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    
    }
    .hamburger.bar {
        color: white;

    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
        color: #fff;
    }

    .hamburger.active .bar:nth-child(1) {
        -webkit-transform: translateY(8px) rotate(45deg);
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        -webkit-transform: translateY(-8px) rotate(-45deg);
        transform: translateY(-8px) rotate(-45deg);
    }
    .grid-row {
        padding-top: 5%;
    }
    .arttitle {
        font-family: w;
        font-size: 45px;
        position: absolute;
        top: 0;
        padding-top: 40%;
      
        
    }
  
}

.grid-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 20px;
    margin: 20px 0;
    position: relative;
    top: 20rem;
  }
  .card-top img {
    display: block;
    width: 100%;
  }
  .container {
    width: 95%;
    margin: auto;
  }
  .card {
    background: #fff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 20%);
  }
  .card-top {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    overflow: hidden;
  }
  .card-info h2 {
    font-family: 'Inconsolata', monospace;
    color:#000;
    font-size: 18px;
    margin: 10px 0 5px 0;
  }
  .date {
    margin-bottom: 10px;
    color: #000;
  }

  .excerpt {
    color: #aeaeae;
    letter-spacing: 1px;
  }
  .flex-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .card-bottom {
    margin-top: 20px;
  }
  .button {
    text-decoration: unset;
    font-weight: 600;
    text-transform: uppercase;
    color: #4e4e4e;
    width: 80px;
    text-align: center;
    font-size: 15px;
    line-height: 30px;
    border-radius: 5px;
    background: #f2f4f6;
  }
  .read-more {
    text-decoration: unset;
    color: #000;
    font-weight: 600;
  }
  .btn-yellow {
    background: #ffb91d;
  }
  .btn-sky {
    background: #d2f9fe;
  }
  .btn-dpink {
    background: #e8d3fc;
  }
  .modal {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.733);
    margin-top: -1px;
    animation: zoom 0.3s ease-in-out;
    z-index: 1000;

}

@keyframes zoom {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}
.modal img {
    width: 50%;
    object-fit: cover;
}
.closeBtn {
    color: rgba(255, 255, 255, 0.87);
    font-size: 25px;
    position: absolute;
    top: 10px;
    right: 50px;
      cursor: pointer;
    transition: 0.2s ease-in-out;
    
}
.nextBtn {
    position: absolute;
    right: 20%;
}

.prevBtn {
    position: absolute;
    left: 20%;
}



.gallery__item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 4px;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s ease-in-out;
}

.gallery__item img:hover {
    transform: scale(1.1);
}