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

:root {
    --light-blue: #D6DEF2;
    --dark-blue: #242A7A;
    --blue: #4B76B9;
    --dark-grey: #494949;
    --light-grey: #85888E;
    --black: #191919;
}

@font-face {
    font-family: 'Circular';
    src: url(../fonts/Circular/CircularStd-Black.otf) format('opentype');
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light-blue);
}

.animate-onscroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.show-onscroll {
    opacity: 1;
    transform: translateY(0);
}

#nav {
    font-family: 'Rubik', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
}

.nav-upper {
    padding: 1rem 0;
    width: 100%;
    border-bottom: 3px var(--dark-blue) solid;
    display: flex;
    justify-content: center;
}

.nav-logo {
    width: 18rem;
}

.nav-bottom {
    font-family: 'Rubik', sans-serif;
    width: 100%;
    padding: 1rem 0;
    background-color: white;
    border-bottom: 3px var(--dark-blue) solid;
    position: sticky;
    top: 0;
    z-index: 101;
}

.nav-links ul {
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    justify-content: center;
    font-size: 14pt;
}

.nav-links a {
    text-decoration: none;
    color: var(--black);
}

.nav-links a:hover {
    text-decoration: underline;
    color: var(--dark-blue);
}

.main-section {
    padding: 150px 15rem 0px 15rem;
    display: flex;
    flex-direction: column;
    row-gap: 100px;
    margin-bottom: -20rem;
}

.main-article {
    display: flex;
    flex-direction: row;
    width: calc(100% + 30rem);
    height: 50rem;
    transform: translate(-15rem, -9.5rem);
    background-color: white;
}

.main-article > img {
    width: 35rem;
}

.main-article_info {
    background-color: white;
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.main-article_wrapper {
    margin: auto;
    display: flex;
    flex-direction: column;
}

.main-article_info h4 {
    font-family: 'Rubik', sans-serif;
    font-weight: 100;
    font-size: 42pt;
}

.main-article_info h3 {
    margin-top: -1rem;
    font-family: 'Patua One', cursive;
    font-size: 50pt;
}

.main-article_info span {
    font-family: 'Rubik', sans-serif;
    font-weight: 100;
    font-size: 18pt;
}

.main-article_info a {
    margin-top: 2rem;
    width: 20rem;
    padding: 10px 20px;
    border-radius: 100px;
    color: white;
    font-size: 12pt;
    border: 2px var(--blue) solid;
    background-color: var(--blue);
    align-self: center;
    cursor: pointer;
    transition: border 0.1s ease-in;
    text-decoration: none;
}

.main-article_info a:hover {
    border: 2px var(--dark-blue) solid;
}

.advantages,
.introduction {
    background-color: white;
    border: 2px var(--blue) solid;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6rem 0 4.5rem 0;
}

.advantages h2,
.courses h2,
.certifications h2 {
    font-family: 'Circular', sans-serif;
    font-size: 30pt;
    color: var(--dark-blue);
}

.advantages-list {
    display: flex;
    justify-content: center;
    gap: 5rem;
    font-size: 16pt;
    margin-top: 3rem;
}

.advantages-list ul {
    list-style: none;
}

.advantages-list ul li {
    font-family: 'Rubik', sans-serif;
    font-size: 16pt;
    margin-bottom: 1.5rem;
}

.advantages-list ul li img {
    width: 45px;
    margin-right: 1rem;
    transform: translateY(14px);
}

#advantages-list_item-last {
    display: flex;
    flex-direction: row;
}

#advantages-list_item-last img {
    width: 50px;
}

#MCER {
    transform: translateY(14px);
}

.courses {
    transform: translateX(-15rem);
    background-color: white;
    width: calc(100% + 30rem);
    padding: 6rem 0 4.5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.courses .slider-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.certifications {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 4.5rem 0;
}

.certifications-wrapper {
    display: flex;
    gap: 4rem;
    margin-top: 3rem;
}

.certifications-wrapper_info {
    font-family: 'Rubik', sans-serif;
    align-self: center;
}

.certifications-wrapper_info h1 {
    font-weight: 600;
    font-size: 20pt;
}

.certifications-wrapper_info p {
    margin-top: 1.2rem;
    font-weight: 100;
    font-size: 18pt;
}

#footer {
    border-top: 1px white solid;
    background-color: var(--black);
    padding: 3rem;
}

