@font-face {
    font-family: "IBMPlexSans";
    src: local("IBMPlexSans"), url("../font/IBMPlexSans-Regular.ttf");
    font-weight: 400;
}
@font-face {
    font-family: "IBMPlexSans";
    src: local("IBMPlexSans"), url("../font/IBMPlexSans-Medium.ttf");
    font-weight: 500;
}
@font-face {
    font-family: "IBMPlexSans";
    src: local("IBMPlexSans"), url("../font/IBMPlexSans-SemiBold.ttf");
    font-weight: 600;
}
@font-face {
    font-family: "IBMPlexSans";
    src: local("IBMPlexSans"), url("../font/IBMPlexSans-Bold.ttf");
    font-weight: 700;
}
:root {
    --primary: #06294c;
    --secondary: #035397;
    --tertiary: #2c51a8;
    --fourth-color: #296b9e;
    --fifth-color: #fcd900;
    --gray-1: #6a6868;
    --white: #ffffff;
    --black: #000000;
}
* {
    font-family: "IBMPlexSans", sans-serif;
    box-sizing: border-box;
}
img {
    max-width: 100%;
}
ul,
h1,
h2,
h3,
h4 {
    margin: 0;
}
body {
    position: relative;
}
main {
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* Main Header */
#main-header {
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 10;
    background-color: var(--white);
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    padding: 10px;
}
#main-header .content {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    width: 100%;
    gap: 200px;
}
#main-header .content h1 {
    color: var(--primary);
    font-size: 32px;
    text-align: center;
}
#main-header img {
    width: 150px;
}
#main-header a:first-child {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    user-select: none;
}
/* Ham Responsive button*/
#btn-menu-nav-main {
    border: 0;
    background-color: transparent;
    font-size: 30px;
    color: var(--dark1);
    cursor: pointer;
    transition: 0.4s;
    display: none;
    place-items: center;
}
/* Logo that appears when screen width is less than 900px */
#main-header .responsive-logo {
    display: none;
}
#main-header .links {
    display: flex;
}
#main-header .content ul {
    display: flex;
    align-items: center;
    list-style: none;
    font-size: 18px;
    padding: 0;
    margin: 0;
}
#main-header .content ul a {
    display: block;
    text-align: center;
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    position: relative;
    padding: 20px;
    cursor: pointer;
}
/* Animated bottom bar */
#main-header .content ul a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--primary);
    left: 0;
    bottom: 0;
    transform: scale(0, 1);
    transition: transform 0.3s ease;
}
#main-header .content ul a.active::after {
    transform: scale(1, 1);
}
#main-header .content ul a:hover::after {
    transform: scale(1, 1);
}
#registration-btn {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    border-radius: 8px;
    background-color: var(--primary);
    font-weight: 700;
    outline: 4px solid transparent;
    transition: 0.3s;
    margin-left: 50px;
}
#registration-btn:hover {
    background-color: var(--black);
    outline: 4px solid var(--fifth-color);
}
#registration-btn span {
    color: var(--fifth-color);
    font-size: 20px;
}
#registration-btn.responsive {
    display: none;
}
/* Footer */
#main-footer {
    display: flex;
    flex-direction: column;
    background-color: var(--primary);
}
#main-footer .wrapper {
    display: flex;
    justify-content: center;
    padding: 50px 0;
    gap: 200px;
}
#main-footer .wrapper > article {
    width: 20%;
}
#main-footer .logo-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: var(--fifth-color);
}
#main-footer .logo-section img {
    background-color: var(--white);
    border-radius: 50%;
    padding: 15px;
    width: 200px;
}
#main-footer .logo-section .phone-number {
    margin-left: 10px;
    font-size: 18px;
}
#main-footer .buttons-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    max-width: 225px;
}
#main-footer .buttons-section a {
    text-decoration: none;
}
#main-footer .buttons-section .button {
    display: flex;
    justify-content: center;
    padding: 10px 60px;
    font-size: 22px;
    font-weight: 600;
    border-radius: 5px;
    transition: 0.25s;
}
#main-footer .buttons-section .button:first-child {
    color: var(--primary);
    background-color: #fcd900;
}
#main-footer .buttons-section .button:nth-child(2) {
    color: var(--white);
    box-shadow: 0 0 0 2px var(--white) inset;
}
#main-footer .buttons-section .button:hover {
    background-color: var(--white);
    color: var(--black);
}
#main-footer .buttons-section .icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 24px;
}
#main-footer .buttons-section .icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--primary);
    background-color: var(--white);
    padding: 6px;
    border-radius: 50%;
    transition: 0.2s;
}
#main-footer .buttons-section .icons a:hover {
    color: var(--white);
    background-color: var(--black);
}
#main-footer .info-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#main-footer .info-section h3 {
    color: var(--fifth-color);
    font-size: 20px;
    margin-bottom: 7px;
}
#main-footer .info-section ul {
    list-style: none;
    padding: 0;
}
#main-footer .info-section ul li {
    list-style: none;
    padding: 10px 0;
    cursor: pointer;
    font-size: 18px;
}
#main-footer .info-section ul li a {
    color: var(--white);
    text-decoration: none;
}
#main-footer .info-section ul li a:hover {
    color: var(--fifth-color);
}
#main-footer footer {
    background-color: #000000;
    color: var(--white);
    padding: 15px 30px;
    font-size: 18px;
}
@media (max-width: 1650px) {
    #main-header .content {
        gap: 100px;
    }
    #main-header .content .logo-container h1 {
        font-size: 26px;
    }
    #main-header img {
        min-width: 150px;
    }
}
@media (max-width: 1280px) {
    #main-header .content ul {
        font-size: 14px;
    }
    #registration-btn {
        display: flex;
        align-items: center;
        padding: 15px 20px;
    }
    #registration-btn span {
        font-size: 14px;
    }
}
@media (max-width: 1280px) and (height: 648.67px) {
    #main-header img {
        width: 90px;
        min-width: 90px;
    }
    #main-header .content .logo-container h1 {
        font-size: 19px;
    }
    #main-header .content ul a::after {
        height: 2px;
    }
}
@media (max-width: 1170px) {
    #main-footer .wrapper {
        gap: 100px;
    }
} 
@media (max-width: 1120px) {
    #main-header img {
        min-width: 100px;
    }
    #main-header .content {
        gap: 30px;
    }
    #main-header .content .logo-container h1 {
        font-size: 20px;
    }
    #main-footer .wrapper {
        gap: 100px;
    }
} 
@media (max-width: 1030px) {
    #main-footer .wrapper {
        gap: 100px;
    }
}
@media (max-width: 900px) {
    #btn-menu-nav-main {
        display: grid;
    }
    #main-header .responsive-logo {
        display: none;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
    #main-header .responsive-logo h1 {
        text-align: center;
        color: var(--primary);
        font-size: 26px;
    } 
    #main-header .content {
        flex-direction: column;
        justify-content: space-between;
        background-color: var(--primary);
        padding: 20px 0;
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 30%;
        min-width: 300px;
        z-index: 3;
    }
    #main-header.active .filter-responsive {
        visibility: visible;
        opacity: 1;
        z-index: 2;
    }
    #main-header .filter-responsive {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100%;
        background-color: #000c;
        visibility: hidden;
        opacity: 0;
        transition: 0.4s;
    }
    #main-header .content {
        transform: translatex(-100%);
        transition: 0.4s;
    }
    #main-header.active .content {
        transform: translateX(0);
    }
    #main-header .content ul {
        align-items: center;
        flex-direction: column;
        width: 100%;
        gap: 40px;
    }
    #main-header .content ul li a {
        width: 100%;
        color: var(--white);
        font-size: 22px;
        border: 1px solid transparent;
        padding: 5px 15px;
        transition: 0.4s;
        border-radius: 6px;
        font-weight: 700;
    }
    #main-header .content ul li a:hover {
        border: 1px solid var(--fifth-color);
        color: var(--fifth-color);
    }
    #main-header .content ul li a.active {
        background-color: var(--fifth-color);
        color: var(--primary);
    }
    #main-header .content ul a.active::after {
        transform: scale(0, 0);
    }
    #main-header .content ul a:hover:after {
        transform: scale(0, 0);
    }
    #main-header .content .logo-container {
        order: 1;
        align-self: flex-end;
        margin-right: 22px;
    }
    #main-header .content img {
        background-color: var(--white);
        border-radius: 50%;
        padding: 15px;
    }
    #main-header .content h1 {
        display: none;
    }
    #registration-btn {
        display: none;
        padding: 20px 30px;
    }
    #registration-btn span {
        font-size: 22px;
    }
    #registration-btn.responsive {
        display: block;
        margin: 0;
        border: 2px solid var(--fifth-color);
        order: -1;
    }
    #registration-btn.responsive:hover {
        border: 2px solid var(--white);
    }
    #registration-btn.responsive:hover span {
        color: var(--white);
    }
    #main-footer .logo-section img {
        max-width: 60%;
    }
    #main-footer .wrapper > article {
        width: 100%;
    }
    #main-footer .wrapper {
        flex-direction: column;
        justify-content: center;
        gap: 50px;
        margin: 0;
    }
    #main-footer .logo-section .phone-number {
        margin-left: 0;
    }
    #main-footer .buttons-section {
        padding: 0 40px;
        max-width: unset;
    }
    #main-footer .logo-section,
    .info-section {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    #main-footer .info-section h3 {
        margin-top: 0;
    }
}
@media (max-width: 960px) {
    #registration-btn {
        margin-left: 10px;
    }
}
@media (max-width: 800px) {
    #main-footer .wrapper {
        gap: 50px;
    }
}
@media (max-width: 630px) {
    #main-header .responsive-logo h1 {
        font-size: 22px;
    } 
}
@media (max-width: 550px) {
    #main-header{
        gap: 20px;
    }
}
@media (max-width: 500px) {
    #main-footer .logo-section img {
        max-width: 90%;
    }
    #main-header .responsive-logo h1{
        font-size: 17px;
    }
}
/* Adjust to responsive menu */
@media (max-height: 740px) and (max-width: 900px) {
    #main-header .content {
        gap: 100px;
    }
    #main-header .content ul {
        gap: 30px;
    }
    #main-header .content ul li a {
        font-size: 18px;
    }
    #registration-btn span {
        font-size: 20px;
    }
}
