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

body {
    font-family: 'Kanit', sans-serif !important;
    background-color: black !important;
    background-position: top;
    background-repeat: no-repeat;
    background-size: 100%;
    background-image: url('../img/autoclub/bg.png');
}

.NavCustom1 {
    background-color: transparent;
    text-align: center;
    color: #fff;
    font-weight: 300;
    height: 60px;
    justify-content: center;
    align-items: center;
    padding-top: 2px;
}

.customNav2 {
    justify-content: end;
}

.nav-item {
    margin-right: 20px;
}

.nav-logo {
    width: 10%;
    margin-right: 20px;
}

.img-content {
    width: 100%;
}

.navbar {
    margin-top: 20px;
}

.nav-link {
    color: #fff !important;
    font-size: 20px !important;
    transition: .3s !important;
}

.nav-link:hover {
    transform: scale(.9);
}

.content1 {
    display: flex;
    align-items: end;
    text-align: center;
    justify-content: center;
    align-items: center;
}

.content1 {
    text-align: center;
    justify-content: center;
    align-items: center;
}

.img-content1 {
    height: 90%;
}

.img-content2 {
    height: 80%;
    margin-left: -50px;
}

.textcontent {
    margin-top: 100px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text-content1 {
    font-size: 90px;
    color: #a8a8a8;
    display: flex;
    flex-direction: column;
    text-align: end;
}

.text-content2 {
    font-size: 40px;
    color: #fff;
    margin-top: -30px;
    margin-bottom: 30px;

}

.text-content3 {
    font-size: 25px;
    color: #fff;
    align-self: end;
}


.tab {
    width: 100%;
    height: 3px;
    background-color: #1E1E1E;
}

.why {
    display: flex;
    justify-content: space-around;
    padding: 20px;
}

.whygroup {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    color: #fff;
}

.whygroup img {
    width: 40%;
}

.whyall {
    text-align: center;
    align-items: center;
    justify-content: center;
}

.tabstart {
    margin-top: 200px;
}

.slidedownon {
    transform: translateY(200px);
    transition: .3s;
}

.slidedownoff {
    transform: translateY(0);
    transition: .3s;
}

.ourgallerytext1 {
    font-size: 30px;
    color: #757575;
    margin-top: 30px;
}

.ourgallerytext2 {
    font-size: 30px;
    color: #fff;
}

.ourgallery {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.content1bg {
    background-image: url('../img/autoclub/1.png');
    background-position: top;
    background-size: 100%;
    background-repeat: no-repeat;
}

.footeraboutus {
    display: flex;
    flex-direction: column;
    color: #fff;
}

.underfooter {
    text-align: end;
    color: #616161;
    margin-bottom: 50px;
}

.dbdlogo {
    text-align: end;
}

.txtmobile {
    display: none;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.brands {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.contact-headertext1 {
    color: #fff;
    font-size: 80px;
    align-self: center;
    text-align: center;
}

.contact-headertext2 {
    color: #fff;
    font-size: 20px;
    align-self: center;
    text-align: center;
}

.contact-headertext3 {
    color: #fff;
    font-size: 20px;
    align-self: center;
    text-align: center;
}

.contact-inputgroup {
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    text-align: center; 
    align-items: center;
}

.contact-inputgroup input {
    width: 95%;
    height: 60px;
    border: 0;
    border-radius: 10px;
    background-color: #2e2e2e;
    outline: 0;
    color: #616161;
    font-size: 20px;
    margin: 20px;
}

.contact-inputgroup2 input {
    width: 95%;
    height: 250px;
    border: 0;
    border-radius: 10px;
    background-color: #2e2e2e;
    outline: 0;
    color: #616161;
    font-size: 20px;
    margin-top: 18px;
}

.contact-submit {
    border: 0;
    outline: 0;
    background-color: #616161;
    border-radius: 20px;
    color: #1d1d1d;
    height: 60px;
    width: 60%;
    margin-top: 50px;
}

.contactbg {
    background-color: #2e2e2e;
    border: 0;
    border-radius: 25px;
    color: #fff !important;
    padding: 30px;
    font-size: 20px;
    width: 100%;
}

.linesticky {
    width: 5%; 
    margin-bottom: 50px; 
    margin-right: 50px;
    transition: .3s;
    cursor: pointer;
}

.fbsticky {
    width: 5.7%; 
    margin-bottom: 45px; 
    margin-right: 20px;
    transition: .3s;
    cursor: pointer;
}

.fbsticky:hover {
    transform: scale(1.1);
}

.linesticky:hover {
    transform: scale(1.1);
}

.goback {
    padding: 10px;
    width: 100%;
    border: 0;
    border-radius: 50px;
    background-color: #a8a8a8 !important;
    color: #353535;
    font-size: 20px;
    transition: .3s;
}

.goback:hover {
    background-color: #818181 !important;
}

.contentmbb1 {
    margin-top: 1000px;
}

@media screen and (min-width: 1950px) {
    .contentmbb1 {
        margin-top: 1200px !important;
    }
}

@media screen and (min-width: 2240px) {
    .contentmbb1 {
        margin-top: 1400px !important;
    }
}

@media screen and (min-width: 2600px) {
    .contentmbb1 {
        margin-top: 1600px !important;
    }
}

@media screen and (max-width: 1600px) {
    .tabstart {
        margin-top: 0px;
    }
    body {
        background-size: cover;
    }
    .content1bg {
        background-image: url('');
    }
    .textcontent2 {
        color: #fff !important; 
        text-align: center; 
        display: flex; 
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .contentmbb1 {
        margin-top: 800px !important;
    }
}

@media screen and (max-width: 1360px) {
    .contentmbb1 {
        margin-top: 700px !important;
    }
}

@media screen and (max-width: 1200px) {
    .contentmbb1 {
        margin-top: 600px !important;
    }
}

@media screen and (max-width: 1000px) {
    .nav-logo {
        width: 20%;
    }

    .navbar-toggler {
        /* right: 0; */
    }

    .textcontent {
        margin-top: 50px;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .text-content1 {
        margin-top: 30px;
        text-align: center;
        font-size: 60px;
    }
    
    .text-content2 {
        text-align: center;
        margin-left: 0px;
    }

    .linesticky {
        width: 10%; 
        margin-bottom: 50px; 
        margin-right: 50px;
        transition: .3s;
        cursor: pointer;
    }
    
    .fbsticky {
        width: 10.7%; 
        margin-bottom: 50px; 
        margin-right: 20px;
        transition: .3s;
        cursor: pointer;
    }

    .ytsticky {
        width: 5%; 
        margin-bottom: 50px; 
        margin-right: 20px;
        transition: .3s;
        cursor: pointer;
    }

    .contentmbb1 {
        margin-top: 500px !important;
        text-align: center;
        margin-left: 0px;
    }
}

@media screen and (max-width: 700px) {
    .contentmbb1 {
        margin-top: 300px !important;
    }
}

@media screen and (max-width: 400px) {
    .contentmbb1 {
        margin-top: 200px !important;
    }
}