



.header {
    background-color: #ffff;
    width: 100%;
    height: 100px;
    margin-top: auto;
}

.motto h1 {
    font-size: 60px;
    font-weight: 700;
    color: #b5b2b2;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.motto h2 {
    font-size: 28px;
    color: #b5b2b2;
    font-family: 'Josefin Sans', sans-serif;
    margin-top: 20px;
    text-align: right;
}

.mottodiv {
    text-align: center;
    position: absolute;
    margin-left: 19%;
    margin-top: 19%;
}

.header h1 {
    text-align: center;
    font-size: 32px;
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 500;
}

.header h2 {
    text-align: center;
    font-size: 18px;
    font-family: 'Kanit', sans-serif;
    font-weight: bolder;
    margin-top: -11px;
}

.header img {
    height: 100px;
    float: left;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.slowFade {
    display: flex;
    align-items: flex-start;
    background: #000;
    height: 100vh;
    overflow: hidden;
    position: relative;
    height: 503px;
    width: 100%;
}

.slowFade .slide img {
    width: 100%;
    height: 100%;
    filter: brightness(35%);
    position: absolute;
    object-fit: cover;
    /* min-width: 100%; */
    /* min-height: 100%; */
    background: #000;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    opacity: 0;
    transform: scale(1.5) rotate(15deg);
    -webkit-animation: slowFade 32s infinite;
    animation: slowFade 32s infinite;
}

.slowFade .slide:nth-child(3) img {
    -webkit-animation-delay: 8s;
    animation-delay: 8s;
}

.slowFade .slide:nth-child(2) img {
    -webkit-animation-delay: 16s;
    animation-delay: 16s;
}

.slowFade .slide:nth-child(1) img {
    -webkit-animation-delay: 24s;
    animation-delay: 24s;
}

@keyframes slowFade {
    25% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }

    40% {
        opacity: 0;
    }
}

@-webkit-keyframes slowFade {
    25% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }

    40% {
        opacity: 0;
    }
}




:root {
    --red: hsl(0, 78%, 62%);
    --black: hsl(0, 0%, 0%);
    --orange: hsl(34, 97%, 64%);
    --blue: hsl(212, 86%, 64%);
    --varyDarkBlue: hsl(234, 12%, 34%);
    --grayishBlue: hsl(229, 6%, 66%);
    --veryLightGray: hsl(0, 0%, 98%);
    --green: rgb(41, 120, 10);
    --cyan: hsl(180, 62%, 55%);
    --weight1: 200;
    --weight2: 400;
    --weight3: 600;
}

/* html,
body {
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
    background-color: var(--veryLightGray);
} */

body::-webkit-scrollbar {
    display: none;
}


.outer {
    margin-top: 2%;
    margin-bottom: 4%;
    justify-content: center;
    display: flex;
}

.inner {
    text-align: center;
    border-radius: 10px;
    width: 180px;
    height: 120px;
    box-shadow: 0px 30px 40px -20px var(--grayishBlue);
    /* box-shadow: 0px 20px 30px #072f28; */
}

.inner h2 {
    font-size: 18px;
    padding-top: 50px;
    color: var(--varyDarkBlue);
    /* margin-top: 2%; */
    /* font-family: 'Times New Roman', Times, serif; */
    /* color: rgb(0, 0, 0); */
    /* text-shadow: 3px 1px 1px rgb(255, 255, 255);
    filter: drop-shadow(5px 5px 5px #000); */
}

.row a {
    color: inherit;
    text-decoration: none;
}

/* .row a:hover {
    border-radius: 20px;
    background-color: rgb(0, 72, 84);
    color: white;
    box-shadow: 0px 20px 30px rgb(19, 12, 57);
} */

/* .row a:hover p {
    color: rgb(255, 255, 255);
    text-shadow: 3px 1px 1px rgb(0, 0, 0);
    filter: drop-shadow(5px 5px 5px rgb(255, 255, 255));
} */

footer {
    position: relative;
    bottom: 0px;
    text-align: center;
    width: 100%;
    padding: 2% 2% 2% 2%;
    font-size: 15px;
}

.sage {
    text-decoration: none;
    color: black;
}

.container {
    width: 100%;
    margin-top: 8%;
    margin-bottom: 0%;
}

@media screen and (max-width:800px) {
    .head {
        text-align: center;
        font-family: Arial, Helvetica, sans-serif;
    }

    .tit1 {
        font-size: 20px;
    }

    .tit2 {
        font-size: 12px;
    }

    .tit3 {
        font-size: 12px;
    }

    .head img {
        float: left;
        height: 80px;
    }

    .container {
        margin-bottom: 30%;
    }

    .box-down {
        position: static;
        top: 0px;
        margin-bottom: 15%;
    }

    .header h1 {
        font-size: 24px;
    }

    .header h2 {
        font-size: 14px;
    }

    .header img {
        height: 80px;
    }

    .slowFade {
        height: 384px;
    }

    .motto h1 {
        font-size: 39px;
    }

    .motto h2 {
        font-size: 18px;
    }

    .header {
        margin-top: 18px;
        height: 80px;
    }
}

@media (max-width: 950px) and (min-width: 450px) {
    .header h1 {
        font-size: 30px;
    }

    .header h2 {
        font-size: 16px;
    }

    .header img {
        height: 72px;
    }

    .slowFade {
        height: 410px;
    }

    .motto h1 {
        font-size: 46px;
    }

    .motto h2 {
        font-size: 20px;
    }

    .header {
        margin-top: 14px;
        height: 94px;
    }

    footer {
        font-size: 11px;
    }
}

@media (max-width: 450px) {
    .header h1 {
        font-size: 10px;
    }

    .header h2 {
        font-size: 8px;
    }

    .header img {
        height: 46px;
    }

    .slowFade {
        height: 248px;
    }

    .motto h1 {
        font-size: 22px;
    }

    .motto h2 {
        font-size: 10px;
    }

    .header {
        margin-top: 12px;
        height: 54px;
    }

    .mottodiv {
        margin-left: 12%;
        margin-top: 26%;
    }

    footer {
        font-size: 13px;
    }
}

/* @media (min-width: 950px)
{

} */

.cyan {
    border-top: 3px solid var(--cyan);
}

.red {
    border-top: 3px solid var(--red);
}

.blue {
    border-top: 3px solid var(--blue);
}

.orange {
    border-top: 3px solid var(--orange);
}

.green {
    border-top: 3px solid var(--green);
}

.black {
    border-top: 3px solid var(--black);
}

.outer a:hover .cyan {
    filter: drop-shadow(2px 2px 5px var(--cyan));
}

.outer a:hover .red {
    filter: drop-shadow(2px 2px 5px var(--red));
}

.outer a:hover .blue {
    filter: drop-shadow(2px 2px 5px var(--blue));
}

.outer a:hover .orange {
    filter: drop-shadow(2px 2px 5px var(--orange));
}

.outer a:hover .green {
    filter: drop-shadow(2px 2px 5px var(--green));
}

.outer a:hover .black {
    filter: drop-shadow(2px 2px 5px var(--black));
}

.box-down {
    position: relative;
    top: 50px;
}