@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.cdnfonts.com/css/devil-breeze');
@import url('https://fonts.cdnfonts.com/css/poppins');
@import url('https://fonts.cdnfonts.com/css/bimbo');

*{
    padding: 0;
    font-family: "Montserrat",sans-serif;
    margin: 0;
    font-family: 'Poppins' 'sans-serif';
    box-sizing: border-box;
}

html{
    overflow-x: hidden;
    scroll-behavior: smooth;
}
body{
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(to right,rgb(255,255,255),rgb(254,215,173));
}
img{
  width: 550px;
  height: 600px; 
  border-radius: 50%;
  object-fit:cover; 
  border: 2px solid rgb(254,215,173);
  pointer-events: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;

}
a{
    color: rgb(109,67,0);
    text-decoration: none;
}
/*.image1{
    position: relative;
    display: inline-block;
}
.protect{
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}*/

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: 3em;
    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;
    -webkit-backdrop-filter:brightness(40%)blur(3px);
    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);
}

section{
    width:100%;
    height:90vh;
}
.main-container{
    width:100%;
    height:100%;
    display:flex;
    justify-content: space-evenly;
    align-items: center;
}
.main-container .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,2rem + 5vw,2rem);
}
.content .typewriter span{
    color: rgb(109,67,0);
    font-size: 2.5rem;
    text-shadow: 0 0 5px rgb(109,67,0);
    position: relative;
    transition: 0.3s linear;
}
.typewriter span::before{
    content:"Student";
    animation:words 10s infinite;
}

.typewriter span::after{
    content: "";
    position: absolute;
    width:calc(100% + 8px);
    height:100%;
    border-left: 3px solid black;
   /* right:-8px;*/
   animation: cursor 0.6s linear infinite;
}
@keyframes cursor{
    to{
        border-left: 3px solid #b74b4b;
    }
}
@keyframes words {
    0%, 10%{
        content:"Student";
    }
    11%,20%{
        content: "Artist";
    }
    21%, 40%{
        content:"Doctor";
    }
    41%, 60%{
        content:"Philanthropist";
    }
    61%, 80%{
        content:"Analyst";
    }
    81%,100%{
        content: "Polyglots";
    }
    
}
.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%;
    color:rgb(109,67,0);
    margin: 5px 10px;
    font-size: 1.5rem;
    transition:0.2s linear;
}

.social-links i:hover{
    scale:1.3;
    color:white;
    background-color: rgb(109,67,0);
    filter:drop-shadow(0 0 10px rgb(109,67,0));
}

.content button{
    width:40%;
    height:6vh;
    margin: 30px;
    background-color: rgb(109,67,0);
    color:white;
    border:none;
    outline:none;
    font-size: 100%;
    font-weight: 700;
    border-radius: 50px;
    transition:0.2s linear;
}

.content 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);
    border-radius: 50px;
}
.sign{
    font-family: 'Bimbo', san-serif;
    font-size:0.3em;
    color: rgb(109,67,0);
    box-shadow: 0 0 40px rgb(109,67,0);
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align:center;
    visibility: hidden;
}

#container3D{
    position:fixed;
    inset:0;
    /*background-color:red;*/
    z-index: 100;
    pointer-events: none;
}

@media(max-width:884px){
    body{
        overflow-y:visible;
    }
    nav .logo{
        position:absolute;
        top:16px;
        left:15px;
        font-size:2rem;
    }

    .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;
    }
    .main-container image{
        width:80%;
        margin-bottom: 0px;
    }
    img{
        width: 550px;
        height: 600px; 
        border-radius: 50%;
        object-fit:cover; 
        border: 2px solid rgb(254,215,173);
        pointer-events: none;
        -webkit-user-drag: none;
        -webkit-user-select: none;
    }
    .sign{
        font-size:4em;
        visibility: visible;
    }
    
}
@media(max-width:578px){

    img{
        width: 330px;
        height: 400px; 
        border-radius: 50%;
        object-fit:cover; 
        border: 2px solid rgb(254,215,173);
        pointer-events: none;
        -webkit-user-drag: none;
        -webkit-user-select: none;
    }
    .content h1{
        font-size:2.1rem;
    }
    .typewriter {
        font-size:1.5rem;
    }
    .content .typewriter span{
        font-size: 1.7rem;
    }
    .content button{
        width:55%;
    }
   
    .cancel{
        color: white;
    }
    .sign{
        font-size:2em;
        visibility: visible;
    }
    
}
