* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto Slab', serif;
}

body {
    align-items: center;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    font-size: 1rem;
}

.logo {
    height: 40px;
    width: auto;
}

/* Bar de navigation */
header {
    width: 100%;
    min-height: 66px;
    background: #154c79;
    padding: 0 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.back-button i,
.toggle-button i {
    color: white;
}

header a {
    font-family: 'Roboto Slab', serif;
}

header ul {
    position: relative;
}

header ul li {
    list-style: none;
    position: relative;
    float: left;
}

header ul li a {
    color: white;
    font-weight: bold;
    font-size: 1.1em;
    padding: 20px 25px;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
}

header ul li a:hover {
    background: #5a8abb;
}

header ul li ul {
    position: absolute;
    left: 0;
    top: 100%;
    width: 270px;
    background: black;
    display: none;
}

header ul li:hover > ul {
    display: block;
}

header ul li ul li {
    position: relative;
    width: 100%;
    border: none;
}

header ul li ul li ul {
    top: 0;
    left: 100%;
    display: none;
}

header ul li ul li:hover > ul {
    display: block;
}

/* Main */
p{
    font-family: 'Dancing Script', cursive;
    margin : 25px;
    margin-bottom: 10px;
    font-size : 2.5em;
    color: #154c79;
    font-weight: 560;
}

.container {
    text-align: center; 
    margin: 15px auto;
    margin-bottom: 0; 
}

.main {
    display: flex;
    flex-direction: column;
    gap: 10px; 
    text-align: justify;
    margin: 0 25px;
}

.article{
    margin-top: 30px;
    font-weight: 800;
}



@media (max-width: 1700px) {
    .navbar .links {
        display: none;
    }

    .navbar .toggle-button {
        display: block;
    }

    .dropdown-menu {
        display: block;
    }

    header {
        padding: 10px 20px;
    }

    header nav {
        position: absolute;
        width: 100%;
        top: 66px;
        left: 0;
        background: #e6ebf0;
        display: none;
    }

    header.open nav {
        display: initial;
        z-index: 10;
    }

    header nav ul {
        display: flex;
        flex-direction: column;
    }

    header nav ul li {
        width: 100%;
    }

    header nav ul li ul {
        position: relative;
        width: 100%;
        left: 15px;
        top: 0;
    }

    header nav ul li ul li ul {
        position: relative;
        top: 0;
        left: 30px;
    }

    header nav ul li:hover ul li {
        background: #e6ebf0;
    }

    header ul li a {
        color: black;
    }
}

@media(max-width: 800px){
    .dropdown-menu{
        left: 2rem;
        width: unset;
    }

    text{
        font-size: 0.85em;
    }

    p{
        font-size: 2.25em;
    }

    .icon-text a{
        font-size: 1.25em;
    }
}

@media(max-width: 576px){
    .dropdown-menu{
        left: 2rem;
        width: unset;
    }

    text{
        font-size: 0.85em;
    }

    p{
        font-size: 2.25em;
    }

    .icon-text a{
        font-size: 0.85em;
    }
}

@media(max-width: 480px){
    .dropdown-menu{
        left: 2rem;
        width: unset;
    }

    text{
        font-size: 0.75em;
    }

    p{
        font-size: 1.75em;
    }
    .icon-text a{
        font-size: 0.95em;
    }
}

@media(max-width: 390px){
    .dropdown-menu{
        left: 2rem;
        width: unset;
    }

    text{
        font-size: 0.75em;
    }

    p{
        font-size: 1.45em;
    }
    .icon-text a{
        font-size: 0.75em;
    }
}
