:root {
    --h: #8966a7;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);
}
html {
    scroll-behavior: smooth;
    
}



* {
    
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    line-height: 1.8;
}
p, a, li, input {
    font-family: 'Bai Jamjuree', sans-serif;
    color: #626262;
    font-weight: 300;
}
h1, h2, h3, button {
    font-family: 'Kanit', sans-serif;
    color: var(--h);
}
h1 {
    font-size: 30px;
    font-weight: bold;
}
h2 {
    font-size: 25px;
    font-weight: 500;
}
h3 {
    font-size: 20px;
    font-weight: 400;
}
img {
    width: 100%;
}
section {
    padding: 20px 0px;
}
.container {
    max-width: 1170px;
    margin: auto;
    padding: 10px 15px;
}
.slide {
    max-width: 500px;
    margin: auto;
    text-align: center;
    padding: 40px 10px;
}
.slide-1 {
    width: 80%;
    animation: slideUp 1.5s ease-in-out;
}
.slide-2 {
    animation: slideUp2 0.5s 0.5s forwards ease-in-out;
    transform: translateY(50px);
    opacity: 0;
    padding: 15px 0px;
    max-width: 80%;
}
.slide-4, .slide-3 {
    animation: show 0.5s 1s forwards ease-in-out;
    opacity: 0;
}
.coll {
    display: flex; 
    align-items: center; 
}

/* section.Main {
 
    background-image: url('https://www.ccfthai.or.th/microsite/DBD/FY25/img/DBD-BG-1.jpg'); 

    background-repeat: no-repeat; 
    background-size: cover; 
    width: 100%;
    height: auto;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
  } */

@media (max-width: 650px) {
    .coll {
        display: flex; 
        flex-direction: column;
    }
}
@keyframes slideUp {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    30% {
        transform: translateY(-30px);
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes slideUp2 {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes show {
    from {
        opacity: 0;
        transform: scale(1.2)
    }
    to {
        opacity: 1;
        transform: scale(1)
    }
}