@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap');

* {
    box-sizing: border-box;
}

/* Style the body */
body {
    background-color: rgb(255, 255, 255);
    max-width: 100vw;
    margin: auto;
    font-family: 'Google Sans';
}

.container {
    width: 100%;
    height: auto;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* --------------------------------------------------------------------------------------- */

/* link back */
.container .link-back {
    width: 100%;
    margin-top: 5%;
    padding: 0 20%;
    display: flex;
    align-items: center;
    justify-content: left;
}

.container .link-back a {
    font-size: 14px;
    text-decoration: none;
    color: #0C4723;
    text-wrap: wrap;
}

.container .link-back p {
    font-size: 14px;
    text-decoration: none;
    color: #0C4723;
    text-wrap: wrap;
}

.container .link-back a:hover {
    font-size: 14px;
    text-decoration: underline;
    color: #0C4723;
}

/* ---------------------------------------------------------------------------------- */

/* intro */
.container .intro {
    width: 100%;
    height: fit-content;
    padding: 5% 20%;
}

.container .intro h1 {
    font-size: 30px;
}

/* ---------------------------------------------------------------------------------- */

/* section */
.container .sec1,
.container .sec2 {
    width: 100%;
    padding: 0px 20%;
}

/* section 1 google map */
.sec1 .choose {
    display: flex;
    justify-content: center;
}

.sec1 .choose .siriraj-btn a,
.sec1 .choose .SiVPRC-btn a {
    color: white;
    text-decoration: none;
}

.sec1 .choose .siriraj-btn button {
    font-family: inherit;
    font-size: 16px;

    padding: 10px;

    color: white;
    background: #0C4723;
    border: black;
    border-radius: 5px 5px 0px 0px;

    cursor: pointer;
}

.sec1 .choose .SiVPRC-btn button {
    font-family: inherit;
    font-size: 16px;

    padding: 10px;
    margin-left: 5px;

    color: white;
    background: hsla(143, 71%, 16%, 0.6);
    border: black;
    border-radius: 5px 5px 0px 0px;

    cursor: pointer;
}

.sec1 .choose .SiVPRC-btn button:hover {
    color: white;
    background: #0C4723;
}

.sec1 .map {
    display: flex;
    justify-content: center;
    align-items: center;
    /* border: 5px solid #0C4723; */
}

.sec1 .map iframe {
    box-shadow: 1px 1px 10px hsla(0, 0%, 0%, 0.5);
}

/* --------------------------------------------------------------------------------------------------- */

/* section 2 Siriraj Directory */
.sec2 {
    margin-top: 150px;
}

.sec2 .heading {
    display: flex;
    align-items: baseline;
}

.sec2 .heading h3 {
    width: fit-content;
    font-size: 20px;
    background: linear-gradient(90deg, rgba(93, 8, 8, 1) 0%, #ba1010 100%);
    color: white;
    padding: 15px 40px;
    border-radius: 5px 50px 5px 50px;
    box-shadow: 3px 1px 10px rgba(0, 0, 0, 0.5);

    z-index: 3;
}

.sec2 .heading h5 {
    width: fit-content;
    font-size: 20px;
    background: linear-gradient(180deg, #D80000 0%, #FF5A5A 100%);
    color: white;
    padding: 10px 70px;
    border-radius: 5px 50px 5px 50px;
    box-shadow: 3px 1px 10px rgba(0, 0, 0, 0.5);
    margin-left: -30px;

    z-index: 2;
}

.sec2 .Transportation {
    width: 100%;
}

.sec2 .Transportation h3 {
    font-size: 20px;
}

.sec2 .Transportation p {
    font-size: 16px;
    line-height: 30px;
}

/* ----------------------------------------------------------------------------------------- */

/* blank */
.container .blank {
    width: 100%;
    height: 500px;
}

/* ----------------------------------------------------------------------------------------- */

/* responsive */
@media screen and (max-width: 1320px) {

    /* intro */
    .container .intro {
        padding: 100px 15%;
    }

    /* link back */
    .container .link-back {
        padding-left: 15%;
    }

    /* section */
    .container .sec1,
    .container .sec2 {
        width: 100%;
        padding: 0px 15%;
    }

    .sec1 .choose .siriraj-btn button {
        font-size: 14px;
    }

    .sec1 .choose .SiVPRC-btn button {
        font-size: 14px;
    }
}

/* responsive phone */
@media screen and (max-width: 800px) {

    /* intro */
    .container .intro {
        padding: 100px 10%;
    }

    .container .intro h1 {
        font-size: 20px;
    }

    /* link back */
    .container .link-back {
        padding-left: 10%;
    }

    /* section */
    .container .sec1,
    .container .sec2 {
        width: 100%;
        padding: 0px 10%;
    }

    .sec2 .heading {
        display: flex;
        flex-direction: column;
    }

    .sec2 .heading h3 {
        width: fit-content;
        font-size: 16px;
        background: linear-gradient(90deg, rgba(93, 8, 8, 1) 0%, rgba(186, 16, 16, 1) 100%);
        color: white;
        padding: 10px 25px;
        border-radius: 5px 50px 5px 50px;
        box-shadow: 3px 1px 10px rgba(0, 0, 0, 0.5);

        z-index: 3;
    }

    .sec2 .heading h5 {
        width: fit-content;
        margin: 0;
        font-size: 14px;
        background: linear-gradient(180deg, #D80000 0%, #FF5A5A 100%);
        color: white;
        padding: 10px 70px;
        border-radius: 5px 50px 5px 50px;
        box-shadow: 3px 1px 10px rgba(0, 0, 0, 0.5);
        margin-left: -30px;

        z-index: 2;
    }
}