@import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans:wght@300&family=Cormorant:wght@300&family=Kaisei+Decol:wght@500&family=Padauk&family=Roboto+Condensed:ital,wght@1,300&family=Sarabun:wght@100&display=swap');

*{
    margin: 0; padding: 0;
    box-sizing: border-box;
    outline: none; border: none;
    text-decoration: none;
    text-transform: uppercase;
    font-family: 'Cormorant', serif;
}

.container{
    position: relative;
}

.container .slide-container .slide{
    min-height: 100vh;
    overflow: hidden;
    position: relative;
    z-index: 0;
}

.container .slide-container .slide video{
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: -1;
    animation: fadeIn .4s linear;
}

@keyframes fadeIn{
    0%{
        transform: scale(1.5);
    }
}

.container .slide-container .slide .content{
    text-align: left;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: left;
    justify-content: top;
    flex-flow: column;
    background: transparent;
}

.container .slide-container .slide .content h4{
    font-size: 45px;
    color: #fff;
    text-shadow: 0 5px 10px rgba(0,0,0,.3);
    animation: animate .4s linear .4s backwards;
}
.container .slide-container .slide .content h3{
    font-size: 70px;
    color: #fff;
    text-shadow: 0 5px 10px rgba(0,0,0,.3);
    animation: animate .4s linear .4s backwards;
}

@keyframes animate{
    0%{
        opacity: 0;
        transform: scale(.5) translateY(-50px);
    }
}

.container .slide-container{
    display: none;
}

.container .slide-container{
    display: block;
}
.container #next,
.container #prev{
    position:absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    background: #fff;
    color: #333;
    font-weight: bold;
    height: 60px;
    width: 50px;
    line-height: 55px;
    font-size: 30px;
    cursor: pointer;
    text-align: center;
}

.container #next{
    right: 0;
}

.container #prev{
    left: 0;
}
