@import url('https://fonts.googleapis.com/css2?family=Sarabun:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

* {
    font-family: 'Sarabun', sans-serif;
}

.copyright {
    color: white;
}

.dropdown-menu {
    left: auto !important;
    right: 0;
}

.home-slide .carousel-caption {
    top: 15%;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 25px 40px;
    bottom: auto !important;
}

.bg-main {
    background-color: #0c2a80;
    color: white;
}

.bg-about {
    background-image: url('./images/about.jpg');
    background-size: cover;
    background-position: center;
}

.text-main-header {
    background-color: #0c2a80;
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
}

.text-main-header-invert {
    background-color: white;
    color: #0c2a80;
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
}

.text-main {
    color: #0c2a80;
}

section {
    padding-top: 50px;
    padding-bottom: 50px;
}

.home-products .card img {
    height: 350px;
    width: 100%;
    object-fit: cover;
}

a.navbar-brand > img {
    height: 50px;
}

section.home-slide div.carousel-item > img {
    height: 90vh;
    object-fit: cover;
}

.portfolio-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.client-logo {
    height: 100px;
}

@media only screen and (max-width: 768px) {
    a.navbar-brand > img {
        height: 50px;
        padding: 0;
    }

    section.home-slide div.carousel-caption {
        padding: 10px;
    }

    section.home-slide div.carousel-item h1 {
        font-size: 15px;
    }

    section.home-slide div.carousel-item h3 {
        font-size: 14px;
    }

    section.home-slide div.carousel-item h4 {
        font-size: 12px;
    }

    section.home-slide div.carousel-item h5 {
        font-size: 10px;
    }
}