.footer-wrapper {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.logo {
    width: 32rem;
}

.social-media_list {
    list-style: none;
}

.item a,
.adress a {
    color: white;
    font-family: 'Rubik', sans-serif;
    font-size: 12pt;
    text-decoration: none;
}

.item a:hover,
.adress a:hover {
    color: var(--light-grey);
}

.item a img {
    margin-right: 1rem;
    width: 32px;
    transform: translateY(10px);
}

#footer .item {
    margin-bottom: 1rem;
}

.contact-info {
    color: white;
    font-family: 'Rubik', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact ul {
    list-style: none;
    text-align: end;
}

.number span {
    font-size: 18pt;
}

.number img {
    margin-left: 1rem;
    width: 30px;
}

.number {
    margin-bottom: 1rem;
}

.copyright {
    color: var(--light-grey);
    font-size: 12pt;
    text-align: end;
}


/* ################### ABOUT ################### */

@keyframes introduction-logo {
    from {
        transform: translateY(0px);
    }

    to {
        transform: translateY(-5px);
    }
}

.introduction-logo img {
    animation: introduction-logo 2s ease-in-out infinite alternate;
}

.introduction-logo {
    display: flex;
    justify-content: center;
}

.introduction-logo-wrapper {
    width: 40rem;
}

.introduction {
    padding: 2.5rem 4rem;
}

.introduction-wrapper {
    font-family: 'Rubik', sans-serif;
    font-weight: 100;
    font-size: 16pt;
}

.introduction-wrapper img {
    width: 46px;
    position: absolute;
    transform: translate(-50px, -55px);
}

.mision-vision {
    margin-top: 4rem;
    transform: translateX(-15rem);
    background-image: url(../images/globe.png);
    background-size: cover;
    background-position: center;
    width: calc(100% + 30rem);
    padding: 6rem 0 4.5rem 0;
}

.mision-vision-upper {
    display: flex;
    gap: 5rem;
    color: white;
    font-family: 'Rubik', sans-serif;
    padding: 2rem 17rem;
}

.mision-vision-upper h2 {
    text-align: center;
    font-size: 36pt;
}

.mision-vision-upper p {
    margin-top: 2rem;
    text-align: justify;
    font-size: 18pt;
    font-weight: 100;
}

.mision-vision-gradient {
    position: absolute;
    top: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, rgba(2, 0, 36, 0) 0%, rgba(25, 25, 25, 1) 100%);
}

.principles {
    transform: translateX(-15rem);
    background-color: var(--black);
    width: calc(100% + 30rem);
    padding: 3rem 0 9rem 0;
    color: white;
    font-family: 'Rubik', sans-serif;
}

.principles-wrapper {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 0 20rem;
}

.principles-wrapper-list {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.principles-wrapper h2 {
    font-family: 'Circular', sans-serif;
    font-size: 48pt;
    margin-bottom: 1.2rem;
}

.principles-wrapper ul {
    list-style: none;
}

.principles-wrapper li {
    text-align: start;
    font-size: 26pt;
    font-weight: 100;
    margin-bottom: 1rem;
}

.footer-about {
    margin-top: -150px;
}


.nav-link-active {
    background-color: gainsboro;
    border-radius: 15px;
    padding: 0.3rem 0.7rem;
}


/* COURSES */

.main-article-courses {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(-150px);
}

.main-article-courses>h1 {
    font-family: 'Circular', sans-serif;
    font-size: 42pt;
    color: white;
    background-color: var(--dark-blue);
    width: max-content;
    padding: 0.5rem 1rem;
    transform: translateY(-50px);
}

.courses-container {
    padding: 2rem 10rem;
    display: flex;
    flex-direction: column;
    scroll-margin-top: 4.5rem;
}

.courses-container h2 {
    font-family: 'Rubik', sans-serif;
    font-size: 28pt;
    color: var(--dark-blue)
}

.courses-container:nth-child(odd) h2 {
    text-align: end;
}

.courses-container div {
    margin-top: 2rem;
    font-family: 'Rubik', sans-serif;
    font-weight: 100;
    font-size: 16pt;
    text-align: justify;
    color: var(--dark-grey);
}

.courses-container img {
    max-width: 500px;
    height: 100%;
    padding-bottom: 0.2rem;
}

.courses-container:nth-child(odd) div img {
    float: left;
    padding-right: 1.2rem;
}

.courses-container:nth-child(even) div img {
    float: right;
    padding-left: 1.2rem;
}

#main-section-upper {
    width: calc(100% - 14rem);
    margin: auto;
}

