@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600&display=swap');

html {
    font-size: small;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

* {
    padding: 0;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: black;
}

nav {
    width: 100%;
    height: 10vh;
    position: sticky;
}

.nav-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.logo {
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.logo span {
    color: #0462a1;
    text-shadow: 0 0 10px #0462a1;
}

.hamburg,
.cancel {
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
    color: white;
    display: none;
    font-size: clamp(2.5rem, 0.5rem + 5vw, 3rem);
}

.nav-container .links {
    display: flex;
}

.nav-container .links a {
    position: relative;
    font-size: 1.2rem;
    color: white;
    margin: 0 20px;
    text-decoration: none;
    font-weight: 550;
    transition: 0.3s linear;
}

.nav-container .links a::before {
    position: absolute;
    content: "";
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: #0462a1;
    transition: 0.2s linear;
}

.nav-container .links a:hover::before {
    width: 100%;
}

.nav-container .links a:hover {
    color: #0462a1;
}

.dropdown {
    z-index: 100;
    position: absolute;
    top: 0;
    transform: translateY(-500px);
    width: 100%;
    height: auto;
    backdrop-filter: blur(4px) brightness(40%);
    box-shadow: 0 0 20px black;
    transition: 0.2s linear;
}

.dropdown .links a {
    display: flex;
    color: white;
    text-decoration: none;
    justify-content: center;
    padding: 15px 0;
    align-items: center;
    transition: 0.2s linear;
}

.dropdown .links a:hover {
    background-color: #0462a1;
}

section {
    width: 100%;
    min-height: 100vh;
    padding: 2rem 0;
}

.main-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem 1rem;
    gap: 2rem;
}

.main-container .image {
    width: 25vw;
    height: 25vw;
    min-width: 300px;
    min-height: 300px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 50px #0462a1;
    display: block;
}

.main-container .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.main-container .image:hover {
    animation: animate 1.5s ease-in-out infinite;
}

@keyframes animate {
    0% {
        scale: 1;
    }

    50% {
        scale: 1.05;
    }

    100% {
        scale: 1;
    }
}

.main-container .content {
    color: white;
    width: 90%;
    max-width: 800px;
    text-align: center;
}

.content h1 {
    font-size: clamp(1rem, 1rem + 5vw, 1.8rem);
}

.content h1 span {
    color: #0462a1;
    text-shadow: 0 0 10px #0462a1;
}

.content .typewriter {
    font-size: clamp(1rem, 1rem + 5vw, 2.5rem);
    font-weight: 600;
}

.content .typewriter-text {
    color: #0462a1;
    text-shadow: 0 0 10px #0462a1;
}

.content p {
    font-size: clamp(0.8rem, 0.4rem + 2vw, 1rem);
    margin: 10px 0 20px;
}

.social-links {
    margin-top: 20px;
}

.social-links i {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 3rem;
    height: 3rem;
    background-color: transparent;
    border: 0.2rem solid #0462a1;
    border-radius: 50%;
    color: #0462a1;
    margin: 5px 10px;
    font-size: 1.5rem;
    transition: 0.2s linear;
}

.social-links i:hover {
    scale: 1.3;
    color: black;
    background-color: #0462a1;
    filter: drop-shadow(0 0 10px #0462a1);
}

.content .btn {
    margin-top: 25px;
}

.content button {
    width: 60%;
    max-width: 250px;
    height: 6vh;
    background-color: #0462a1;
    color: white;
    border: none;
    outline: none;
    font-size: 120%;
    font-weight: 700;
    border-radius: 5px;
    transition: 0.2s linear;
}

.content button:hover {
    scale: 1.1;
    color: #0462a1;
    border: 2px solid #0462a1;
    background-color: transparent;
    font-weight: 700;
    box-shadow: 0 0 40px #0462a1;
}

@media (min-width: 885px) {
    .main-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-evenly;
    }

    .main-container .content {
        width: 40%;
        text-align: left;
    }
}

@media (max-width: 884px) {
    nav .logo {
        position: absolute;
        top: 16px;
        left: 15px;
        font-size: 1.5rem;
    }

    .nav-container .links {
        display: none;
    }

    .hamburg,
    .cancel {
        display: block;
    }

    .main-container .image {
        z-index: -1;
        width: 50%;
        height: 50%;
        border-radius: 50%;
    }

    .main-container .content {
        width: 90%;
    }

    .social-links i {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.5rem;
    }
}

@media (max-width: 440px) {
    .main-container .image {
        width: 60%;
        height: auto;
        margin-bottom: 0px;
    }

    .main-container button {
        margin-top: 15px;
    }
}
