:root {
    --beauty-blue: #0074c1;
    --dark-blue: #23345e;
}

html {
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--dark-blue)
}

body {
    min-inline-size: 360px;
    min-block-size: 600px;
}

header {
    z-index: 10000;
}

p, label {
    color: var(--dark-blue)
}

table.table tr {
    text-align: center;
}

table.table a {
    font-weight: bold;
    text-decoration: none;
}

#ipma-carousel img, #ipma-carousel {
    min-inline-size: 360px;
    min-block-size: 600px;
}

.carousel .carousel-caption p, .carousel .carousel-caption h5 {
    color: white
}

footer p {
    color: white
}

table.table tr td, table.table tr th {
    color: var(--dark-blue)
}

#logo {
    height: 60px;
    background-color: #00000085;
}

.carousel h5 {
    font-size: 3.5rem;
}

#informations {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background-color: #e7e7e7;
    padding: 5rem 0;
    gap: 5rem;
}

#informations section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 2rem 0;
}

#informations section article {
    display: flex;
    flex-direction: column;
    inline-size: 350px;

    text-align: justify;
}

#informations section h2 {
    font-weight: normal;
}

#informations section p {
    font-size: 1.2rem;
}

#informations section nav a {
    padding: 2rem .5rem;
    font-size: 2rem;
}

#informations nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    justify-content: center;
    align-items: center;
}

#informations nav a {
    position: relative;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    outline: 5px solid transparent;
    color: #f0f0f0;
    background: #000000;
    text-decoration: none;
    transition: .3s;

    inline-size: 280px;
    block-size: 150px;
    overflow: hidden;
}

#informations nav a:hover {
    outline: 5px solid #4fb0e9;
}

#informations nav a .img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: -1;
}

#informations nav a img {
    opacity: .5;
    object-fit: cover;
    inline-size: 280px;
    block-size: 150px;
}

ul#phone {
    list-style-type: '\1F4DE\00A0'
}

ul#email {
    list-style-type: '\1F4E7\00A0';
}

ul#address {
    list-style-type: '\1F4CC\00A0';
}

.main-content article.page {
    margin: 6rem 3rem;
}

.main-content article.page small {
    margin: 0;
    padding: 0;
}

.navbar a.nav-link span {
    color: var(--dark-blue);
}

.navbar a.nav-link {
    color: var(--dark-blue);
}

.navbar a.nav-link.active {
    color: var(--beauty-blue);
}

@media screen and (min-width: 1450px) {
    .carousel-caption {
        width: 40%;
        margin: auto;
    }
}

@media screen and (max-width: 700px) {
    .main-content article.page {
        margin: 6rem 1rem;
    }

    .carousel-caption h5 {
        font-size: 2.5rem;
    }

    #informations section {
        margin: .5rem 0;
    }

    #informations nav {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    #informations nav a {
        inline-size: 320px;
        block-size: 200px;
    }

    #informations nav a img {
        inline-size: 320px;
        block-size: 200px;
    }
}

@media screen and (max-width: 700px) {
    .main-content article.page {
        margin: 6rem .5rem 3rem;
    }

    table {
        font-size: .8rem;
    }
}

@media screen and (max-width: 400px) {
    #ipma-carousel h5 {
        font-size: 2rem;
    }
}