body {
    background-color: #F3F8FF;
}

nav, main, footer, header, p {
    font-family: 'Kanit', sans-serif;
}

.header-background {
    background-color: #ffffff;
}

.nav-background, .button, footer {
    background-color: #424769;
}

.navy {
    color:#424769;
}

.text-logo {
    font-size: 22px;
}

.logo-em {
    font-size: 20px;
    display: flex;
    flex-wrap: wrap;
}

.nav-link {
    font-size: 18px;
}

#myVideo {
    width:100%;
}

.card-about {
    width:80%;
}

.card-title {
    color:#B31312;
    font-family: 'Kanit', sans-serif;
}

.red {
    color:#B31312;
    font-size:18px;
}

.about-container, .images-container {
    background-color: #EEF2FF;
    padding:20px;
}

h4 {
    display: flex;
    justify-content: center;
    font-size: 25px;
    font-family: 'Kanit', sans-serif;
    color:#132043;
    text-decoration: underline;
    text-transform: uppercase;
}

.services {
    width:80%;
    margin-left: 100px; 
}

.gallery {
    margin: 5px;
    float: left;
    width: 300px;
    transition: width 1s;
  }

  .gallery:hover {
    width: 500px;
  }

.gallery img {
    width: 100%;
    height: auto;
  }

.wrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.text-decor {
    text-decoration: none;
}

@media all and (max-width:1100px) {
    .services {
        width:95%;
        margin-left: 20px; 
    }
}

@media all and (max-width:800px) {
    .services {
        width:80%;
        margin-left: 70px; 
    } 

    .logo {
        width:110px;
    }

    .text-logo {
        font-size: 20px;
    }

    .logo-em {
       font-size: 12px;
    }



}

@media all and (max-width:500px) {
    .logo {
        width:70px;
    }

    .text-logo, h3, .icon-link {
        font-size: 15px;
    }

    .logo-em {
       font-size: 9px;
    }
    .red {
        font-size: 13px;
    }

    .services {
        width:90%;
        margin-left: 10px; 
    }

    svg {
        width: 22px;
        height: 22px;
    }

    .card-about {
        width:95%;
    }
     
    .certificate {
        width:80px;
    }

    .text-white {
        font-size: 12px;
    }

    .bi-c-circle {
        width: 13px;
        height: 13px;
    }
}

@media all and (max-width:280px) {
    .logo {
        width:40px;
    }

    .text-logo, .red, .text-white {
        font-size: 10px;
    }

    .logo-em {
        font-size: 6px;
     }


    svg {
        width:13px;
    }

    .bi-c-circle {
        width: 10px;
        height: 10px;
    }


}








