@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100..900&display=swap');

:root {
    --full-size: 1920px;
    --full-minisize: 1200px;
    --fit-height: 1080px;
    --bg_santa_main: #b20000;
    --santa_main: #b20000;
    --santa_2main: #cf2e2e;
}

body {
    display: flex;
    max-width: 1920px;
    margin: 0px;
    font-family: "Noto Sans Thai", serif;
    background-color: rgb(255 255 255);
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    overflow-x: hidden;
    align-items: center;

}



#sec1 {
    width: var(--full-size);
    height: 670px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-image: url('/static/img/aboutus/bg-about.webp');
    background-size:cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-blend-mode: lighten;
    background-color: rgba(255, 255, 255, 0.92);
    }


.col1_sec1 {
    
    width: 40%;
    flex-direction: column;
    justify-content: center;
    
    
}

.col1_sec1 h1 {
    font-size: 38px;
    color:#000000;
    
}

.col1_sec1 h2 {
    font-size: 20px;
    margin-top: -30px;
    width: 90%;
    color: #b20000;
    font-weight: normal;
}

.col1_sec1 p {
    width: 90%;
}

.col1_sec1 span {
    color: var(--santa_main);
    font-weight: bold;
}



.col2_sec1 {
    
    display: flex;
    flex-direction: row;
    justify-content:end;
}

.col2_sec1 img {
    width: 378px;
    height: 536px;
}



#sec3 {
    width: var(--full-minisize);
    height: auto;
}

.row_sec3 {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 50px;
    
}

.col1_sec3 {
    width: 50%;
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
}



.col2_sec3 {
    width: 50%;
    height: auto;
}

.col2_sec3 h3 {
    font-size: 20px;
    color: #b20000;
    font-weight: bold;
}

.col2_sec3 span {
    font-weight: bold;
}

.col2_sec3 p {
    width: 90%;
}

#sec4 {
    width: var(--full-minisize);
    height: auto;
}

.row_sec4 {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    margin: 20px 0px 20px 0px;
}

.col1_sec4 {
    border-radius: 20px;
    background-color:#F8FCFF;
    padding: 30px 10px 10px 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    width: 50%;
    display: flex;
    flex-direction: column;
    margin: 0px 30px 0px 30px;
    
}

.col1_sec4 img {
    width: 70px;
    height: 70px;
    align-self: center;
    
}

.col1_sec4 h1 {
    font-size: 32px;
    color: var(--santa_main);
}

.col1_sec4 h2 {
    align-self: center;
    }

.col1_sec4 p {
    font-size: 18px;
    font-weight: bolder;
    width: 80%;
    align-self: center;
    text-align: center;
    color: #ffffff;
    background-color: #b20000;
    padding: 10px 10px 10px 10px;
    border-radius: 10px;
    margin-top: -20px;
}

.col1_sec4 a {
    text-decoration: none;
    font-weight: bold;
    color: #ffffff;
}

.col1_sec4_2 {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding-bottom: 15px;
}

.col1_sec4_2 img {
    width: 40px;
    height: 40px;
    margin: -10px 10px 0px 10px;
}


.col2_sec4 {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.col2_sec4 img {
    width: 100%;
}

#section8 {
    width: var(--full-minisize);
}

.sec9 {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    margin: 20px 0px;
}

.con_form {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    gap: 1rem;
}

.form-container {
    width: var(--full-minisize);
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-top: 8px solid var(--santa_2main);
}

