/**
 * Add styling for 404 page here
 */

.masthead-404 {
    padding: 0;
    position: relative;
}

.masthead-404 .container {
    padding-top: 174px;
    padding-bottom: 253px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.masthead-404 .masthead-content {
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
}

.masthead-404 .masthead-content > h1 {
    color: var(--white);
    margin-bottom: 16px;
}

.masthead-404 .masthead-content .intro-text {
    color: var(--blue-01);
    font-size: 24px;
    letter-spacing: -0.04em;
    margin-bottom: 0;
}

.masthead-img {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.masthead-img img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%,0);
    display: block;
    object-fit: cover;
    -o-object-fit: cover;
    font-family: 'object-fit: cover;';
    object-position: center;
}

/* Badge */

.badge-contact {
    z-index: 2;
    position: absolute;
    right: 0;
    bottom: 14px;
    color: white;
}

.badge-contact .card-title {
    color: white;
    line-height: 1.4;
    text-align: left;
    white-space: nowrap;
    font-size: 17px;
    font-family: var(--font-inter);
    font-weight: bold;
    letter-spacing: -0.018em;
    background-color: #0E9251;
    position: absolute;
    right: 100%;
    top: 50%;
    height: 80px;
    margin-top: -40px;
    margin-right: -30px;
    padding: 14px 50px 14px 1px;
    z-index: -1;
}

.badge-contact .card-title strong {
    color: white;
}

.badge-contact .card-title .ribbon {
    position: absolute;
    top: -1px;
    right: 22%;
    height: 103%;
    width: 100%;
    z-index: -1;
}

.badge-contact .person {
    border: 24px solid #26B16D;
    display: block;
    width: 135px;
    height: 135px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

/* Cards */

.error404 .column-textbox-icons-buttons {
    padding: 48px 0;
}

.error404 .column-textbox-icons-buttons .card__description ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.error404 .column-textbox-icons-buttons .card__description ul li {
    margin-left: 0;
}

@media (min-width: 768px) {
    .error404 .column-textbox-icons-buttons {
        padding: 64px 0;
    }

    .masthead-404 .masthead-content {
        max-width: 580px;
    }
}

@media (min-width: 1025px) {
    .error404 .column-textbox-icons-buttons {
        padding: 96px 0;
    }

    .masthead-404 .masthead-content .intro-text {
        font-size: 36px;
        line-height: 146.5%;
    }
}

@media (min-width: 1440px) {

    .masthead-404 .masthead-content > h1 {
        font-size: 72px;
        line-height: 78px;
        letter-spacing: -0.042em;
    }
}