@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

:root {
    --font-size-base: 1vw;
    --font-size-scale: 0.5vw;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to top, #02AABD, #00CDAC);
    color: #fff;
    overflow: auto;
    min-height: 100vh;
    min-width: calc(100vw - 50px);;
    font-size: calc(var(--font-size-base) + 0.5vw);
    position: relative;
    padding-bottom: 50px;
    overflow-x: hidden; 
    overflow-y: auto;
}

header {
    background-color: #000;
    position: fixed; 
    width: 100%; 
    top: 0; 
    left: 0;
    z-index: 1000; 
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    padding: 0 20px;
    margin: 0;
    list-style: none;
}

.logo-icon {
    height: 2.5em;
    vertical-align: middle;
    
}

.nav-items {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.nav-item {
    color: #999;
    text-decoration: none;
    font-size: 0.6em;
    padding: 8px 12px;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 20px;
    position: relative;
    width: 1.5em;
    height: 1.5em;
}

.nav-icon {
    width: 100%;
    height: 120%;
    transition: opacity 0.3s;
    position: absolute;
    top: 0;
    left: -50%;;
}

.nav-text {
    opacity: 0;
    transition: opacity 0.3s, color 0.3s;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    font-size: 0.35rem;
}

.nav-item:hover {
    color: #2A9D8F;
}

.nav-item:hover .nav-icon {
    opacity: 0;
}

.nav-item:hover .nav-text {
    opacity: 1;
    color: #2A9D8F;
}

.social-links {
    display: flex;
    align-items: center;
}

.social-links a {
    margin-left: 8px;
}

.social-icon {
    width: 2em;
    height: 2em;
    transition: filter 0.3s, transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.2);
}

.menu-icon {
    display: none;
    cursor: pointer;
}

.menu-icon img {
    width: 30px;
    height: 30px;
}

main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    height: calc(100vh - 60px);
    padding: 2vw;
    padding-top: 115px;
    padding-bottom: 5vh;
    position: relative;
    max-width: 1200px;
    min-height: 800px;
}

.left-column,
.right-column {
    flex: 0 0 45%;
    padding: 20px;
}

.contact-section {
    text-align: left;
}

.contact-section h1 {
    font-size: 64px;
    color: #51e8d6;
    margin-bottom: 20px;
}

.contact-section p {
    font-size: 16px;
    color: #fff;
}

.contact-section form {
    width: 600px;
    max-width: 600px;
    min-width: 300px; 
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 auto;
    background: #1E1E1E;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.contact-section .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    width: 100%;
}

.contact-section label {
    margin-bottom: 5px;
    font-size: 16px;
    color: #fff;
}

.contact-section input,
.contact-section textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #2A9D8F;
    border-radius: 5px;
    font-size: 16px;
    margin-bottom: 10px;
    transition: border-color 0.3s;
    background: #333;
    color: #fff;
}

.contact-section input:focus,
.contact-section textarea:focus {
    border-color: #CD0021;
    outline: none;
}

.contact-section input[type="submit"] {
    background-color: #CD0021;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    font-size: 20px;
    align-self: center;
}

.contact-section input[type="submit"]:hover {
    background-color: #F4A261;
    transform: scale(1.05);
}

.thanks-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 15vh;
}

.large-social-links {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-top: 5vh;
}

.large-social-icon {
    width: 160px;
    height: 160px;
    transition: transform 0.3s;
}

.large-social-icon:hover {
    transform: scale(1.2);
}

.pop-in {
    animation: popIn 2s ease forwards;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.fade-in-left-letter-by-letter span {
    display: inline-block;
    opacity: 0;
    animation: fadeInLetter 1s forwards;
}

@keyframes fadeInLetter {
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    .nav-items {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #000;
        padding: 10px 0;
    }

    .nav-items.active {
        display: flex;
    }

    .nav-item {
        margin: 5px 0;
    }

    .social-links {
        display: none;
    }
    
    .large-social-links {
        flex-direction: row;
        gap: 20px;
    }
    .large-social-icon {
        width: 50px;
        height: 50px;
    }
    .contact-section form {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
    }
    
}

.full-screen-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    overflow-y: auto;
}

.full-screen-menu.active {
    display: block;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.full-screen-nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.full-screen-nav-item {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 24px;
    margin: 20px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
}

.full-screen-nav-item.active {
    opacity: 1;
    transform: translateY(0);
}

.full-screen-nav-item img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}