html,
body {
    height: 100%;
    margin: 0;
}

.main-background {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4)), url('./../assets/heroPageBg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 45% 0%;
}


.upper-rectangle {
    width: 100%;
    height: 80%;
    background-position: 0px -100px;
    background-repeat: no-repeat;
    background-size: cover;
}

.lower-rectangle {
    width: 100%;
    height: 20%;
    /* left: 0px;
    top: 775px;
    position: absolute; */
    background: #4D5858
}

.img-logo {
    width: 279px;
    height: 31px;
    left: 127px;
    top: 92px;
    position: absolute;
}

.img-background {
    width: 100%;
    height: 80%;
    left: 0px;
    top: 0px;
    position: absolute;
}

.temporary-unavailable-text-bg {
    width: 55%;
    height: 223px;
    left: 21%;
    top: 42.5%;
    position: absolute;
    background: white;
    border-radius: 10px
}

.temporary-unavailable-text {
    width: 100%;
    margin-top: 5%;
    text-align: center;
    color: #003B4D;
    font-family: DM Serif Display;
    font-weight: 400;
    word-wrap: break-word;
}

.appologize-text {
    width: 100%;
    margin-top: 2.5%;
    color: #003B4D;
    font-family: DM Sans;
    font-weight: 400;
    word-wrap: break-word;
    text-align: center;
}

.appologize-text-md {
    display: none;
}

.footer {
    height: 100%;
    margin: 0 auto;
    width: 95%;
    text-align: center;
    color: white;
    font-family: DM Sans;
    font-weight: 400;
    word-wrap: break-word;
}

.footer-upper-blank {
    height: 40%;
}

.footer-lower-blank {
    height: 20%;
}

.footer-text {
    height: 40%;
}


@media (max-device-width: 480px) {

    .temporary-unavailable-text-bg {
        width: 90%;
        left: 5%;
        top: 40%;
    }

    .temporary-unavailable-text {
        margin-top: 5%;
    }

    .appologize-text {
        display: none;
    }

    .appologize-text-md {
        display: block;
        width: 100%;
        margin-top: 2.5%;
        /* position: absolute; */
        color: #003B4D;
        font-family: DM Sans;
        font-weight: 400;
        word-wrap: break-word;
        text-align: center;
    }
}

@media (min-device-width: 481px) and (max-device-width: 1024px) {
    .temporary-unavailable-text-bg {
        width: 90%;
        left: 5%;
        top: 40%;
    }

    .temporary-unavailable-text {
        top: 45%;
    }

    .appologize-text {
        display: none;
    }

    .appologize-text-md {
        display: block;
        width: 100%;
        top: 50%;
        position: absolute;
        color: #003B4D;
        text-align: center;
        font-size: 24px;
        font-family: DM Sans;
        font-weight: 400;
        word-wrap: break-word;
    }

    .upper-rectangle {
        background-position: 0 0;
    }


}

@media (min-device-width: 1600px) {
    .main-background {
        background-position: 0px 0px;
    }
}

@media (max-device-width: 414px) {
    .main-background {
        background-size: auto 690px;
    }
}

@media (max-device-width: 540px) {
    .main-background {
        background-size: auto 750px;
    }
}

@media (max-device-width: 576px) {
    .main-background {
        background-size: auto 818px;
    }
}

@media (max-device-width: 767.98px) {
    .main-background {
        background-size: auto 1800px;
    }
}

h1 {
    font-family: "Utopia-Std" ;
    font-family: 'utopia-std-subhead';
    font-weight: 600;
    font-size: 58px;
}

.appologize-text, .appologize-text-md {
    font-family: "Galaxie-Polaris", "Arial Narrow", Arial, sans-serif;
    font-size: 22px;
    font-weight: 500;
}


@media (max-device-width: 575px) {
    h1 {
        font-size: 50px;
    }
    
    .appologize-text, .appologize-text-md {
        font-size: 34px;
    }
    .footer {
        font-size: 26px;
    }

}

@media (min-device-width: 576px) and (max-device-width: 767px) {
    h1 {
        font-size: 78px;
    }
    
    .appologize-text, appologize-text-md {
        font-size: 30px;
    }
    .footer {
        font-size: 22px;
    }
}

@media (min-device-width: 768px) and (max-device-width: 991px) {
    h1 {
        font-size: 32px;
    }
    
    .appologize-text, appologize-text-md {
        font-size: 26px;
    }
    .footer {
        font-size: 18px;
    }
}

@media (min-device-width: 992px) and (max-device-width: 1279px) {
    h1 {
        font-size: 40px;
    }
    
    .appologize-text, appologize-text-md {
        font-size: 18px;
    }
    .footer {
        font-size: 16px;
    }
}

@media (min-device-width: 1280px) {
    h1 {
        font-size: 50px;
    }
    
    .appologize-text, appologize-text-md {
        font-size: 22px;
    }
    .footer {
        font-size: 20px;
    }
}