body {
    font-family: Kanit;
    margin: 0;
    padding: 0;
    background-color: rgb(211, 211, 211);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.container {
    display: flex;
    width: 90%;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 10px;
}

.guide {
    display: flex;
    margin-left: 38%;
    margin-right: 13%;
}

.header {
    display: flex;
    background-color: rgba(2, 19, 98, 255);
    float: inline-start;
    color: white;
    width: 100%;
    justify-content: center;
    align-items: center;
    height: 10vh;
}

.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);
}

.image {
    width: 100%;
    height: 70%; 
    border: 1px solid rgba(255, 255, 255, 0.845); 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}

.image img {
    width: 100%;
    height: 100%; 
    object-fit: cover; 
}

.text {
    display: flex;
    height: auto;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding-bottom: 35px;
    margin-top: auto; 
}

.steps {
    display: flex;
    width: 40%; 
    height: 50vh; 
    background-color: white;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 10px;
    margin: 3vh 2vh;
    padding: 1vh 1vw;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.steps:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

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

    .steps {
        width: 80%; 
        height: auto;
        margin: 3% 5%;
    }

    .text {
        padding: 0 5%;
    }

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

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

    .subpage-btn {
        margin: 5px;
    }
}