.courses-container:last-child {
    padding-bottom: 8rem;
}

.courses-nav>ul {
    position: absolute;
    left: 2rem;
    list-style: none;
    padding: 1rem;
    border-left: 3px var(--dark-grey) solid;
    font-family: 'Rubik', sans-serif;
    width: 250px;
}

.courses-nav {
    transform: translateX(-360px);
    position: sticky;
    top: 10rem;
    height: 0;
}

.courses-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.courses-title a {
    text-decoration: none;
    color: var(--black);
}

.courses-title a:hover {
    color: var(--blue);
}

.courses-link {
    margin-bottom: 0.3rem;
    font-weight: 300;
}

.courses-link a {
    color: var(--dark-grey);
    text-decoration: none;
}

.courses-link a:hover {
    text-decoration: underline;
}

.courses-link:nth-child(5) {
    margin-bottom: 1.5rem;
}

.courses-title:last-child {
    margin: 0;
}

.title-bg-blue {
    font-family: 'Circular', sans-serif;
    font-size: 42pt;
    color: white;
    background-color: var(--dark-blue);
    width: max-content;
    padding: 0.5rem 1rem;
}

.main-article-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

#main-section-gallery {
    padding-bottom: 150px;
}

#score {
    color: white;
}

#score h2 {
    font-family: 'Circular', sans-serif;
    font-size: 32pt;
}

#score p {
    font-family: 'Rubik';
    font-size: 16pt;
    margin-bottom: 1rem;
}

#score > div > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#score-disclaimer {
    font-weight: 200;
    font-size: 12pt!important;
    text-align: right;
    margin-top: 2rem;
}

#score-send-message {
    padding: 10px 15px;
    background-color: rgb(32, 187, 89);
    border-radius: 15px;
    color: white;
    text-decoration: none;
    font-family: 'Rubik', sans-serif;
}

#score-send-message:hover {
    background-color: rgb(19, 136, 62);
}

