html, body {        
    height: 100vh; /* Fallback for browsers that do not support Custom Properties */
    height: calc(var(--vh, 1vh) * 100) !important;
    touch-action: none;
}

.transition-effect {
    -webkit-transition: background-color 1s ease-out;
    -moz-transition: background-color 1s ease-out;
    -o-transition: background-color 1s ease-out;
    transition: background-color 1s ease-out;
}

.page-container {
    width: 100%; 
    align-items: center; 
    display: flex; 
    justify-content: center; 
    flex-direction: column; 
    padding: 25px; 
    user-select: none;
}

.crd {
    max-width: 400px; 
    margin: 25px; 
    z-index: 1000; 
    max-height: 650px; 
    width: 100%; 
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100) !important;;
    display: flex; 
    flex-direction: column; 
    padding: 25px 25px 70px 25px; 
    align-items: center;  
    justify-content: center;
}

.waves {
    position:relative;
    width: 100%;
    height:15vh;
    margin-bottom:-7px;
    min-height:100px;
    max-height:150px;
}

.content {
    position:relative;
    height:20vh;
    text-align:center;
    background-color: #eea236;
}

/* Animation */

.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}
.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}
.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}
.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px,0,0);
    }
    100% { 
        transform: translate3d(85px,0,0);
    }
}

.waves-container {
    position: absolute; 
    width: 100%; 
    bottom: 0; 
    z-index: -1;
}

.hg-theme-default {
    margin-right: auto !important;
    margin-left: auto !important;
    font-weight: bold !important;
}

use {
    transition: 0.5s;
}

@media (max-height: 800px) {
    .crd {
        padding: 15px 25px 70px 25px !important;
        max-height: 550px !important;
    }

    #section-1 {
        padding-right: 15px;
    }

    .page-container  {
        padding-top: 15px;
        justify-content: space-around;
    }

    .hg-theme-default {
        width: 85% !important;
    }

    .hg-button {
        height: 45px !important;
    }
}

@media (max-height: 650px) {
    .crd {
        max-height: 475px !important;
    }
}


/* SweetAlert */
.sweet-alert h2 {
    font-family: 'Montserrat';
}

.sweet-alert p {
    font-family: 'Montserrat';
}

.sweet-alert button {
    font-family: 'Montserrat';
}

.sweet-alert fieldset {
    padding: 0px;
    margin: 0px;
}

/* Toggle */

.custom-checkbox {
    height: 0;
    width: 0;
    visibility: hidden;
}

.custom-checkbox-label {
    cursor: pointer;
    text-indent: -9999px;
    width: 50px;
    height: 25px;
    background: #eea236;
    display: block;
    border-radius: 25px;
    position: relative;
}

.custom-checkbox-label:after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 19px;
    background: #fff;
    border-radius: 20px;
    transition: 0.3s;
}

.custom-checkbox:checked + .custom-checkbox-label {
    background: lightgray !important;
}

.custom-checkbox:checked + .custom-checkbox-label:after {
    left: calc(100% - 5px);
    transform: translateX(-100%);
}

.custom-checkbox-label:active:after {
    width: 30px;
}

.custom-checkbox-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
}