﻿body {
    font-size: 1.5rem;
    font-family: "GraphikTH-regular";
}

a {
    text-decoration: none;
}

#card40years {
    font-family: "GraphikTH-Regular";
}

    #card40years .text-content {
        background-color: #233264;
        color: #FFF;
        text-align: center;
        padding: 10rem 2rem;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        order: 1;
    }

@media (max-width: 1200px) {
    #card40years .text-content {
        order: 2;
        padding: 3.6rem 2rem;
    }
}

#card40years .text-content p {
    font-size: 1.5rem;
    margin-bottom: 3.2rem;
}

#card40years .text-content .header-text {
    margin-bottom: 3.2rem;
}

    #card40years .text-content .header-text h2 {
        margin: 0;
        font-size: 3.6rem;
    }

    #card40years .text-content .header-text .text-1 {
        margin-left: -134px;
    }

@media (max-width: 1200px) {
    #card40years .text-content .header-text .text-1 {
        margin-left: -123px;
    }
}

#card40years .text-content .header-text .text-2 {
    margin-right: -133px;
}

@media (max-width: 1200px) {
    #card40years .text-content .header-text .text-2 {
        margin-right: -119px;
    }
}

#card40years .text-content h2 {
    font-size: 2rem;
    font-family: GraphikTH-Semibold !important;
    margin-bottom: 3.2rem;
    line-height: 1.5;
}

    #card40years .text-content h2 span {
        color: #BD141C;
    }

#card40years .text-content img {
    width: 2.6rem;
    margin-bottom: 0.8rem;
}

#card40years .text-content a {
    background-color: unset;
    border: solid 1px #FFF;
    color: #FFF;
    height: 50px;
    width: 132px;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

    #card40years .text-content a:hover {
        background-color: #FFF;
        color: #233264;
    }

#card40years .img-content {
    order: 2;
}

@media (max-width: 1200px) {
    #card40years .img-content {
        order: 1;
    }
}

#card40years .img-content img {
    width: 100%;
    height: calc(100% - 143px);
    object-fit: cover;
}

@media (max-width: 1200px) {
    #card40years .img-content img {
        height: calc(100% - 73px);
    }
}

#card40years .img-content .div-space {
    height: 143px;
    width: 100%;
    background-color: #BD141C;
    position: relative;
}

    #card40years .img-content .div-space .img-desktop {
        height: 100%;
        position: absolute;
        width: auto;
        left: 0;
        transform: translateX(-54.5%);
    }

    #card40years .img-content .div-space .img-mobile {
        height: 100%;
        position: absolute;
        width: auto;
        right: 0;
    }

@media (max-width: 1200px) {
    #card40years .img-content .div-space {
        height: 73px;
    }
}
