*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
.main{
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.main video{
    position: absolute;
    z-index: -1;
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.overlay{
    width: 100%;
    height: 100vh;
    background-color: rgb(15, 18, 22);
    opacity: 0.8;
    position: absolute;
    z-index: -1;
}
.logo{
    position: absolute;
}
.logo img{
    height: 200px;
    width: 200px;
    opacity: 0.4;
}
.text .h-text{
    margin-top: 10px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 50px;
    transition: .5s ease-in-out;
}
.text .p-text{
    color: #ffffff;
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    letter-spacing: 5px;
    padding-left: 190px;
}
.social{
    position: absolute;
    display: flex;
    height: 100vh;
    width: 80px;
    right: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.social img{
    padding: 8px;
    transform: scale(1);
    transition: .2s ease-in-out;
    opacity: 0.7;
}
.social img:hover{
    transform: scale(1.2);
    opacity: 1;
}
.about{
    position: absolute;
    display: flex;
    height: 100vh;
    width: 80px;
    left: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.about p{
    font-size: 15px;
    font-family: 'Kanit', sans-serif;
    font-weight: 200;
    transform: rotate(-90deg);
    color: #ffffff;
    cursor: pointer;
    letter-spacing: 1px;
    opacity: 0.6;
    transition: .3s ease-in-out;
}
.about  p:hover{
    opacity: 0.9;
}
.about-page{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: .5s ease-in;
    transform: translateY(-50%);
}
.about-text{
    display: flex;
    padding: 150px 300px 0 150px;
    align-items: center;
    transition: .5s ease-in;
}
.about-text p{
    color: #ffffff;
    font-size: 30px;
    font-family: 'Kanit', sans-serif;
}
.about-page.active{
    opacity: 1;
}
.arrow{
    position: absolute;
    height: 20px;
    width: 55px;
    bottom: 60px;
    transform: rotate(-90deg);
    cursor: pointer;
    opacity: 0.5;
    transition: .4s ease-in-out;
    z-index: 2;
}
.arrow:hover{
    opacity: 0.7;
}
.arrow-icon{
    height: 1px;
    width: 50px;
    position: relative;
    top: 9px;
    background-color: #ffffff;
}
.arrow-icon::after{
    content: '';
    display: inline-block;
    height: 1px;
    width: 10px;
    background-color: #ffffff;
    transform: rotate(45deg);
    position: absolute;
    top: 3.5px;
    left: -1.1px;
}
.arrow-icon::before{
    content: '';
    display: inline-block;
    height: 1px;
    width: 10px;
    background-color: #ffffff;
    transform: rotate(-45deg);
    position: absolute;
    bottom: 3.5px;
    left: -1.1px;
}
/* HTML AND CSS SECTION */
.second-main{
    height: auto;
    width: 100%;
    display: none;
}
.html-css-container{
    position: relative;
    height: 100vh;
    width: 100%;
    background-color: #14161A;
}
.home-text{
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.5;
    cursor: pointer;
    transition: .4s ease-in-out;
    z-index: 1;
}
.home-text h3{
    color: #ffffff;
    font-size: 20px;
    font-family: 'Kanit', sans-serif;
    font-weight: 200;
}
.home-text:hover{
    opacity: 1;
}
.html-css-img{
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #ffffff;
    transform: translate(-50%, -50%);
    height: 400px;
    width: 750px;
}
.html-css-img img{
    object-fit: cover;
    height: 400px;
    width: 750px;
}
.html-text{
    position: absolute;
    top: 50%;
    left: 30%;
    transform: translate(-180%, -50%);
}
.html-text h4{
    color: #ffffff;
    font-size: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 5px;
}
.html-text p{
    color: #ffffff;
    font-size: 20px;
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
    letter-spacing: 5px;
}