@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

header {
    background-color: #FFF;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 6rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 21%;
    margin-left: 2%;
}

.nav-list {
    display: flex;
    align-items: center;
    text-align: center;
}

.nav-list ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

.nav-item {
    margin: 0 15px 15px 0;
}

.nav-item a:hover {
    color: #0074d9;
    font-size: 1.17rem;
}

.nav-link {
    text-decoration: none;
    font-size: 1.15rem;
    color: #000;
    font-weight: 400;
}

.mobile-menu-icon {
    display: none;
}

.mobile-menu {
    display: none;
}

.conteudo-principal img {
    margin-top: 0;
    background-size: cover;
    width: 100%;
    height: auto;
}

.container {
    position: absolute;
    top: 82%;
    left: 15%;
    max-width: 38%;
    background-color: rgba(207, 207, 207, 0.2);
    padding: 2em;
    border: 3px solid transparent;
    border-image: linear-gradient(to right, rgb(105, 80, 9), #000);
    border-image-slice: 1;
    border-radius: 2px;
    margin-bottom: 50rem;
}

.container h1 {
    font-size: 1.7rem;
    margin-top: 12%;
    margin-bottom: 2%;
    opacity: 1;
    color: #0074d9;
}

.container,
article a {
    text-decoration: none;
    opacity: 1;
    font-size: 1.1rem;
}

.container p {
    font-size: 1.45rem;
    line-height: 1;
    margin-bottom: 10px;
    opacity: 1;
    overflow-y: hidden;
}

main {
    background-image: url('./assets/imgs/background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: 0;
    max-width: 100%;
    height: 95vh;
    position: relative;
}

.botoes {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    margin: 25px;
    margin-right: 50px;
}

.botoes a {
    display: inline-flex;
    flex-direction: column-reverse;
    height: 25px;
    margin: 10px;
    padding: 20px 20px;
    background-color: transparent;
    color: white;
    text-decoration: none;
    border: 3px solid #fff;
    border-radius: 15px;
    transition: background-color 0.3s ease;
}

.botoes a:hover {
    background-color: #0074d9;
}

.contatos {
    position: relative;
    bottom: 0;
    background: #002a77;
    max-height: 120px;
    padding: 10px 0;
    margin-top: 5%;
    display: flex;
    align-items: center;
}

.contatos img {
    position: relative;
    left: 5%;
    margin: 0;
}

.contatos li {
    list-style: none;
    padding: 0.3rem;
}

.contatos p {
    color: #fff;
    text-decoration: none;
    margin-left: 300px;
}

.contatos a:hover {
    color: #ca7d18;
}

.redes-sociais {
    display: flex;
    margin-left: 7rem;
}

.orientacao {
    background-color: #002a77;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.card-link {
    max-width: 20rem;
    border: 1px solid #fff;
    border-radius: 15px;
    box-shadow: 0 2px 1px #FFF;
    margin: 315px 10px 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
}

.card-link img {
    max-width: 50%;
    margin: 20px 0;
}

.card-link a {
    text-decoration: none;
    color: #ffff;
    margin-bottom: 15px;
    cursor: pointer;
}

.container-footer {
    max-width: 80%;
    background-color: #fff;
    padding: 2em;
    border-radius: 15px;
    margin-left: 12%;
    margin-right: 10%;
    margin-top: 1%;
    margin-bottom: -3%;
}

.container-footer figure {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
}

.container-footer .estad {
    max-width: 100%;
    height: auto;
}

footer p {
    position: footer;
    bottom: 0;
    margin-top: 0;
    background: #002a77;
    display: flex;
    justify-content: center;
    color: #fff;
    padding: 8px;
    font-size: 1.125rem;
    text-align: center;
}

@media screen and (max-width: 1400px) {

    .contatos {
        display: flex;
        flex-direction: row;
        margin-left: -600px;
    }

    .container {
        top: 75%;
    }

    .container p {
        font-size: 1.2rem;
    }

    .redes-sociais {
        margin: 0.5rem;
    }

    .conteudo-principal img {
        margin-top: 0;
    }

    .contatos li {
        padding: 0.1rem;
    }

    .redes-sociais {
        margin-left: 8rem;
    }
}

@media screen and (max-width: 1024px) {

    .nav-bar {
        padding: 1.5rem;
    }

    .nav-item {
        display: none;
    }

    .mobile-menu-icon {
        display: block;
    }

    .mobile-menu-icon button {
        background-color: transparent;
        border: none;
        cursor: pointer;
    }

    .mobile-menu ul {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding-bottom: 1rem;
    }

    .mobile-menu .nav-item {
        display: block;
        padding-top: 1.2rem;
    }

    .open {
        display: block;
    }

    .contatos {
        display: flex;
        flex-direction: row;
        margin-left: -740px;
    }

    .container {
        top: 82%;
    }

    .container p {
        font-size: 1rem;
    }

    .redes-sociais {
        margin: 1rem;
    }

    .contatos li {
        padding: 0.1rem;
    }

    .redes-sociais {
        margin-left: 3rem;
    }

    .contatos img {
        left: 2%;
    }
}

@media screen and (max-width: 768px) {

    .nav-bar {
        padding: 1.5rem;
    }

    .nav-item {
        display: none;
    }

    .mobile-menu-icon {
        display: block;
    }

    .mobile-menu-icon button {
        background-color: transparent;
        border: none;
        cursor: pointer;
    }

    .mobile-menu ul {
        display: flex;
        flex-direction: column;
        text-align: center;
        padding-bottom: 1rem;
    }

    .mobile-menu .nav-item {
        display: block;
        padding-top: 1.2rem;
    }

    .open {
        display: block;
    }

    main {
        background-image: url('./assets/imgs/background-2.png');
        background-size: cover;
        background-repeat: no-repeat;
        margin-top: 0;
        max-width: 100%;
        height: 55vh;
        position: relative;
        overflow-y: hidden;
    }

    .menu a {
        font-size: 8px;
        margin: 2px;
    }

    .botoes {
        margin-top: 370px;
        font-size: 12px;
    }

    .contatos img {
        left: -2%;
    }

    .redes-sociais {
        margin: 2rem;
    }

    .container {
        top: 38%;
    }

    .container p {
        font-size: 0.5rem;
    }

    footer p {
        font-size: 5px;
    }

    .conteudo-principal img {
        margin-top: 2rem;
        background-size: cover;
        width: 100%;
        height: auto;
    }

    .container {
        top: 15%;
    }

    .container p {
        font-size: 0.65rem;
    }

    .orientacao {
        margin-top: 15%;
        flex-direction: column;
    }

    .card-link {
        margin: 8%;
    }
}

@media screen and (max-width: 390px) {

    .botoes {
        margin-left: 10%;
        margin-top: 5px;
        font-size: 8px;
    }

    .botoes a {
        background-color: #0074d9;
    }

    .botoes a:hover {
        background-color: green;
    }

    .container {
        top: 27%;
    }
}