@import url("https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css");

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Vazirmatn, sans-serif;
}
html{
    /* overflow-x: hidden; */
}
body{
    width: 100%;
    height: 100vh;
    /* overflow: hidden; */
    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);
}
.menu_bars, .icon{
    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;
}
.links a {
    position: relative;
    font-size: 1.2rem;
    color: black;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s linear;
}
.links a::before{
    position: absolute;
    content: '';
    bottom: -3px;
    right: 0;
    width: 0%;
    height: 3px;
    background: rgb(109, 67, 0);
    transition: 0.2s linear;
}
.links a:hover:before {
    width: 100%;
}
.contact-btn{
    background-color: transparent;
    padding: 5px 20px;
    border-radius: 20px;
    border: 2px solid rgb(109, 67, 0);
    transition: 0.3 linear;
}
.contact-btn a{
    color: #fff;
    transition: 0.3s linear;
}
.contact-btn a:hover{
    color: rgb(109, 67, 0);

}
.contact-btn a:hover,
.contact-btn:hover{
    background-color: rgb(109, 67, 0);
    color: #fff;
    transition: 0.3s linear;
}
/* section */
.section{
    width: 100%;
    height: 90vh;
}
.main-container{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.image{
    z-index: -1;
    width: 50%;
}
.image img{
    width: 80%;
}
.content{
color: black;
width: 40%;
min-height: 100px;
}
.content h1{
    font-size: clamp(1rem , 2rem + 5vw , 3rem);
}
.content h1 span{
    color: rgb(109, 67, 0);
    text-shadow: 0 0 10px rgb(109, 67, 0);

}
.typewriter{
    font-weight: 600;
    font-size: clamp(1rem , 1rem + 5vw , 2rem);
    overflow: hidden;
}
.typewriter span{
    color: rgb(109, 67, 0);
    font-size: 2.5rem;
    text-shadow: 0 0 10px rgb(109, 67, 0);
    border-left: 2px solid black;
    padding-left: 4px;
}
.content p{
    font-size: clamp(0.4rem , 0.2rem + 9vw , 1rem);
    margin: 10px 0;
}
.social-links i{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background-color: transparent;
    border: 0.2rem solid rgb(109, 67, 0);
    border-radius: 50%;
    margin: 5px 10px;
    font-size: 1.5rem;
   color: rgb(109, 67, 0);
    transition: 0.2s linear;
}
.social-links i:hover{
    scale: 1.2;
    color: #fff;
    background-color: rgb(109, 67, 0);
    filter: drop-shadow(0 0 10px rgb(109, 67, 0));
}
.btn button{
    width: 40%;
    height: 6vh;
    margin: 30px;
    background-color: rgb(109, 67, 0);
    color: #fff;
    border: none;
    outline: none;
    font-size: 100%;
    font-weight: 700;
    border-radius: 5px;
    transition: 0.2s linear;
    cursor: pointer;
}
.btn button:hover{
    scale: 1.1;
    color: rgb(109, 67, 0);
    border: 2px solid rgb(109, 67, 0);
    background-color: transparent;
    font-weight: 700;
    box-shadow: 0 0 40px 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.3s linear;
}
.dropdown a{
    color: #fff;
    display: flex;
    text-decoration: none;
    justify-content: center;
    padding: 15px 0;
    align-items: center;
    transition: 0.3s linear;
}
.dropdown a:hover{
    background-color: rgb(109, 67, 0);
}
.modal {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    width: 300px;
    border-radius: 8px;
    text-align: center;
    position: relative;
}

.modal-content .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
}

.copy-btn {
    padding: 8px 15px;
    border: none;
    cursor: pointer;
    background-color: rgb(109, 67, 0);
    opacity: 80%;
    border-radius: 10px;
}
.copy-btn:hover{
    opacity: 100%;
}
.copy-btn:active{
    background-color: rgba(146, 91, 3, 0.863);
}
@media (max-width:884px) {
    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;
    }
    .menu_bars, .icon{
        display: block;
    }
    .content{
        width: 80%;
    }
    .social-links i{
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.5rem;
    }
    .icon{
        color: #fff;
    }
    .image{
        width: 80%;
        margin-bottom: 0;
    }
}