@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300&display=swap');
@font-face {
    font-family: "TH Sarabun PSK";
    src: local("TH Sarabun PSK"), url("font/THSarabun.ttf");
}

* {
    margin: 0px;
    padding: 0px;
}

body,
html {
    height: 100%;
    margin: 0;
    font-family: 'Kanit', sans-serif;
    /* background: #f9f9ff; */
    /* background: #3a3a8b; */
    /* background: -webkit-linear-gradient(to left, #cccccc, #939394); */
}

a {
    text-decoration: none;
}

.bg-sec {
    background-color: #F9E79F;
}

.headbanner {
    width: 100vw;
    max-height: 20rem
}

.container2 {
    position: relative;
    text-align: center;
    color: white;
}


/* Bottom left text */

.bottom-left {
    position: absolute;
    bottom: 8px;
    left: 106px;
}

#loading {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100vw;
    height: 100vh;
    background-color: rgb(255, 255, 255);
    background-image: url("../lib/img/loading.gif");
    background-repeat: no-repeat;
    background-position: center;
    /* mix-blend-mode: multiply; */
}

.center {
    margin: auto;
    width: 80%;
    border-radius: 5px;
    /* border: 3px solid green; */
    background-color: rgba(255, 255, 255, 0.966);
    padding: 10px;
    padding-top: 3%;
    padding-bottom: 3%;
}

.context {
    width: 100%;
    position: absolute;
    top: 0;
}

.context-index {
    width: 100%;
    position: absolute;
    top: 0%;
    margin: 0;
}

<<<<<<< HEAD
.area {
    background: #CFF5E7;
=======

/* .area {
    background: #4e54c8;
>>>>>>> remotes/origin/v1.6
    background: -webkit-linear-gradient(to left, #8f94fb, #4e54c8);
    min-height: 100%;
    min-width: 1024px;
    width: 100%;
    height: auto;
    position: fixed;
    top: 0;
    left: 0;
}

@media screen and (max-width: 1024px) {
    area {
        left: 50%;
        margin-left: -512px;
    }
}

.circles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circles li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    animation: animate 25s linear infinite;
    bottom: -150px;
}

.circles li:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}

.circles li:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9) {
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

@keyframes animate {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }
    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}  */


/* fedIn */

.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.fadeIn {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
}