body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Lucida Sans Unicode', 'Yu Gothic UI Light', 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', Verdana, sans-serif
}

#menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 100;
}

#menu.visible {
    opacity: 1;
}

#menu .logo img {
    height: 40px;
    width: auto;
    display: block;
}

#menu nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
}

#menu ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 20px;
}

#menu ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 25px;
    height: 20px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    height: 3px;
    background: white;
    border-radius: 2px;
}

.fullscreen-menu {
    display: none;
}

#hero {
    height: 80vh;
    height: 80svh;
    width: 100%;
    background-image: url('../images/contact.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

#hero-title {
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: bolder;
    font-size: 6rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    text-decoration: underline;
}

#contact {
    background-image: linear-gradient(320deg, #25565e, #322452);
    color: white;
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contact-text {
    max-width: 840px;
}

.fade-item {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-item.title {
    transition-delay: 0.2s;
    font-size: 2em;
    font-weight: bolder;
}

.fade-item.text {
    transition-delay: 0.4s;
    font-size: 1rem;
}

.br-pc {
    display: inline;
}

.br-tb {
    display: none;
}

.br-sp {
    display: none;
}

.button a {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 240px;
    padding: 10px 25px;
    color: white;
    background: #0d1424;
    transition: 0.3s ease-in-out;
    font-weight: 500;
    text-decoration: none;
}

.button a::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    border: 2px solid #aad5ff;
    transition: 0.2s;
}

.button a::after {
    content: '';
    width: 5px;
    height: 5px;
    border-top: 3px solid #b8b8b8;
    border-right: 3px solid #b8b8b8;
    transform: rotate(45deg);
}

.button a:hover::before {
    top: 0;
    left: 0;
}

.button a:hover {
    text-decoration: none;
    background-color: #b3d9ff;
}

footer {
    background-color: black;
    color: white;
    font-size: 0.84rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 120px;
}

@media (max-width: 768px) {
    #menu ul {
        position: fixed;
        top: 60px;
        right: -100%;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 200px;
        padding: 20px;
        gap: 20px;
        transition: right 0.3s ease;
    }

    #menu ul.show {
        right: 0;
    }

    #hero {
        background-attachment: scroll;
    }

    #hero-title {
        font-size: 4rem;
    }

    .hamburger {
        display: flex;
    }

    .fullscreen-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(15, 15, 15, 0.95);
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s ease, visibility 0.5s;
        z-index: 1000;
    }

    .fullscreen-menu ul {
        list-style: none;
        text-align: center;
        padding: 0;
    }

    .fullscreen-menu ul li {
        margin: 20px 0;
    }

    .fullscreen-menu ul li a {
        font-size: 1.2rem;
        color: white;
        text-decoration: none;
        transition: color 0.3s;
    }

    .fullscreen-menu ul li a:hover {
        color: #00bfff;
    }

    .fullscreen-menu.active {
        opacity: 1;
        visibility: visible;
        animation: slideDown 0.6s ease forwards;
    }

    @keyframes slideDown {
        from { transform: translateY(-20%); }
        to { transform: translateY(0); }
    }

    #nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        opacity: 0;
        display: none;
        z-index: 999;
        margin: 0;
        padding-left: 0;
        box-sizing: border-box;
    }

    #nav-links.fade-in {
        animation: fadeIn 0.3s ease-in-out forwards;
    }

    #nav-links.fade-out {
        animation: fadeOut 0.3s ease-in-out forwards;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    @keyframes fadeOut {
        from { opacity: 1; }
        to { opacity: 0; }
    }

    #nav-links li {
        margin: 20px 0;
    }

    #nav-links a {
        color: white;
        font-size: 1.2rem;
        text-decoration: none;
    }

    #contact {
        padding: 80px 8%;
    }

    .contact-text h2 {
        font-size: 2rem;
    }

    .contact-text p {
        font-size: 1rem;
        line-height: 1.8;
    }

    .br-pc {
        display: none;
    }

    .br-tb {
        display: inline;
    }
}

@media (max-width: 480px) {
    #hero {
        background-attachment: scroll;
    }

    #hero-title {
        font-size: 2.4rem;
    }

    .br-tb {
        display: none;
    }

    .br-sp {
        display: inline;
    }
}