:root {
    --topbar-height: 73px;
}

section {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

h1 {
    color: #293745;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.96px;
    margin-bottom: 1rem;
}

/* Topbar */

.visme-topbar {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    min-height: var(--topbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 1rem;
    background-color: #FFF;
    border-bottom: 1px solid #DAE4EA;
    z-index: 1;
}

.visme-topbar__left {
    display: flex;
    align-items: center;
}

.visme-topbar__link {
    display: flex;
}

.visme-breadcrumbs {
    display: flex;
    list-style: none;
    margin: 0;
    padding-left: 0.75rem;
}

.visme-breadcrumbs__item {
    display: none;
    align-items: center;
}

.visme-breadcrumbs__item:first-child {
    display: flex;
}

@media screen and (min-width: 768px) {
    .visme-breadcrumbs__item {
        display: flex;
    }
    .visme-breadcrumbs__item:last-child {
        display: none;
    }
}

@media screen and (min-width: 1280px) {
    .visme-breadcrumbs {
        display: flex;
    }
    .visme-breadcrumbs__item,
    .visme-breadcrumbs__item:last-child {
        display: flex;
    }
    .visme-breadcrumbs__item:not(:last-child):after {
        content: '';
        display: block;
        width: 1.5rem;
        height: 1.5rem;
        background-position: center;
        background-size: 1.5rem;
        background-image: url(./../images/bc-chevron.svg);
        transform: translateY(1px);
    }
}

.visme-link,
.visme-link:hover,
.visme-link:focus,
.visme-link span,
.visme-link:hover span,
.visme-link:focus span {
    color: #2B3140;
    font-weight: 600;
    line-height: 1.25rem;
    transition: opacity 0.15s ease-in-out;
}

.visme-link:hover,
.visme-link:focus,
.visme-link:hover span,
.visme-link:focus span {
    opacity: 0.8;
}

.visme-topbar__menu {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
}

.visme-topbar__menu-item + .visme-topbar__menu-item {
    margin-left: 2rem;
}

.visme-topbar__menu-link:hover,
.visme-topbar__menu-link:focus {
    opacity: 1;
}

.visme-topbar__menu-link:hover span,
.visme-topbar__menu-link:focus span {
    opacity: 0.8;
}

.visme-topbar__menu-item:nth-child(1),
.visme-topbar__menu-item:nth-child(2) {
    display: none;
}

@media screen and (min-width: 768px) {
    .visme-topbar__menu-item:nth-child(1),
    .visme-topbar__menu-item:nth-child(2) {
        display: inline-flex;
    } 
}

.visme-topbar__menu-link {
    font-size: 0.875rem;
}

.visme-logout,
.visme-login {
    display: flex;
    align-items: center;
}

.visme-logout__icon,
.visme-login__icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
}

.visme-certificates {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 1rem 0.375rem 0.5rem;
    border-radius: 2rem;
    background-color: #EFF6FC;
    white-space: nowrap;
}

.visme-certificates__icon {
    margin-right: 0.75rem;
}

.lead {
    font-size: 1.125rem;
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.container {
    padding: 0 1rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -1rem;
}

.center {
    justify-content: center;
}

.col {
    flex: 0 0 auto;
    width: 100%;
    padding: 0 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.course {
    overflow: hidden;
    position: relative;
    flex: 1;
    border-radius: 1.5rem;
    padding: 0 1.25rem 2.25rem;
    box-sizing: border-box;
    font-size: 1rem;
    line-height: 1.8;
    text-align: center;
    color: #4E5F72;
    font-family: "Lato", sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.course:before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: translateY(-50%);
    border-radius: 50%;
    opacity: 0.15;
    filter: blur(200px);
}

.course > div:first-child:before {
    content: '';
    display: block;
    padding-top: 71.45%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin-top: -1.25rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 550px;
}

.course--presentations {
    background: radial-gradient(circle at 100% 100%, #ffffff 0, #ffffff 22px, transparent 22px) 0% 0%/24px 24px no-repeat,
    radial-gradient(circle at 0 100%, #ffffff 0, #ffffff 22px, transparent 22px) 100% 0%/24px 24px no-repeat,
    radial-gradient(circle at 100% 0, #ffffff 0, #ffffff 22px, transparent 22px) 0% 100%/24px 24px no-repeat,
    radial-gradient(circle at 0 0, #ffffff 0, #ffffff 22px, transparent 22px) 100% 100%/24px 24px no-repeat,
    linear-gradient(#ffffff, #ffffff) 50% 50%/calc(100% - 4px) calc(100% - 48px) no-repeat,
    linear-gradient(#ffffff, #ffffff) 50% 50%/calc(100% - 48px) calc(100% - 4px) no-repeat,
    repeating-linear-gradient(rgba(23,182,125,0.15) 0%, #17b67d 100%);
}

.course--design-foundations {
    background: radial-gradient(circle at 100% 100%, #ffffff 0, #ffffff 22px, transparent 22px) 0% 0%/24px 24px no-repeat,
    radial-gradient(circle at 0 100%, #ffffff 0, #ffffff 22px, transparent 22px) 100% 0%/24px 24px no-repeat,
    radial-gradient(circle at 100% 0, #ffffff 0, #ffffff 22px, transparent 22px) 0% 100%/24px 24px no-repeat,
    radial-gradient(circle at 0 0, #ffffff 0, #ffffff 22px, transparent 22px) 100% 100%/24px 24px no-repeat,
    linear-gradient(#ffffff, #ffffff) 50% 50%/calc(100% - 4px) calc(100% - 48px) no-repeat,
    linear-gradient(#ffffff, #ffffff) 50% 50%/calc(100% - 48px) calc(100% - 4px) no-repeat,
    repeating-linear-gradient(rgba(149,59,219,0.15) 0%, #953BDB 100%);
}

.course--design-foundations:before {
    background-color: #953BDB;
}

.course--presentations:before {
    background-color: #17B67D;
}

.course--design-foundations > div:first-child:before {
    background-image: url(../images/course-design.png);
}

.course--presentations > div:first-child:before {
    background-image: url(../images/course-presentations.png);
}

.course__subtitle {
    font-size: 0.875rem;
    line-height: 1.8;
    letter-spacing: 0.7px;
    margin-bottom: 0.25rem;
}

.course__title {
    font-family: "Montserrat", sans-serif;
    font-size: 1.375rem;
    color: #2B3140;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.course__button {
    margin-bottom: 0;
}

.course__link,
.course__link:hover,
.course__link:focus {
    display: inline-block;
    padding: 1rem 1.25rem;
    border-radius: 0.375rem;
    color: #F5F7F8;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.1px;
    transition: opacity 0.15s ease-in-out;
}

.course__link:hover,
.course__link:focus {
    opacity: 0.8;
}

.course--design-foundations .course__link,
.course--design-foundations .course__link:hover,
.course--design-foundations .course__link:focus {
    background-color: #953BDB;
}

.course--presentations .course__link,
.course--presentations .course__link:hover,
.course--presentations .course__link:focus {
    background-color: #17B67D;
}

@media (min-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    .container {
        margin-left: auto;
        margin-right: auto;
        max-width: 1160px;
    }
    .col {
        flex: 0 0 auto;
        width: 50%;
    }
}