@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #f2f2f2;
}

.hidden {
    display: none !important;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

a {
    color: #14708a;
}


header {
    background: #0c131f;
    padding: 0 10px;
}

header .container {
    max-width: 100%;
    display: block;

    align-items: center;
    padding: 0;
}


header #title {
    display: block;
    padding: 0px;
    float: left;
    position: absolute;
    margin: 12px;
    border-radius: 0 0 10px 10px;
}


header nav {
    display: flex;
    text-align: center;

    justify-content: center;
}

header nav a {
    display: block;
    text-decoration: none;

    color: #fff;
    padding: 30px 30px;
    font-size: 12pt;
}

header nav a:hover, header nav .active {

    color: #8de8fe;
}



footer {
    background: #0c131f;
    padding: 0 10px;
    color: #fff;
}

footer .footer-inner {
    display: flex;
    justify-content: space-between;
}

footer .footer-inner .footer-element {
    padding: 10px;
}

footer .footer-element-title, footer .footer-element-content > * {
    margin: 10px;
    display: inline-block;
}

footer .footer-element-title {
    font-weight: 600;
}

footer select {
    background: transparent;
    padding: 10px;
    font-size: 12pt;
    border: 1px solid #fff;
    border-radius: 10px;
    color: #fff;
    display: block;
    width: 100%;
}

/* CONTENT */

.head {
    display: flex;
    background: #0c131f;

}

.head .text {
    flex-grow: 1;
    width: 50%;
    padding: 20px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background: #0c131f;
    color: #fff;

    border-radius: 0 20px 20px 0;
    z-index: 100;
}

.head .text > * {
    display: block;
    margin: 3px 0;
}

.head .text .date {
    opacity: 0.8;
}

.head .text h1 {
    font-size: 24pt;
}

.head .cover {
    flex-grow: 1;
    width: calc(50% + 20px);
    height: 200px;

    margin-left: -20px;


    object-fit: cover;
    object-position: center;

    border: none;
    background: #0c131f;
}

.head.no-cover .cover {
    opacity: 0 !important;
}

.head.no-cover .text {
    border-radius: 0 !important;

}

#search {
    padding: 0 0 40px 0;
    color: #fff;
    background: #0c131f;
    text-align: center;

}

#search #input {
    background: #fff;
    border-radius: 100px;
    font-size: 14pt;
    width: 100%;
    box-sizing: border-box;
    padding: 15px 20px ;
    outline: 0;
    border: 0;
    display: block;
    color: #919191;
    text-align: left;

    text-decoration: none;
}

section.page {

    font-size: 16pt;
    line-height: 1.5;
}

.card {
    background: #fff;
    border-radius: 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 1em;
    margin: 1em 0;
}

.card b {
    font-weight: 600;
}

.card #contact-card {
    display: flex;
    align-items: center;
}

.card#card-social {
    background: #14708a;
    color: #fff;
}

.card .button {
    text-decoration: none;
    font-weight: 500;

    color: rgb(0, 97, 121);
    border: 1px solid rgb(0, 97, 121);
    border-radius: 100px;
    padding: 0.7em 1.7em;
}

.card .social {
    display: flex;
    padding: 0;
    border: 0;

    margin: 15px 0;

    align-items: center;
    justify-content: center;

}

.card .social a {
    background: rgb(0, 97, 121);
    width: 20px;
    height: 20px;
    padding: 15px;
    margin: 10px;
    border-radius: 100px;
    display: flex;
}

.card #contact-card > * {
    padding: 1em;
}


.articles {
    display: flex;
    flex-basis: 3;
    margin: 1em -1em;
    box-sizing: border-box;
    flex-wrap: wrap;
}

.articles article {
    box-sizing: border-box;
    width: calc(33% - 2em);
    display: flex;
    flex-direction: column;
    background: #fff;
    margin: 1em;
    border-radius: 10px;

}

.articles article img {
    width: 100%;
    height: 150px;
    object-fit: cover; /* Do not scale the image */
    object-position: center;
    border-radius: 10px 10px 0 0;
}

.articles .info {
    flex-grow: 1;
    padding: 15px;
}

.articles .info h3 {
    font-size: 14pt;
    display: block;
    font-weight: 600;
    margin: 0;
}

.articles .info h3 a {
    text-decoration: none;
    color: #000;
}

.articles .info span {
    display: block;
    margin: 0;
    font-size: 12pt;
}

.articles .more {
    display: block;
    border-top: 1px solid #eee;
    font-size: 12pt;
    padding: 15px;
    text-align: center;
    text-decoration: none;
}

.content img {
    max-width: 100%;
    max-height: 100vh;
    margin: 0 auto;
    display: block;
    border-radius: 20px;
}

.content iframe {
    display: block;
	margin: 2em 0;
    border-radius: 20px;
	height: auto;
    width: 100%;
    aspect-ratio: 16 / 9;
    border:none;
}

.content table, .content table tr, .content table td, .content table p {
    border: none;
    margin: 0;
    padding:0;
}

.content table td {

}

@media (max-width: 900px) {
    header .container {
        flex-direction: column;
        display: flex;
    }

    header #title {
        display: block;
        position: relative;
        float: none;
        margin-top: 2em;
    }

    header nav {
        padding: 1em 0;
        margin: 0;
        width: 100%;
        justify-content: space-around;
    }

    header nav a {
        padding: 0;
    }

    .head {
        flex-direction: column-reverse;

    }

    .head .text {
        width: inherit;
        border-radius: 20px 20px 0 0;
    }

    .head .cover {
        width: 100%;
        margin-left: inherit;
        margin-bottom: -20px;
    }

    .head.no-cover .cover {
        display: none;
    }

    .card {
        flex-direction: column;
        padding: 1em;
    }

    .card #contact-card {
        flex-direction: column;
    }

    .card a {
        margin: 1em;
    }

    footer .footer-inner {
        flex-direction: column;
    }

    .articles {
        flex-direction: column;

    }

    .articles article {
        box-sizing: border-box;
        width: calc(100% - 2em);
        display: flex;
        flex-direction: column;
        background: #fff;

    }
}
