.homepage {
    position: relative;
}

.homepage + footer:after {
    content: none;
}

h2.page-title {
    line-height: 30px;
    padding: 15px 50px;
}

.control a.left,
.control a.right {
    line-height: 25px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.page-class .video .list > div b small {
    display: block;
    line-height: 20px;
    margin-top: 5px;
}

.control a.btn {
    line-height: 25px;
    padding: 5px 0;
}

.control.home {
    position: absolute;
    right: 47vw;
    top: 13.5vw;
}

.control.home a.btn {
    padding: 15px 0;
    margin: 0 0 3vw 0;
    width: 13vw;
    font-size: 1.5vw;
    font-weight: bold;
}

.control a.btn small,
.control a.left small,
.control a.right small,
h2.page-title small {
    display: block;
}

.page-class .video-info small {
    display: block;
    line-height: 20px;
    margin-top: 10px;
}

h1 span {
    height: 80px;
}

.page-class ul li a > div {
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-class ul li a > div span {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.page-class .video .alert {
    background: #fcd5a7;
    font-size: 14px;
    font-weight: bold;
    border: 2px solid #344154;
    text-align: center;
    position: absolute;
    right: 31%;
    bottom: 25%;
    z-index: 99;
    pointer-events: none;
    display: block;
    width: 270px;
    color: #3d3d3d;
    line-height: 25px;
    padding: 10px 0;
}

.page-class .video .alert.down {
    bottom: 0;
    opacity: 0;
    transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
}

.page-class .video .alert small {
    display: block;
    font-size: 13px;
}

.page-class .video .alert:after {
    content: "";
    display: block;
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
    bottom: -16px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 5px 0 5px;
    border-color: #fcd5a7 transparent transparent transparent;
    -moz-animation: bounce 2s infinite;
    -webkit-animation: bounce 2s infinite;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-5px);
    }

    60% {
        transform: translateY(5px);
    }
}

header ul li {
    position: relative;
}

header ul li a:hover,
header ul li a.active {
    color: #50d7d4;
}

header ul li a:hover + div,
header ul li div:hover {
    max-height: 90px;
    opacity: 1;
}

header ul li div {
    position: absolute;
    left: -45px;
    top: 60px;
    background: #344154;
    padding: 15px;
    opacity: 0;
    max-height: 0;
    transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

header ul li div a {
    line-height: 30px;
    white-space: nowrap;
    text-align: center;
}

.homepage h1 {
    font-weight: bold;
    color: #50d7d4;
    position: absolute;
    left: 16vw;
    top: 14vw;
    z-index: 2;
    width: 22.1vw;
    font-size: 3.5vw;
    line-height: 4vw;
}

.homepage h2 {
    font-weight: bold;
    color: #50d7d4;
    position: absolute;
    left: 16vw;
    top: 24vw;
    width: 22.1vw;
    z-index: 2;
    font-size: 2vw;
    line-height: 2.5vw;
}

.modal .control a {
    padding: 15px 0;
}

@media screen and (max-width: 1024px) {
    #nav-icon2 + br + ul {
        background-color: #344154;
        max-width: 375px;
        height: 0;
        max-height: 0;
        width: 100%;
        position: absolute;
        right: 0;
        top: 60px;
        box-shadow: none;
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
        padding: 0 50px;
    }

    #nav-icon2.open + br + ul {
        height: auto;
        max-height: 100vh;
        padding: 25px 50px;
    }

    header ul li {
        width: 100% !important;
        text-align: left;
        ;
        color: #fff;
        line-height: 65px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    header ul li:last-of-type {
        border: 0;
    }

    header ul li a {
        color: #fff;
    }

    header ul li div {
        max-height: 100vh;
        opacity: 1;
        position: relative;
        left: 0;
        top: 0;
        padding: 0 0 15px 0;
    }

    header ul li div a {
        text-align: left;
        line-height: 35px;
        padding-left: 35px;
    }

    .page-class .video .alert {
        position: relative;
        right: 0;
        bottom: 0;
        top: -20px;
        float: right;
    }
    
    .page-class .video .alert.down {
        bottom: 0;
        opacity: 1;
    }
    
    .page-class .video .alert:after {
        content: none;
    }

    .control.home {
        position: absolute;
        right: auto;
        left: 18vw;
        top: 43vw;
    }
    
    .control.home a.btn {
        width: 20vw;
        font-size: 2vw;
        height: 8vw;
        line-height: 3.5vw;
    }
    
    .homepage h1 {
            left: 0;
    right: 0;
    margin: auto;
    text-align: center;
    top: 220px;
    width: 50vw;
    font-size: 55px;
    line-height: 70px;
    }

    .homepage h2 {
        left: 0;
        right: 0;
        margin: auto;
        text-align: center;
        top: 385px;
        width: 75vw;
        font-size: 29px;
        line-height: 30px;
    }
}

@media screen and (max-width: 767px) {
    h2.page-title {
        line-height: 25px;
        height: auto;
        padding: 15px 40px;
    }

    .control a.btn {
        height: 64px;
    }

    h1 span {
        height: 60px;
        line-height: 30px;
    }

    .page-class ul li a > div span {
        font-size: 15px;
        line-height: 20px;
        padding: 0;
    }

    .control.home {
        position: absolute;
        right: auto;
        left: auto;
        top: auto;
        bottom: 5vw;
        width: 100vw;
        text-align: center;
    }

    .control.home a.btn {
        display: inline-block;
        margin: 10px;
        width: 150px;
        height: 50px;
        line-height: 25px;
        padding: 10px 0;
        font-size: 4vw;
    }
    
    .homepage h1 {
        left: 0;
        right: 0;
        margin: auto;
        text-align: center;
        top: 30vw;
        width: 50vw;
        font-size: 8vw;
        line-height: 9.5vw;
    }

    .homepage h2 {
        left: 0;
        right: 0;
        margin: auto;
        text-align: center;
        top: 52vw;
        width: 50vw;
        font-size: 4.5vw;
        line-height: 5.5vw;
    }
    
    .modal .control a {
        padding: 0;
    }
}

@media screen and (max-width: 500px) {
    #nav-icon2 + br + ul {
        max-width: 100%;
    }
}