@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400&display=swap');

h1 {
    font-size: 50px;
}

h2 {
    font-size: 40px;
}

h3 {
    font-size: 30px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 15px;
}

p, .contact li, b, footer a, .phone a, address {
    font-size: 22px;
}

a.btn-header-call {
    font-size: 25px;
    white-space: nowrap;
}

.navbar-brand img {
    height: 90px;
}

.horoscope-home li.nav-item {
    flex: 1 1 auto;
    text-align: center;
}

.horoscope-home li > a.nav-link {
    background-color: white;
}

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

.text-overflow {
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.overflow-3 {
    -webkit-line-clamp: 3;
}

.main-bg {
    background-color: #EFEEEE;
}

.bg-chokdee {
    background-color: #338AFF;
}

.text-chokdee {
    color: #338AFF;
}

.bg-form {
    background-image: url("bg-form.svg");
    background-size: cover;
    border-radius: 25px;
}

.bottom-strip {
    background-color: #338AFF;
    background-image: 
        url('header-art.png'), 
        linear-gradient(to left,
        #D49B41 0%,
        #F7EFA4 50%,
        #D49B41 100%);
    background-size: auto 80%, 100% 12px;
    background-repeat: repeat-x, no-repeat;
    background-position: center, bottom;
    padding-bottom: 12px;
}

.btn-warning {
    background:
        linear-gradient(to right,
            #D49B41 0%,
            #F7EFA4 50%,
            #D49B41 100%) ;
}

.navbar-light .navbar-nav .nav-link {
    color: white;
}

.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show>.nav-link {
    color: white;
    border-bottom: solid white 4px;
}

.dropdown-item {
    color: white;
    white-space: nowrap;
}

.dropdown-item:hover {
    color: black;
}

section {
    padding: 50px 0px;
}

section.intro {
    background-image: url('filter.svg'), url('bg-home-new.jpg');
    background-size: cover, 100% auto;
    background-position: bottom center;
    background-color: white;
    background-repeat: no-repeat;
    height: 500px;
    min-height: auto;
}

section.intro h1 {
    font-size: 50px;
}

section.intro h2 {
    font-size: 40px;
}

section.intro .btn {
    width: 40%;
    margin: 15px;
    border-radius: 25px;
}

section.intro .btn-warning {
    background-color: #FCD605;
}

section.form {
    margin-top: -150px;
}

.services img {
    width: 100%;
    height: 100px;
    object-fit: contain;
    object-position: center;
    padding: 20px;
}

button.active {
    color: #338AFF;
    border-bottom: solid #338AFF 2px;
}

button.filter-button {
    border-radius: 0px;
}

section.youtube {
    background-color: #404041;
}

section.articles .card-img-top {
    height: 300px;
    width: 100%;
    object-fit: cover;
}

footer {
    background-color: #338AFF;
    background-image: 
        url('header-art.png'), 
        linear-gradient(to left,
        #D49B41 0%,
        #F7EFA4 50%,
        #D49B41 100%);
    background-size: auto 70%, 100% 12px;
    background-repeat: repeat-x, no-repeat;
    background-position: center, top;
    padding: 50px 0px;
}

footer a {
    color: #fff;
}

ul {
    list-style-image: url('images/list.svg');
    padding-left: 20px;
}

ul li::before {
    font-size: 1.25em;
}

.owl-carousel .owl-item img {
    height: 350px;
    object-fit: cover;
    padding: 18px;
    background-image: url('images/luis-frame.png');
    background-size: 100% 100%;
}

.header-columns {
    margin-bottom: 0;
}

.header-columns-1st {
    width: 500px;
}

.show-mobile-bottom {
    display: none;
}

.hidden-mobile-bottom {
    display: flex;
}

.social-icon-widget {
    border-radius: 50%;
    position: fixed;
    bottom: 50px;
    right: 30px;
    transition: ease 0.3s !important;
}

.social-icon-widget:hover {
    transform: scale(1.3);
}

.social-icon-widget#CTAWidgetToggle {
    z-index: 2020;
}

.social-icon-widget.widget-list {
    opacity: 0;
    z-index: 2010;
}

.social-icon-widget.widget-list.active {
    opacity: 1;
}

.social-icon-widget.widget-list.active.list-1 {
    bottom: 110px;
}

.social-icon-widget.widget-list.active.list-2 {
    bottom: 170px;
}

.social-icon-widget.widget-list.active.list-3 {
    bottom: 230px;
}

.social-icon-widget.widget-list.active.list-4 {
    bottom: 290px;
}

.social-icon-widget.widget-list.active.list-5 {
    bottom: 350px;
}

.social-icon-widget.widget-list.active.list-6 {
    bottom: 410px;
}

.social-icon-widget>img {
    padding: 10px;
    height: 50px;
    width: 50px;
    object-fit: contain;
    object-position: center;
}

.social-icon-widget.instagram {
    background: #f09433;
    background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f09433', endColorstr='#bc1888', GradientType=1);
}

@media screen and (max-width: 1500px) {
    a.btn-header-call {
        font-size: 12px;
        white-space: nowrap;
        padding: 5px 7px;
    }

    .header-columns p, .contact li, footer a, .phone a, p.new-text > b, address {
        font-size: 14px;
    }

    .navbar-light .navbar-nav .nav-link {
        color: white;
        font-size: 14px;
    }
}

@media screen and (max-width: 1340px) {
    a.btn-header-call {
        font-size: 8px;
        white-space: nowrap;
        padding: 5px 7px;
    }

    .header-columns p, .contact li, footer a, .phone a, p.new-text > b, address {
        font-size: 10px;
    }

    .navbar-light .navbar-nav .nav-link {
        color: white;
        font-size: 10px;
    }
}

@media screen and (max-width: 768px) {
    .navbar-brand img {
        height: 40px;
    }

    a.btn-header-call {
        font-size: 18px;
    }

    section.intro {
        background-image: url('filter.svg'), url('bg-home.jpg');
        background-size: auto 100%;
        background-position: bottom center;
        padding: 50px 0px;
    }

    section.form {
        margin-top: -50px;
    }

    section.intro {
        min-height: 800px;
    }

    section.intro .btn {
        width: 90%;
    }

    .header-columns {
        margin-bottom: 5px;
    }

    .header-columns-1st {
        margin: 0;
        width: auto;
    }

    .header-columns-1st > p {
        font-size: 16px;
    }

    .header-columns > a {
        font-size: 12px;
    }

    .show-mobile-bottom {
        display: flex;
    }
    
    .hidden-mobile-bottom {
        display: none;
    }

    .dropdown-item {
        white-space: normal;
    }

    .social-icon-widget {
        bottom: 20px;
        right: 20px;
    }

    .social-icon-widget.widget-list.active.list-1 {
        bottom: 80px;
    }
    
    .social-icon-widget.widget-list.active.list-2 {
        bottom: 140px;
    }
    
    .social-icon-widget.widget-list.active.list-3 {
        bottom: 200px;
    }
    
    .social-icon-widget.widget-list.active.list-4 {
        bottom: 260px;
    }
    
    .social-icon-widget.widget-list.active.list-5 {
        bottom: 320px;
    }
    
    .social-icon-widget.widget-list.active.list-6 {
        bottom: 380px;
    }
}