a.button {
    font-family: var(--sans);

    text-decoration: none;

    color: var(--black);

    line-height: 63px;

    font-size: 16px;
    font-weight: bold;

    text-transform: uppercase;

    padding: calc((59px - 16px) / 2) 15px;
}

a.button-i {
    padding: 0;
}

a.button-i i {
    font-size: 32px;
    padding: calc((64px - 32px) / 2) 15px;
}

.button:not(.button-i):hover {
    background-color: var(--light);
    color: var(--primary);
}

.button-i:hover i {
    background-color: var(--light);
    color: var(--primary);
}

.center-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.icon-btn i {
    font-size: 64px;
}

.icon-btn:hover i {
    color: var(--primary);
}

/* ========================= title ========================= */

.title {
    text-align: center;
    padding: 30px 60px;   
}

.title h1 {
    font-size: 42px;
    padding-bottom: 30px;
}

.title p {
    font-size: 21px;
}

/* ======================================== CARD =====================================*/
.card {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

    transition: 500ms ease-in-out;

    padding: 15px;
    width: calc(100% - 30px);
}

.card:hover {
    transform: translate(-1px, -2px);
    box-shadow: 3px 3px 5px 0px rgba(50, 50, 50, 0.5);
    background-color: var(--light-bg);
}

.card-text {
    text-align: center;
}

.card-link {
    font-size: 64px;
    transition: 500ms;
}

.card-link:hover {
    color: var(--primary);
}

.card-title {
    font-size: 36px;
    font-weight: bold;
    font-family: var(--sans-condensed);
}

.card-desc, .card-desc * {
    font-size: 24px;
    font-family: var(--sans-condensed);
}

.card-desc a {
    text-decoration: none;
    font-weight: bold;
}

/* ==================================== FLEX_TILE ====================================== */
.flex-tile {
    width: 100%;
    height: 500px;

    position: relative;

    cursor: pointer;
}

@media (orientation: landscape) and (min-width: 570px) {
    .flex-tile {
        width: 300px;
        height: 300px;
    }
}

.flex-tile .hover-desc {
    position: absolute;
    bottom: -100%;
    left: 0;

    display: none;

    width: calc(100% - 30px);
    margin: 0;
    padding: 15px;

    text-align: center;

    background-color: var(--primary);
    color: white;
}

.flex-tile:hover .hover-desc {
    bottom: 0;

    display: inherit;
}

.checked-wrapper {
    position: absolute;
    top: 63px;
    left: 0;

    width: 100%;
    height: 100%;
    overflow: hidden;

    background-color: var(--dark-bg);

    display: none;

    z-index: 8;
}

.checked-toggle:checked + .checked-wrapper {
    display: inline;
}

.checked-content {
    position: relative;

    margin: 15px;
    padding: 0;

    background-color: white;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;

    width: calc(100% - 30px);
    height: calc(100% - 30px - 63px);
}

@media (orientation: landscape) and (min-width: 750px) {
    .checked-content {
        margin: 50px;

        width: calc(100% - 100px);
        height: calc(100% - 100px - 63px);
    }
}

.checked-content-toggle {
    position: absolute;
    top: 0;
    right: 0;

    height: 60px;
    width: 60px;

    cursor: pointer;
}

.checked-content-toggle:hover {
    background-color: var(--light);
}

.checked-content-toggle span {
    position: absolute; 
    height: 6px;
    width: 34px;

    top: calc((60px - 6px) / 2);
    right: calc((60px - 34px) / 2);

    background-color: var(--black);
}

.checked-content-toggle span:first-child {
    transform: rotate(45deg);
}

.checked-content-toggle span:last-child {
    transform: rotate(-45deg);
}

p.checked-content-title {
    font-size: 24px;
    font-weight: bold;
    font-family: var(--sans-condensed);

    line-height: 60px;

    margin: 0;
    padding: 0 60px;
}

.checked-content-desc {
    overflow-y: auto;
    height: calc(100% - 120px - 100px);
    margin-bottom: 60px;

    padding: 50px;

    font-size: 20px;

}

.checked-content-desc a {
    text-decoration: none;
    font-weight: bold;
    font-family: var(--sans);
}

/*====================== content section ============================ */
.section h1 {
    font-size: 36px;
    font-weight: bold;
    font-family: var(--sans);
    padding: 10px 50px;

    margin: 15px 0;
}

.section p {
    font-size: 16px;
    line-height: 150%;
    padding: 10px 30px;
}

.section {
    padding: 0 20px;
}

.section .muted {
    text-decoration: none;
    font-family: var(--sans-condensed);
    font-weight: bold;

    font-style: italic;
    color: var(--primary);

    font-size: 16px;
    line-height: 32px;

    transition: 500ms;
}

.section a:hover {
    text-decoration: underline;
}

.section .img-container {
    padding: 0;
    margin: 0 -20px;
    text-align: center;
}

.section > *:not(div) {
    padding-left: 25px;
}

@media (orientation: landscape) {
    .section .img-container {
        padding: 30px;
        width: calc(100% - 60px);
        height: 100%;

        margin: 0;
    }
}

.section .img-container img {
    max-width: 100%;
    max-height: 100%;
}

/*==================================== link list ==========================================*/
.link-list {
    text-align: center;

    padding: 0 50px;
}

.link-list a {
    display: inline-block;
    font-family: var(--sans);

    text-decoration: none;

    color: var(--black);

    line-height: 63px;

    font-size: 16px;
    font-weight: bold;

    text-transform: uppercase;

    padding: 0 15px;

    cursor: pointer;
}

.link-list a:hover {
    background-color: var(--primary);
    color: var(--light);
}