@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Nunito+Sans:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800;1,900&family=Nunito:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Oswald:wght@200;300;400;500;600;700&display=swap');
:root {
    --default-siboney-blue: #001689;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 400;
}

.closing {
    margin: auto;
    width: 50%;
    padding: 2rem;
    background-color: var(--default-siboney-blue);
    color: snow;
}

ul.careers {
    list-style-type: none;
    padding-left: 3rem;
}

.career-list {
    margin-top: 3rem;
    margin-left: 6rem;
}

li.careers {
    margin: 0px 0px 0px 0px;
    padding: 0px;
    padding-left: 0.5rem;
}

li.careers p {
    margin: 0px 0px 0px 0px;
    padding: 0px;
}

div.careers a {
    position: relative;
}

li.careers::marker {
    content: '■';
    color: var(--default-siboney-blue);
    font-size: 1.5rem;
    padding-bottom: 1rem;
}
.career-details {
    padding: 0px;
    margin: 0px 0px 1rem 0px;
}

.career-subtitles {
    margin: 0px;
    margin-top: 1rem;
}

.career-span {
    color:var(--default-siboney-blue);
    font-weight: 500;
}

.blue-quote {
    text-align: center;
    margin: 0;
    padding: 0;
}

a.career-link {
    font-size: 2rem;
    margin: 20px 0px 20px 0px;
    display: inline-block;
}
a.career-link:hover {
    color: var(--default-siboney-blue);
}

a.career-link::before {
    top: -8px;
    content: "";
    display: block;
    height: 6px;
    left: 50%;
    position: absolute;
    background: var(--default-siboney-blue);
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
}

a.career-link:after {
    top: 30px;
    content: "";
    display: block;
    height: 6px;
    left: 50%;
    position: absolute;
    background: var(--default-siboney-blue);
    transition: width 0.3s ease 0s, left 0.3s ease 0s;
    width: 0;
}

a.career-link:hover:after {
    width: 100%;
    left: 0;
}

a.career-link:hover:before {
    width: 100%;
    left: 0;
}

.mbe-certs {
    display:flex;
    align-content: center;
    justify-content: center;
    flex-direction: row;
    place-items: center;
}

.mbe-logos {
    display:grid;
    align-content: center;
    justify-content: center;
    place-items: center;
    border: 0px solid black;
    column-gap: 0px;
    row-gap: 0px;
    grid-template-columns: minmax(189px, 1fr) minmax(102px, 1fr) minmax(160px, 1fr) minmax(125px, 1fr) minmax(173px, 1fr);
    grid-template-rows: 1fr;
    margin:0 -1px -1px 0;
    padding: 15px;
}

@media (max-width: 900px) {
    .mbe-logos {
        grid-template-columns: minmax(189px, 1fr) minmax(102px, 1fr) minmax(160px, 1fr);
        grid-template-rows: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mbe-logos {
        grid-template-columns: minmax(189px, 1fr) minmax(102px, 1fr);
        grid-template-rows: 1fr 1fr 1fr;
    }
}


.mbe-list {
    padding-left: 6rem;
}

.mbe-container {
    display:flex;
    align-content: center;
    justify-content: center;
    padding-bottom: 2rem;
}

.mbe-para {
    padding-left: 2rem;
    padding-top: 1rem;
    align-content: center;
    justify-content: center;
}

img.img-mbe-logo:hover {
    /* Start the shake animation and make the animation last for 0.5 seconds */
    animation: shake 0.5s;
  
    /* When the animation is finished, start again */
    animation-iteration-count: infinite;
  }
  
@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
  }

@media (max-width: 700px) {
    .mbe-certs {
      flex-direction: column;
}