body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
    background-color: #ffbf00;
}

.outer-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.container {
    width: 100%;
    height: 100%;
    padding: 10%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.expanded {
    flex-grow: 1;
    background-color: #ffbf00;
    /* Equivalent to Colors.red */
    position: relative;
    overflow: hidden;
}

.ribbon {
    width: 100px;
    height: 150px;
    background-color: #008000;
    position: absolute;
    right: 100px;
    top: -350px;
    animation: drop forwards 0.8s 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.ribbon:before {
    content: "";
    position: absolute;
    z-index: 2;
    left: 0;
    bottom: -50px;
    border-left: 50px solid #008000;
    border-right: 50px solid #008000;
    border-bottom: 50px solid transparent;
}

.ribbon:after {
    content: "";
    width: 200px;
    height: 270px;
    position: absolute;
    z-index: -1;
    left: 0;
    bottom: -120px;
    background-color: #008000;
    transform: skewY(35deg) skewX(0);
}

@keyframes drop {
    0% {
        top: -350px;
    }

    100% {
        top: 0;
    }
}

.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.loader {
    margin: auto;
    width: 50px;
    height: 50px;
    background-color: #ffbf00;
    animation: spin 2s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}

@keyframes spin {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(0.5) rotate(180deg);
    }
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.text-container {
    color: #a6c9d7;
    position: absolute;
    top: 20%;
    width: 100%;
    text-align: center;
    font-size: 50px;
    letter-spacing: 10px;
}

.center-container {
    position: absolute;
    top: 70%;
    width: 100%;
    text-align: center;
    color: #ce5c42;
    font-size: 25px;
    letter-spacing: 10px;
}

.footer {
    text-align: center;
    color: #333;
    background-color: #0000ff;
    padding: 5px;
    color: white;
    text-align: center;
    position: relative;
}

@media screen and (max-width: 1037px) {
    .ribbon {
        display: none;
    }

    .ribbon:before {
        display: none;

    }

    .ribbon:after {
        display: none;
    }

    .loader-container {
        display: none;
    }

    .loader {
        display: none;
    }
}