header {
    background-color: #1f3961;
    height: 100px;
    width: 100%;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    position: fixed;
    z-index: 1;
}

header .logo {
    height: 100%;
    display: flex;
    align-items: center;
    /* justify-content: center; */
}

header .logo img {
    height: 60px;
    filter: brightness(100);
}

header .hamburger {
    display: none;
}

#menu-switcher {
    display: none;
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    gap: 20px;
}

nav a:hover {
    color: bisque;
    transition: 1s;
}

nav a {
    font-size: 18px;
    color: #FFFFFF;
    letter-spacing: 5px;
    text-decoration: none;
    position: relative;
}

.p0 {
    background-color: #1f3961;
    height: 100px;
    width: 100%;
}

footer {
    background-color: #1f3961;
    color: #ffffff;
    width: 100%;
    padding: 40px 5%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-up .company-info {
    font-size: 30px;
}

.footer-down {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-down .gap-line {
    background-color: #ffffff;
    width: 1px;
    height: 80px;
}

.footer-down .company-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-down .company-info .name {
    font-size: 24px;
} 

@media (max-width: 768px) {
    header {
        justify-content: center;
        height: 70px;
    }

    header .logo img {
        height: 48px;
    }

    header .hamburger {
        color: #ffffff;
        font-size: 48px;
        position: fixed;
        z-index: 2;
        top: 0;
        right: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 70px;
        width: 70px;   
        transition: 0.5s;
    }

    #menu-switcher:checked ~ nav {
        transform: translateX(0%);
    }

    #menu-switcher:checked ~ .hamburger {
        color: bisque;
    }

    nav {
        background-color: #1f3961d0;
        position: fixed;
        z-index: 2;
        align-items: flex-start;
        justify-content: center;
        top: 70px;
        right: 0;
        width: 40%;
        height: 100%;
        padding: 20px 0;
        transform: translateX(100%);
        transition: 0.5s;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .p0 {
        height: 70px;
    }

    footer {
        padding: 20px 12px;
    }

    .footer-up {
        display: none;
    }

    .footer-down .gap-line {
        width: 100%;
        height: 1px;
    }

    .footer-down {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}