html, body {
    margin: 0;
    scroll-behavior: smooth;
    background-attachment: fixed;
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'Kanit', serif;
    max-width: 100%;
    user-select: none;
}
::-webkit-scrollbar {
    display: none;
    -webkit-appearance: none;
  }
body {
    background-color: #173159;
    width: 100%;
    height: 100%;
}

.overlay {
    position: fixed;
    z-index: 100;
    width: 100%;
    height: 100%;
    background-color: #173159;
    visibility: hidden;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.overlay.show {
    visibility: visible;
}

.menu {
    position: fixed;
    top: 1vw;
    right: 1vw;
    display: flex;
    padding: 10px 20px;
    background-color: #0a182c;
    border-radius: 40px;
    transition: all 0.3s ease;
}

.menu button {
    background: none;
    border: none;
    color: rgb(152, 152, 152);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 10px;
    margin-right: 10px;
    text-wrap: nowrap;
    max-width: 100px;
    opacity: 1;
}

.menu button:hover {
    color: white;
}

.menu button:active {
    color: rgb(152, 152, 152);
}

.menu button.shrink {
    max-width: 0;
    opacity: 0;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
    visibility: hidden;
}

.show {
    opacity: 1;
}

.hidden {
    opacity: 0;
}

.slide1 {
    margin-left: -5%;
}

.non-slide1 {
    margin-left: 0%;
}

.slide2 {
    margin-right: -5%;
}

.non-slide2 {
    margin-right: 0%;
}

.slide3 {
    margin-top: -5%;
}

.non-slide3 {
    margin-top: 0%;
}

.slide4 {
    margin-bottom: -5%;
}

.non-slide4 {
    margin-bottom: 0%;
}

.sec {
    z-index: -1;
    position: relative;
    margin: 0;
    width: 100vw;
    height: 100vh;
    color: black;
}

.sec1, .sec2, .sec3, .sec4, .sec5 {
    color: white;
    text-shadow: 5px 5px 4px hsla(0, 0%, 0%, 0.452);
    overflow: hidden;
    margin-bottom: 5%;
}

.intro, .peem1, .about_me, .info, .peem2, .taiga1, .education, .peem3, .bcc, .bcc_text1, .bcc_text2, .skills, .abilities, .tools, .codes, .contacts, .contacts1, .contacts2 {
    transition: opacity 0.6s linear, margin 0.6s linear;
}

.intro {
    position: absolute;
    top: 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    left: 5%;
}

.intro p {
    margin: 0;
    padding: 0;
}

.heading {
    font-size: 6.5vw;
    font-weight: 600;
    line-height: 1.2;
    color: white;
    text-shadow: 5px 5px 4px hsla(0, 0%, 0%, 0.452);
}

.intro p:nth-child(2) {
    line-height: 1;
    font-size: 3.5vw;
}


.intro p:nth-child(3) {
    margin-top: 30px;
    font-size: 1.5vw;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 2px;
}

.peem1 {
    position: absolute;
    width: 40%;
    bottom: 40%;
    right: -7%;
    transform: translateY(50%);
}

.about_me {
    z-index: 3;
    position: absolute;
    top: 3%;
    margin-left: 7%;
}

.info {
    position: absolute;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    z-index: 3;
    margin-top: 12%;
    left: 7%;
    width: 40%;
    padding: 2%;
    background-color: rgba(3, 4, 51, 0.7);
    border-radius: 35px;
    font-size: 1.5vw;
}

.peem2 {
    position: absolute;
    height: 90%;
    width: auto;
    right: 35%;
    bottom: 0%;
    filter: drop-shadow(5px 5px 5px black);
}

.taiga1 {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    bottom: 40%;
    right: 0%;
    height: 30%;
    width: 30%;
    transform: translateY(-50%);
}

.taiga1 img {
    width: 100%;
    margin-top: 10%;
    filter: drop-shadow(5px 5px 5px black);
}

.taiga1 p {
    font-size: 3vw;
    margin:0;
    padding: 0;
    width: fit-content;
}

.education {
    position: absolute;
    padding: 0;
    margin-top: 5%;
    left: 5%;
}

.peem3 {
    position: absolute;
    width: auto;
    height: 75%;
    bottom: 0%;
    right: 65%;
    filter: drop-shadow(5px 5px 5px black);
}

.edu_wrapper {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
}

.edu_wrapper p, .edu_wrapper img {
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
}

.edu_wrapper img {
    width: 30%;
}

.edu_wrapper p:nth-child(2) {
    background: linear-gradient(to right, #DD69CA, #F2AD3D);
    text-shadow: none;
    filter: drop-shadow(5px 5px 5px black);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3vw;
    font-weight: 600;
}

.edu_wrapper p:nth-child(3) {
    margin-top: 3%;
    font-size: 1.5vw;
    text-align: center;
}

.edu_wrapper p:nth-child(4) {
    margin-top: 5%;
    font-size: 2.75vw;
    font-weight: 700;
}

.skills {
    position: absolute;
    top: 3%;
    left: 7%;
}

.skills_wrapper {
    display: flex;
    flex-direction: row;
    position: absolute;
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%);
    gap: 1%;
    width: 75%;
    justify-content: space-evenly;
}

.abilities, .tools, .codes {
    width: 30%;
    border-radius: 5%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: #081730;
}

.abilities p, .tools p, .codes p{
    text-align: center;
}

.abilities p:nth-child(1), .tools p:nth-child(1), .codes p:nth-child(1){
    font-size: 3.5vw;
    font-weight: 700;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
    color: black;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #A1D5CC;
}

.abilities p:nth-child(2), .tools p:nth-child(2), .codes p:nth-child(2){
    font-size: 1.5vw;
    font-weight: 300;
    line-height: 250%;
}

.contacts {
    position: absolute;
    top: -2%;
    left: 7%;
}

.contacts_wrapper {
    position: absolute;
    top: 55%;
    left: 55%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 60%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.contacts1, .contacts2 {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    width: 40%;
}

.icon_wrapper {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 10%;
    width: 100%;
}

.icon_wrapper p {
    display: flex;
    justify-content: flex-start;
    font-size: 1.3vw;
    font-weight: 300;
}

