@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');
*{
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}
html{
    overflow-x: hidden;
}
body{
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    background: linear-gradient(to right, rgb(255,255,255), rgb(254,215,173));
}
nav{
    width: 100%;
    height: 10vh;
    position: sticky;
}
.nav-container{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.logo{
    color: black;
    font-size: 2rem;
    font-weight: bolder;
}
.logo span{
    color: rgb(109,67, 0);
    text-shadow: 0 0 10px rgb(109,67, 0);
}
.hamburg, .cancel{
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
    color: black;
    font-size: 2rem;
    display: none;
}
.nav-container .links {
    display: flex;
    gap: 3rem;
    align-items: center;
}
.nav-container .links a{
    position: relative;
    font-size: 1.2rem;
    color: black;
    text-decoration: none;
    font-weight: 500;
    transform: 0.3s linear;
}
.nav-container .links a::before{
    position: absolute;
    content: "";
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: rgb(109,67, 0);
    transition: 0.2s linear;
}
.nav-container .links a:hover::before{
    width: 100%;
}
.nav-container .contact-btn{
    background-color: transparent;
    padding: 5px 20px;
    border-radius: 20px;
    border: 2px solid rgb(109,67, 0);
    transition: 0.2s linear;
}
.nav-container .contact-btn a{
    color:rgb(109,67, 0);
    transition: 0.3s linear;
}
.nav-container .contact-btn:hover, .nav-container .contact-btn:hover a{
    background-color: rgb(109,67, 0);
    color: white;
}
.nav-container .links a:hover{
    color: rgb(109,67, 0);
}
.dropdown{
    z-index: 100;
    position: absolute;
    top: 0;
    transform: translateY(-500px);
    width: 100%;
    height: auto;
    backdrop-filter: brightness(40%) blur(3px);
    box-shadow: 0 0 20px black;
    transition: 0.2s linear;
}
.dropdown .links a{
    color: white;
    display: flex;
    text-decoration: none;
    justify-content: center;
    padding: 15px 0;
    align-items: center;
    transition: 0.2s linear;
}
.dropdown .links a:hover{
    background-color: rgb(109,67, 0);
}

/*certificate*/
@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg);
    }
    to {
        opacity: 1;
        transform: rotate(0);
    }
}
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 60px ;
    gap:10px;

}
  
.container {
    position: relative;
    width: 25%;
    margin: 5px;
}
  
.image {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0;
    border: 1px solid rgb(109,67, 0);
    border-radius: 6px;
    transform: rotate(-10deg);
    animation: rotateIn 1.5s ease-out forwards;
}
  
.overlay {
    position: absolute; 
    bottom: 0; 
    background:rgba(248, 223, 185, 0.7);
    border-radius: 6px;
    color: #000000; 
    width: 100%;
    transition: .5s ease;
    opacity: 0;
    padding: 10px;
    text-align: center;
}
  
.container:hover .overlay {
    opacity: 1;
}
  
.overlay p {
    margin: 10px 0;
    font-size: 15px;
    font-weight: bold;
}
  

.btn {
    border: 1px solid #6d4300;    
    border-radius: 6px;
    outline: 0;
    width: 40%;
    display: inline-block;
    padding: 6px;
    color: rgb(109,67, 0);
    background-color: rgb(248, 223, 185); 
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.2s ease, background-color 0.3s ease;
}
  
.btn:hover, a:hover {
    background-color:rgb(253, 212, 151);
    text-shadow: 2px 2px 5px rgb(233, 142, 38);
    

}
  
@media screen and (max-width: 768px) {
    .container {
      width: 90%;
      align-items: center;
    }

    .overlay{
        padding: 10px;
    }

    .overlay p{
        font-size: 12px;
    }

    .btn{
        width: 30%;
        font-size: 12px;
    }

}

@media (max-width:768px) {
    body{
        overflow-y: visible;
    }
    nav .logo{
        position: absolute;
        top: 16px;
        left: 15px;
        font-size: 1.5rem;
    }
    .main-container{
        display: flex;
        flex-direction: column;
    }
    .nav-container .links{
        display: none;
    }
    .hamburg,.cancel{
        display: block;
    }
    .main-container .content{
        width: 80%;
    }
    .social-links i{
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.5rem;
    }
    .cancel{
        color: white;
    }
    
    .content{
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .column img{
        width: 50%;
    }

}

