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

:root {
    font-size: 62.5%;
}

header {
    font-family: 'Oxygen', sans-serif;
    font-size: 2rem;

    background-color: #003D7D;
    display: flex;
    align-items: center;
    height: 15rem;
    padding: 1rem;
    justify-content: center;
}

#logo img {
    width: 15rem;
}

#menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}


#menu a {
    display: block;
    text-decoration: none;
    color: #fff;
    transition: .4s;

    font-weight: bold;
    padding: .5rem;
}

#menu a:hover {
    color: #3498db;
}

#menu p {
    font-size: 1.3rem;
    color: #fff;
    text-align: center;
}

#btn-mobile {
    display: none;
}

@media (max-width: 1300px) {

    body {
        overflow-x: hidden;
    }

    #btn-mobile {
        display: block;
    }

    #menu {
        position: absolute;
        width: 100%;
        margin-top: 3rem;
        background: #003D7D;
        right: 0rem;
        display: block;
        height: 0px;
        z-index: 1000;

        transition: .4s;
        visibility: hidden;
        overflow-y: hidden;
        font-size: 1.5rem;
    
    }

    #nav.active #menu {
        display: block;
        height: 30rem;
        visibility: visible;
        overflow-y: auto;
    }

    #menu p {
        padding-bottom: 3rem;
        margin-left: 1rem;
        text-align: center;
        font-size: 1.2rem;
    }

    #menu a {
        padding: 1rem 0;
        margin: 2rem 1rem;
        text-align: center;
    }

    #btn-mobile {
        display: flex;
        padding: .5rem 1rem;
        font-size: 1rem;
        border: none;
        background: none;
        cursor: pointer;
        color: #fff;
        font-size: 2rem;

    }

    #hamburger {
        border-top: 2px solid;
        width: 20px;
        margin-left: 2rem;
        justify-content: center;
    }
    #hamburger::after,
    #hamburger::before {
        content: '';
        display: block;
        width: 20px;
        height: 2px;
        background: currentColor;
        margin-top: 5px;
        transition: 0.3s;
        position: relative;
    }
    #nav.active #hamburger {
        border-top-color: transparent;
    }
    #nav.active #hamburger::before {
        transform: rotate(135deg);
    }
    #nav.active #hamburger::after {
        transform: rotate(-135deg);
        top: -7px;
    }
}