/* Generalr Styling*/


@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bitcount+Prop+Single&display=swap');

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Poppins", sans-serif;
    line-height: 1.6;
    background-color: #fff;
    color: #333;
    padding: 20px;
}

html {
    scroll-behavior: smooth;
}

.hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100vw;
    min-height: 100vh;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
    opacity: 0.5; 
}

p{
    color: #333;
}

/* Transition */

a {
    transition: all 300ms ease;
}

/* Navigation */


nav, .nav-links {
    display: flex;
    padding: 10px 20px;
    color: #333;
}


nav {
    justify-content: space-around;
    align-items: center;
    height: 10vh;
}

.nav-links {
    gap: 2rem;
    list-style: none;
    font-size: 1.25rem;
}

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

a:hover {
    color: #0086D4;
    text-decoration-color: #000000;
    text-decoration: dotted underline;
    text-underline-offset: 4px;
}

/* Mobile Menu*/

#mobile-nav {
    display: none;
}

.mobile-menu{
    position: relative;
    display: inline-block;
}

.mobile-menu-icon{
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
}

.mobile-menu-icon span{
    width: 100%;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease-in-out;
}

.menu-links{
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.menu-links a {
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1rem;
    color: black;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.menu-links li{
    list-style: none;
}

.menu-links.open{
    max-height: 300px;
}

.mobile-menu-icon.open span:first-child{
    transform: rotate(45deg) translate(10px, 5px);
}
.mobile-menu-icon.open span:nth-child(2){
    opacity: 0;
}

.mobile-menu-icon.open span:last-child{
    transform: rotate(-45deg) translate(10px, -5px);
}

.mobile-menu-icon span:first-child{
    transform: none;  
}

.mobile-menu-icon span:first-child{
    opacity: 1;
}


/* Sections */

section {
    padding-top: 4vh;
    height: 90vh;
    margin: 0 10rem;
    box-sizing: border-box;
    min-height: fit-content;
}

.section-container{
    display: flex;
}

#profile{
    display: flex;
    justify-content: center;
    gap: 5rem;
    height: 80vh;
}

.section_pic-container{
    display: flex;
    width: 400px;
    height: 400px;
    margin: auto 0;
}

.section_text{
    align-self: center;
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.section_text p{
    font-size: 600;
}

.section_text_p1{
    text-align: center;
}

.section_text_p1{
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.title{
    font-size: 2.5rem;
    font-family: "Bitcount Prop Single", monospace;
    text-align: center;
    border-right: 4px solid #000000;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    animation: 
        typing 3s steps(29), 
        cursor 0.75s infinite alternate;
}

@keyframes cursor{
    50% {border-color: transparent;}
}

@keyframes typing{
    from {width: 0;}
    to {width: 100%;}
}

.socials-container{
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}



/* Icons */

.icon{
    width: 40px;
    height: 40px;
    cursor: pointer;
    
}