.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .7s;
}

.overlay-white {
    background-color: #e8d5d9;
}

.overlay-transparent {
    /*background-color: transparent;*/
    background: linear-gradient(45deg,#ffcdd2, #ff6a00 33%, #e31937 66%, #991F3D);
}

.white-transparent {
    position: absolute;
    width: 100%;
    height: 100%;
}

.overlay-container {
    width: calc(40% - 40px);
    height: auto;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    border-radius: 3px;
    box-shadow: 0 22px 44px 0 rgba(0, 0, 0, 0.22);
    background-color: #ffffff;
}

.overlay-container > div {
	display: flex;
	height: 100%;
	max-height: 900px;
	width: calc(100% - 40px);
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.overlay-title-container {
    display: flex;
    height: 75px;
    min-height: 75px;
    align-items: center;
    justify-content: center;
    color: #434346;
    font-size: 1.5em;
    width: 100%;
}

.overlay-title {
    width: 95%;
    text-align: center;
}

.overlay-content {
    width: 100%;
    min-height: 150px;
    height: auto;
    padding-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    word-break: break-word;
}

.loading-overlay {
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 1024px) and (max-aspect-ratio: 13/9), screen and (max-device-width: 1024px) and (min-resolution: 2) and (max-aspect-ratio: 13/9) {
    .overlay {
        background-color: rgba(0,0,0,0.8);
    }

    .overlay-white {
        background-color: #e8d5d9;
    }

    .overlay-container {
        width: calc(100% - 40px);
    }

    .overlay-content {
        width: 100%;
        min-height: 150px;
        height: auto;
        border-top: 2px solid white;
        padding-top: 10px;
        display: flex;
        align-items: center;
        justify-content: space-around;
    }
}

@media screen and (max-width: 767px) and (max-aspect-ratio: 13/9), screen and (max-device-width: 767px) and (min-resolution: 2) and (max-aspect-ratio: 13/9) {
    .overlay {
        background-color: rgba(0,0,0,0.8);
    }

    .overlay-white {
        background-color: #e8d5d9;
    }
}


