@charset "utf-8";
body {
    font-family: 'Kanit', sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    max-width: 100%;
    position: relative;
}

.cv {
    background-color: #fff;
    margin: auto;
    max-width: 100%; 
    max-height: none;
    padding: 0;
    box-shadow: 0 0 0px rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    scroll-behavior: smooth;
    width: 100%; 
}

.header {
    text-align: center;
    background-color: #161C29;
    padding: 15px;
}

.header h1 {
    font-size: 32px;
    margin: 0;
    color: #fff;
}

.header p {
    font-size: 18px;
    color: #fff;
    margin-top: 10px;
}

.contact, .education, .experience, .skills {
    margin-top: 20px;
}

h2 {
    font-size: 24px;
    color: #333;
    border-bottom: 1px solid #000;
    padding-bottom: 15px;
    margin: 0;
}

ul {
    list-style: none;
    padding: 0;
}

li {
    margin-bottom: 10px;
}

strong {
    font-weight: bold;
    color: #333;
}

.left-side {
    width: 90%; 
    height: auto;
    background-color: #161C29;
    border: none;
    padding: 6%;
    color: #fff;
    display: flex;
}

.picture {
    width: 70%;
    float: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.white {
    color: #fff;
    border-bottom: 1px solid #fff;
}

.rightside {
    width: 90%;
    position: relative;
    top: 0;
    right: 0;
    padding: 6%;
    background-color: #fff;
    height: auto;
}

.slider {
    width: 80%;
    margin-top: 2px;
    height: 1px;
    background: #808080;
    border: 1px solid #7B7B7B;
    border-radius: 10%;
}

.text {
    margin: 0;
    background-color: #fff;
    padding-left: 6%;
    padding-bottom: 5%;
}

.profile h2 {
    font-size: 30px;
    color: #333;
    margin: 15px 5px 5px 5px;
    font-weight: 250;
    border: none;
    max-width: 90%;
    position: relative;
    display: flex;
}

.profile p {
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    border-top: none;
    margin: 0;
}

.picture {
    position: relative;
    max-width: 80%;
    max-height: 80%;
}