.form-title {
    text-align: start;
    font-size: 22px;
    font-weight: bold;
    color: var(--santa_2main);
    margin-bottom: 15px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.form-grid {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.form-group {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 1rem;
}

.form-label {
    font-weight: bold;
    color: var(--santa_2main);
    margin-bottom: 5px;
    width: 30%;
}

.form-input,
.form-textarea {
    width: 80%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.form-textarea {
    resize: none;
    height: 80px;
}

.textarea-group {
    grid-column: span 2;
}

.form-button {
    width: 100%;
    background: var(--santa_2main);
    color: white;
    border: none;
    padding: 12px;
    font-size: 18px;
    font-family: "Noto Sans Thai", serif;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
}

.form-button:hover {
    background: #21ab9970;
}

.sec10 {
    
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0px;
    flex-direction: column;
}

.sec10 img {
    width: 60%;
    height: auto;
}

.sec10 p {
    font-size: 18px;
    text-align: center;
    width: 60%;
}

@media (min-width:1101px) and (max-width: 1919px) {
    #sec1 {
        width: 90%;
    }
}

@media (max-width:1100px) {
    #sec1 {
        width: 90%;
        height: auto;
        display: flex;
        flex-direction: column;
    }

    .col1_sec1 h1 {
        font-size: 24px;
        text-align: center;
    }

    .col1_sec1 h2 {
        font-size: 16px;
        margin-top: 10px;
        text-align: center;
    }

    .col1_sec1 p {
        font-size: 14px;
        width: 100%;
        text-align: center;
    }

    .col2_sec1 {
        width: 90%;
        margin-bottom: 20px;
        display: flex;
        
    }

    .col2_sec1 img {
        width: 100%;
        height: auto;
        margin: 0px 0px 0px 0px;    
        
        
    }

    .col1_sec1 {
        width: 90%;
        margin-top: 80px;
        
    }

    #sec2 {
        width: 100%;
    }

    .row_col1_sec2 {
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: center;
    }

    .col1_sec2 {
        width: 100%;
    }

    .col1_sec2 h1 {
        font-size: 24px;
        transform: rotateZ(0deg);
    }

    .col2_sec2 {
        width: 100%;
    }

    .col2_sec2 h1 {
        font-size: 24px;
    }

    .container_li_sec2 li {
        font-size: 16px;
    }

    .col2_sec2 p {
        font-size: 14px;
    }

    .col3_sec2 {
        width: 90%;
    }


    #sec3 {
        width: 100%;
    }

    .row_sec3 {
        width: 100%;
        flex-direction: column;
    }

    .col1_sec3 video {
        width: 100%;
        height: auto;
    }

    .col2_sec3 {
        width: 90%;
        height: auto;
    }

    .col2_sec3 p {
        width: 100%;
    }

    #sec4 {
        width: 90%;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .row_sec4 {
        width: 90%;
        flex-direction: column;
    }
    .col1_sec4 {
        border-radius: 20px;
        background-color:#F8FCFF;
        padding: 30px 20px 10px 20px;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
        width: 90%;
        display: flex;
        flex-direction: column;
        margin: 0px 15px 10px 15px;
        align-items: center;
        
        
    }
    .col1_sec4 h1 {
        font-size: 24px;
    }
    .col1_sec4 p {
        font-size: 14px;
        width: 100%;
    }
    .col2_sec4 {
        width: 100%;
    }
    .col2_sec4 img {
        width: 100%;
    }

    #section8 {
        width: 90%; 
        margin: 20px auto; 
    }
    .form-container {
        width: 100%; 
        padding: 15px; 
    }
    .form-title {
        font-size: 20px; 
        text-align: center; 
    }
    .con_form {
        flex-direction: column; 
        gap: 0; 
    }
    .form-grid {
        width: 100%; 
        gap: 10px; 
    }
    .form-group {
        flex-direction: column; 
        gap: 5px; 
        width: 100%;
    }
    .form-label {
        width: 100%; 
        margin-bottom: 0; 
        font-size: 14px;
        text-align: left; 
    }
    .form-input, .form-textarea {
        width: 100%; 
        box-sizing: border-box; 
        font-size: 15px;
    }
    .form-button {
        padding: 10px;
        font-size: 16px;
    }

    .sec10 {
        width: 90%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 20px 0px;
        flex-direction: column;
    }
    
    .sec10 img {
        width: 100%;
        height: auto;
    }

    .sec10 p {
        font-size: 14px;
        text-align: center;
        width: 90%;
    }

}