@media screen and (max-width: 820px) {
    .nav-logo {
        width: 12rem;
    }

    .nav-links ul {
        font-size: 11pt;
        flex-wrap: wrap;
    }

    .main-section {
        padding: 70px 0;
        padding-bottom: 0;
        row-gap: 70px;
    }

    .main-article {
        flex-direction: column;
        align-items: center;
    }

    .main-article > img {
        width: 100%;
    }

    .main-article_info h4 {
        font-size: 30pt;
    }

    .main-article_info h3 {
        margin-top: 0;
        font-size: 38pt;
    }

    .main-article_info span {
        font-size: 16pt;
        margin-top: 1rem;
    }

    .main-article_info a {
        width: 386px;
        padding: 6px 19px;
        font-size: 14pt;
        margin-top: 1rem;
    }

    .main-article_wrapper {
        padding: 2rem 2rem 4rem 2rem;
    }

    .main-article_info {
        border-top-right-radius: initial;
        border-bottom-right-radius: initial;
        width: 100%;
    }

    .advantages, .introduction {
        background-color: white;
        border: none;
        border-top: 3px var(--blue) solid;
        border-bottom: 3px var(--blue) solid;
        border-radius: initial;
    }

    .advantages-list {
        flex-direction: column;
        gap: 0;
    }

    .advantages h2, .courses h2, .certifications h2 {
        font-size: 28pt;
        text-align: center;
    }

    .advantages-list ul li {
        font-size: 16pt;
    }

    .advantages-list ul li img {
        width: 36px;
        transform: translateY(11px);
    }

    #advantages-list_item-last img {
        width: 45px;
    }

    #MCER {
        transform: translateY(11px);
    }

    .slider-slide img {
        max-width: 376px;
        max-height: 277px;
    }

    .slider {
        width: 100%;
    }

    .slider-slide {
        font: 400 20px 'Rubik', sans-serif;
    }

    .courses {
        width: 100%;
        transform: none;
    }

    .slider-container {
        width: 100%;
    }

    .slider-slide p {
        padding: 1rem 5rem;
        font-size: 18px;
        font-weight: 100;
    }

    .slider-slide h4 {
        text-align: center;
    }

    .arrow-right {
        right: 1rem;
        padding: 30px 0 30px 30px;
    }

    .arrow-left {
        left: 1rem;
        padding: 30px 30px 30px 0;
    }

    .certifications-wrapper {
        flex-direction: column;
    }

    .certifications-wrapper_info p {
        margin-top: 1rem;
        font-size: 14pt;
    }

    .certifications-wrapper_info {
        padding: 0 2rem;
    }

    .certifications-wrapper_img img {
        width: 100%;
    }

    .certifications-wrapper_info h1 {
        font-size: 18pt;
    }

    .placement-wrapper_header h1 {
        font-size: 32pt;
    }

    .placement-wrapper_header h2 {
        font-size: 14pt;
        margin-top: 1.4rem;
    }

    .placement-wrapper_header span {
        font-size: 12pt;
        margin-top: 1rem;
    }

    .placement {
        transform: none;
        border-top-right-radius: 50px;
        border-top-left-radius: 50px;
        width: 100%;
        padding: 4rem 4rem;
    }

    #questions {
        font-size: 14pt;
    }

    #question-id {
        font-size: 16pt;
    }

    #next-btn, #previous-btn {
        font-size: 12pt;
        padding: 10px 16px;
    }

    .warning-icon {
        transform: scale(0.8,0.8) translateY(10px);
    }

    #footer {
        padding: 2rem;
    }

    .footer-wrapper {
        flex-direction: column;
        gap: 1rem;
        align-items: initial;
    }

    .item a {
        font-size: 12pt;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .logo {
        width: 22rem;
    }

    .logo, .social-media {
        align-self: flex-start;
    }

    #footer .item {
        margin-bottom: 1.4rem;
    }

    .copyright {
        font-size: 8pt;
    }

    .advantages h2, .courses h2, .certifications h2 {
        padding: 0 2rem;
    }

    .introduction-logo-wrapper {
        width: 18rem;
    }

    .introduction-wrapper {
        line-height: 20pt;
        font-size: 14pt;
    }

    .mision-vision-gradient {
        top: initial;
        z-index: 0;
        width: 100%;
        height: 100%;
        transform: translateY(6rem);
    }

    .mision-vision {
        margin-top: 0;
        transform: none;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        padding-bottom: 6rem;
    }

    .mision-vision-upper {
        display: flex;
        flex-direction: column;
        gap: 5rem;
        color: white;
        font-family: 'Rubik', sans-serif;
        padding: 2rem 4rem;
    }

    .mision-vision-upper p {
        font-size: 16pt;
    }

    .principles {
        transform: none;
        width: 100%;
    }

    .principles-wrapper {
        padding: 0 3rem;
    }

    .principles-wrapper h2 {
        font-size: 36pt;
        margin-bottom: 1.6rem;
    }

    .principles-wrapper li {
        font-size: 22pt;
        margin-top: 1rem;
    }

    #main-section-upper {
        width: initial;
    }

    .main-article-courses {
        transform: none;
    }

    .main-article-courses>h1 {
        font-size: 34pt;
    }

    .courses-container {
        padding: 2rem 3rem;
    }

    .courses-container:nth-child(even) div img, .courses-container:nth-child(odd) div img  {
        float: none;
        padding-left: 0;
        padding-right: 0;
    }

    .courses-container img {
        max-width: 100%;
        height: auto;
        margin-bottom: 1rem;
    }

    .courses-container div {
        font-size: 14pt;
    }

    .courses-container h2 {
        font-size: 26pt;
    }

    .courses-nav {
        visibility: hidden;
        opacity: 0;
    }

    .title-bg-blue {
        font-size: 30pt;
    }

    #gallery img:hover, #gallery video:hover {
        transform: none;
    }

    .main-article.contact {
        flex-direction: column;
    }

    .main-article.contact .contact-left-side, .main-article.contact .contact-right-side {
        padding: 6rem 0;
    }

    .contact-left-side {
        width: 75%;
    }

    .contact-right-side {
        width: 100%;
    }

    #main-section-gallery {
        padding-bottom: 70px;
    }

    .contact-right-side iframe {
        width: 80%;
    }

    .certifications-wrapper_img {
        display: flex;
        justify-content: center;
    }

    .certifications-wrapper_img img {
        width: 70%;
    }

    form button {
        font-size: 14px;
        padding: 10px 16px;
    }
}

