body {
    font-family: Kanit;
    margin: 0;
    padding: 0;
    background-color: rgb(211, 211, 211);
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.about-us {
    margin-left: 36%;
    margin-right: 11%;
}

.header {
    display: flex;
    background-color: rgba(2, 19, 98, 255);
    color: white;
    width: 100%;
    justify-content: center;
    align-items: center;
    height: 10vh;
    position: fixed; /* Fix the header at the top */
    top: 0; /* Ensure it is at the top */
    left: 0; /* Ensure it is aligned to the left */
}



.subpage-btn {
    display: inline-block;
    text-decoration: none;
    background-color: rgba(2, 19, 98, 255);
    color: rgba(248, 252, 255, 255);
    padding: 10px;
    border-radius: 20px;
    margin: 10px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
    border: 2px solid rgba(248, 252, 255, 255);
}

.subpage-btn:hover {
    background-color: rgba(248, 252, 255, 255);
    color: rgba(2, 19, 98, 255);
}




.container {
    display: flex;
    width: 100%;
    justify-content: space-between; /* Space out left and right sections */
    align-items: flex-start; /* Align items to the top */
    flex-direction: row;
    margin-top: 10vh; /* Add margin to account for the header height */
    padding: 0 2%; /* Add some padding to the sides */
}

.left{
    width: 40%;
}

.left{
    margin-top: 50px;
}

.who{
    padding-bottom: 50px;
}

.title {
    display: flex;
    justify-content: center;
    font-size: x-large;
}

.text {
    text-align: center;
    font-size: large;
}



.right{
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 60%;
    padding-top: 80px;
}

.katka{
    margin-right: 50px;
}

.katka, .juro {
    display: inline-block;
    text-align: center;
    border: 2px solid #ccc; 
    border-radius: 12px; 
    padding: 10px;  
    width: 370px; 
    height: 235px; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

.katka:hover, .juro:hover{
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}
  
.profile img {
    display: block;
    width: 85%; /* Adjusted width of the image */
    height: 400px; /* Maintain aspect ratio */
    border-radius: 20px;
    margin: 0 auto 15px; /* Center image and add spacing below */
    margin-top: 20px;
  }
  
.name {
    font-weight: bold;
    margin-top: 10px; /* Spacing between name and image */
  }
  




.contact{
    background-color: rgba(248,252,255,255);
    padding: 0px 15px;
    border-radius: 30px;
    border: 3px solid rgba(2,19,98,255);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    margin: 10px 45px 0 45px;
}

.contact-text{
    text-decoration: none;
    color: rgba(2,19,98,255);
}



.contact img{
    width: 25px;
    height: 25px;
    margin: 0px 5px;
}
  


@media (max-width: 600px) {
    body {
        font-size: small;
        padding: 0;
        margin: 0;
    }

    .header {
        justify-content: left;
        flex-direction: row;
        height: 10vh;
    }

    .about-us {
        margin: 0;
        padding: 0;
        padding-left: 5%;
        padding-right: 23%;
    }

    .subpage-btn {
        margin: 5px;
    }

    .container {
        flex-direction: column; /* Stack sections vertically on small screens */
        align-items: center;
        margin-top: 10vh; /* Ensure margin-top is maintained */
        padding: 0;
    }

    .left, .right {
        width: 100%; /* Make sections take full width on small screens */
        margin-bottom: 2vh;
    }
}