@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

    * { 
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: "Kanit", sans-serif;
    }
    body{
        background-color: rgb(18, 16, 24);
        color:white;
    }
    html {
        scroll-behavior: smooth;
    }
    .logo{
        width: 80px;
        border-radius: 15px;
        transition-duration: 0.2s;
    }
    .logo:hover{
        scale: 1.1;
        transform: rotate(-180deg);
        
    }
    .container{
        padding-top: 30px;
        padding-left: 40%;
        padding-right: 5%;
    }
    nav{
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        background-color: #ffffff;
        border-radius: 50px;
        box-shadow: 0px 0px 15px rgba(0,0,0,1)
        
    }
    nav ul li{
        display: inline-block;
        list-style: none;
        margin: 10px 20px;
        transition-duration: 0.3s;
    }
    nav ul li:hover{
        scale: 1.05;
    }
    nav ul li a{
        color: #000000;
        text-decoration: none;
        font-size: 25px;
        font-weight: 500;
        position: relative;
        margin-right:30px;

    }
    nav ul li a::after{
        content: '';
        width: 0;
        height: 3px;
        background: #ff94bb;
        position: absolute;
        left: 0;
        bottom: -6px;
        transition: 0.5s
    }
    nav ul li a:hover::after{
        width:100%;
    }
    .header-text{
        margin-top: 10%;
        margin-right: 5%;
        font-size: 50px;
        text-align: right;
        text-shadow: 2px 2px 20px #000000;
        font-family: "Kanit", sans-serif;
        font-weight: 500;
        font-style: normal;
    }
    .header-text span{
        color: #ff94bb;
        text-shadow: 3px 3px #fff;
        line-height: 50px;
    }
    .header-top {
        line-height: 100px;
    }
    .header-top p {
        font-size: 90px;
    }
    .header-top span{
        font-size: 90px;
    }
    .youtube-button{
        font-family: "Candara", "Calibri", "Segoe", "Segoe UI", "Optima", "Arial", "sans-serif";
        height: 60px;
        width: 240px;
        background-color: rgba(255, 148, 187, 1);
        color: rgba(255, 255, 255,1);
        border: none;
        font-size: 30px;
        font-weight: bold;
        border-radius: 35px;
        box-shadow: 1px 1px 10px #000000;
        float:right;
        margin-top:15px;  
        transition: background-color 0.2s;
        transition: margin-top ease 0.2s;
    }
    .youtube-button:hover{
        background-color: rgba(255, 148, 187,0.7);
        margin-top: 10px;
    }
    .youtube-button:active{
        background-color: rgba(255, 148, 187,1);

    }
    #header{
        width :100%;
        height: 100vh;
        background-image: url(images/325_20230904014122.png);
        background-size: cover;
        background-position: center;
        

    }
/*---------------ABOUT ME STYLES------------------*/
#about{
    padding: 20px 5%;
    color: #fff;
    font-weight: 400;
    font-style: normal;
    background-image: url(images/anime\ lounge\ 5-standard-scale-4_00x.png);
    background-size: cover;
    background-position: center;
}
.container-about {
    padding: 70px 10%;
    display: block;
    max-width: 95%;
    margin-top : 10vh;
    margin-bottom: 10vh;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.244);
    margin-left:auto;
    margin-right:auto;
    
}
.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.about-col-1{
    flex-basis: 35%;
    
}
.about-col-1 img {
    width: 100%;
    border-radius: 15px;
    transition-duration: 0.3s;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
    

    
}
.about-col-1 img:hover{
    scale: 1.03;
    transition: all;
    transform: rotate(2deg);
    transition-duration: 0.3s;
}
.about-col-2 {
    flex-basis: 60%;
}
.sub-title {
    font-size:60px;
    font-weight:500;
    color:#fff;
    text-shadow: 1px 1px 5px #000000e7;

}
.description{
    font-size: 18px;
    font-weight:300;
    text-shadow: 1px 1px 10px #000000a9;
}

.tab-titles {
    display: flex;
    margin: 20px 0px 40px;
    text-shadow: 1px 1px 6px #000000a9;
}

.tab-links {
    margin-right: 50px;
    font-size: 24px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-links::after {
    content: '';
    width: 0;
    height: 3px;
    background: #ff94bb;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
    
}

.tab-links.active-link::after {
    width: 100%;

}

.tab-contents ul li {
    list-style: none;
    margin: 10px 0;
}

.tab-contents ul li span {
    color: #ff94bb;
    font-size: 18px;
    font-weight:200;
    text-shadow: 1px 1px 2px #000000a9;
    
}
.tab-contents{
    display:none;
    font-weight: 200;
}
.tab-contents.active-tab{
    display: block;
}
/*---------------ABOUT ME STYLES------------------*/
/*---------------PROJECT STYLES------------------*/
#project{
    padding: 25px 0;
}
.container-project{
    padding: 10px 10%;

}
.projects-list{
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.project{
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition-duration: 0.3s;
}
.project img{
    width: 100%;
    border-radius: 10px;
    display: block;
    
}
.project:hover{
    scale: 1.03;
    transition: all;
    transform: rotate(-2deg);
    transition-duration: 0.3s;
}

.layer{
    width: 100%;
    height: 0%;
    background: linear-gradient(rgba(0, 0, 0, 0.23), #000000a3);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items:center;
    justify-content: end;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 20px;
    padding-bottom: 0px;
    transition-duration: 0.6s;header-text
}
.project:hover .layer{
    padding-bottom: 30px;
    height: 100%;
    transition-duration: 0.6s;
}
.layer h3{
    font-weight: 500;
    margin-bottom:0px;
}
.layer a{
    margin-top: 8px;
    color: #ff94bb;
    text-decoration: none;
    font-size: 25px;
    line-height:45px;
    background: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-align: center;
}

.btn {
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #ff004f;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
}
.btn:hover {
    background: #ff004f;
}
/*---------------PORTFOLIO STYLES------------------*/

.hidden {
    display: none;
}
.hidden-active {
    width: 100%;
}
.hidden_mobile {
    display: none;
}
/*---------------css for small screens--------------------------------*/

/* 
@media screen and (min-width: 1024px) {
    
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    
}

@media screen and (max-width: 767px) {
    .container {
        width: 980px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 20px;
        margin-left: calc(100% - 615px);
    }
    nav {
        padding: 5px;
    }
    .logo {
        display: none;
    }
    .header-text{
        margin-top: 10%;
        margin-right: 5%;
        font-size: 22px;
        text-align: right;
        text-shadow: 2px 2px 20px #000000;
        font-family: "Kanit", sans-serif;
        font-weight: 500;
        font-style: normal;
    }
    .header-text span{
        color: #ff94bb;
        text-shadow: 3px 3px #fff;
        line-height: 50px;
    }
    .header-top {
        line-height: 100px;
    }
    .header-top p {
        font-size: 90px;
    }
    .header-top span{
        font-size: 90px;
    }
} */

@media only screen and (max-width: 1150px) {
    .all_container {
        display: none;
    }
    .hidden_mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        color: red;
        font-size: 200px;
    }
}