@media screen and (max-width: 600px) {
    .main-article_info h4 {
        font-size: 18pt;
    }

    .main-article_info h3 {
        font-size: 24pt;
    }
    
    .main-article_info span {
        font-size: 12pt;
    }

    .main-article_info a {
        width: 236px;
        font-size: 10pt;
    }

    .advantages h2, .courses h2, .certifications h2 {
        font-size: 21pt;
    }

    .advantages-list ul li {
        font-size: 10pt;
    }

    .advantages-list ul li img {
        width: 30px;
    }

    #advantages-list_item-last img {
        width: 30px;
    }

    .slider-slide p {
        font-size: 14px;
    }

    .slider-slide img {
        max-width: 270px;
        max-height: 160px;
    }

    .certifications-wrapper_info p {
        font-size: 12pt;
    }

    .main-article_wrapper {
        padding: 2rem 2rem;
    }

    .slider-slide {
        font: 400 16px 'Rubik', sans-serif;
    }

    .placement {
        padding: 4rem 2rem;
    }

    .placement-wrapper_header h1 {
        font-size: 30pt;
    }

    .placement-wrapper_header span {
        font-size: 10pt;
    }

    #questions {
        font-size: 10pt;
    }

    #next-btn, #previous-btn {
        font-size: 10pt;
        padding: 8px 14px;
    }

    .logo {
        width: 16rem;
    }

    .item a {
        font-size: 10pt;
    }

    .introduction-wrapper {
        line-height: 18pt;
        font-size: 12pt;
    }

    .principles-wrapper h2 {
        font-size: 26pt;
    }

    .principles-wrapper li {
        font-size: 16pt;
    }

    .mision-vision-upper p {
        font-size: 14pt;
    }

    .main-article-courses>h1 {
        font-size: 28pt;
    }

    .courses-container h2 {
        font-size: 21pt;
    }

    form button {
        font-size: 12px;
        padding: 8px 14px;
    }
}

@media screen and (max-width: 350px) {
    .nav-links ul {
        font-size: 8pt;
    }

    .title-bg-blue {
        font-size: 24pt;
    }

    .main-article-courses>h1 {
        font-size: 24pt;
    }
}

@media screen and (max-width: 300px) {
    .item a {
        font-size: 9pt;
    }

    .logo {
        width: 14rem;
    }

    .nav-links ul {
        font-size: 7pt;
    }

    .main-article_wrapper {
        padding: 2rem 1rem;
    }
}

@media screen and (max-width: 280px) {
    .main-article-courses>h1 {
        font-size: 19pt;
    }

    .courses-container h2 {
        font-size: 17pt;
    }

    .courses-container div {
        font-size: 13pt;
    }

    .main-article-courses>h1 {
        transform: translateY(-20px);
    }
}

@media screen and (max-width: 680px) {

}

@media screen and (max-width: 992px) {

}

@media screen and (max-width: 940px) {

}

@media screen and (min-width: 1500px) and (max-width: 1710px) {
    .main-article_info h4 {
        font-size: 30pt;
    }
    
    .main-article_info h3 {
        font-size: 40pt;
    }
    
    .main-article_info span {
        font-size: 14pt;
    }
}

@media screen and (min-width: 1300px) and (max-width: 1499px) {
    .main-article_info h4 {
        font-size: 23pt;
    }
    
    .main-article_info h3 {
        margin-top: 0;
        font-size: 26pt;
    }
    
    .main-article_info span {
        font-size: 12pt;
    }

    .main-article_info a {
        width: 18rem;
    }

    .main-article > img {
        width: 28rem;
    }
}

@media screen and (min-width: 821px) and (max-width: 1299px) {
    .main-article_info h4 {
        font-size: 23pt;
    }
    
    .main-article_info h3 {
        margin-top: 0;
        font-size: 26pt;
    }
    
    .main-article_info span {
        font-size: 12pt;
    }

    .main-article_info a {
        width: 18rem;
    }

    .main-article {
        flex-direction: column;
    }

    .main-article > img {
        width: 100%;
    }

    .main-article_info {
        border-top-right-radius: 0px;
        border-bottom-left-radius: 100px;
        border-bottom-right-radius: 100px;
        height: 20rem;
    }
}


