@font-face {
	font-family: peb;
	src: url("font/Lovelo\ Black.otf") format("truetype");
}
@font-face {
	font-family: rhr;
	src: url("font/georgia.ttf") format("truetype");
}
@font-face {
	font-family: rhsb;
	src: url("font/RedHatDisplay-SemiBold.ttf") format("truetype");
}
@font-face {
	font-family: rhb;
	src: url("font/RedHatDisplay-Bold.ttf") format("truetype");
}
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #D9D9D9;
}

::-webkit-scrollbar-thumb {
    background: #3A469D;
}

::-webkit-scrollbar-thumb:hover {
    background: #3a469d83;
}
html, body{
    overflow-x: hidden;
    background-color: #EBECF5;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}
#head{
    background-color: white;
    padding-top: 1.2%;
    padding-bottom: .2%;
}
#mail, #phone{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
#mail p,#mail a,#phone p,#phone a{
    text-decoration: none;
    color: #3A469D;
    font-family: rhr;
}
#mail a:hover,#phone a:hover{
    text-decoration: underline;
}
.navbar {
    background-color: #3a469d;
}
.navbar-nav{
    margin-left: auto;
}
#navbarNav img{
    margin: auto;
    padding: auto;
    width: auto;
    height: 30px;
}
#brandlogoo{
    width: auto;
    height: 120px;
    animation: reduce 1s 3s ease-in-out forwards;
}
@keyframes reduce {
    to {
        height: 90px;
    }
}

#atag,#atag-about{
    color: white;
    transition: .4s;
    font-size: 1.2vw;
    border-radius: 25px;
    font-family: peb;
    padding-top: 2%;
    padding-bottom: 1%;
}
#atag:hover,#atag-about{
    background-color: white;
    color: #3A469D;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.slide-in-top {
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
    will-change: opacity, transform;
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-100%);
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
    will-change: opacity, transform;
}
.slide-in-right {
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
    will-change: opacity, transform;
}
.slide-in-bottom {
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
    will-change: opacity, transform;
}


.slide-in-animation {
    opacity: 1;
    transform: translateX(0) translateY(0);
}
#home{
    background-image: url(bg/bg3.jpeg);
	background-position: center;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 40vw;
    text-align: left;
    padding-left: 5%;
    padding-right: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#home h1{
    font-size: 3vw;
    color: white;
    font-family: peb;
}

#home1{
    padding: 5% 10% 5% 10%;  
    background-color: white;
    background-image: url(bg/bg6.png);
	background-position: center;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;  
}
#h1-tx{
    display: flex;
    align-items: center;
    justify-content: center;
}
#h1-tx h1{
    font-family: peb;
    font-size: 2.5vw;
    font-weight: 700;
    color: #3A469D;
    text-align: left;
}
#h1-box{
    padding: 8% 5% 8% 5%;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#h1-box p{
    font-family: rhr;
    font-weight: 590;
    font-style: italic;
    color: #3A469D;
    font-size: 1.5vw;
    text-align: left;
}


#home2{
    padding: 5%;
    background-color: white;
    background-image: url(bg/bg6.png);
	background-position: center;
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;  
}
#home2 h1{
    font-family: peb;
    text-align: center;
    color: #3A469D;
    font-size: 2.5vw;
}
#home2 p{
    font-family: rhsb;
    text-align: center;
    color: #9AA1CD;
    font-size: 1vw;
}

#images {
    margin-top: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.slide{
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 20px;
}
#icc {
    display: grid;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    padding: 2% 2% 2% 2%;
    width: 100%;
    height: 420px;
    margin: 0 5% 0 5%;
    row-gap: 2px;
    border-radius: 20px;
}
#icc h3{
    font-family: peb;
    color: #3A469D;
    font-size: 1.2vw;
}
#icc p{
    font-family: rhr; 
    color: #3A469D;
    font-size: 1vw;
    padding: 0 5% 0 5%;
}
#icc img{
    margin: auto;
}
#tests{
    display: flex;
    align-items: center;
    justify-content: center;
}
#tests2{
    display: none;
    align-items: center;
    justify-content: center;
}
#check a{
    width: fit-content;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 10px solid #3A469D;
    border-radius: 15px;
}
.slider-container {
    width: fit-content;
    height: fit-content;
    position: relative;
}

.slider-content {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider-slide {
    flex: 0 0 100%;
    width: 150%;
    height: 100%;
    padding-top: 2%;
    padding-bottom: 2%;
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.slider-dot {
    width: 15px;
    height: 15px;
    background-color: #A0A5Cd;
    border-radius: 50%;
    margin: 0 10px;
    cursor: pointer;
}

.slider-dot.active {
    background-color: #3A469D;
}

#home5{
    background-color: #3A469D;
    min-height: 60vw;
    padding-top: 5%;
    padding-bottom: 5%;
}
#home5 h1{
    font-family: peb;
    color: white;
    text-align: center;
    font-size: 2.5vw;
}
#home5 h3{
    font-family: peb;
    color: white;
    text-align: center;
    font-size: 1.8vw;
}
#info-o{
    background-color: #e7e7e7;
    padding: 1%;
    border-radius: 15px;
}
#info{
    display: grid;
    align-items: center;
    justify-content: left;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    padding-top: 4%;
    padding-bottom: 5%;
    padding-left: 4%;
    height: 100%;
    border-radius: 15px;
}
#info p{
    font-family: peb;
    font-size: 1.3vw;
    color: #3A469D;
}
#info a{
    font-family: peb;
    text-decoration: none;
    color: #3A469D;
    transition: .4s;
}
#info a:hover{
    text-decoration: underline;
}
.links{
    display: flex;
    justify-content: end;
    align-items: center;
    column-gap: 10px;
    padding-right: 4%;
}
.links img{
    transition: .4s;
}
.links img:hover{
    transform: scale(.9);
}
#form{
    color: white;
    padding-left: 4%;
}
#form h5{
    font-family: peb;
    font-size: 1.5vw;
    letter-spacing: 5px;    
}
#form label{
    font-family: rhsb;
    font-size: 1.4vw;
}
#form input[type=text],#form input[type=email],#form input[type=tel]{
    width: 100%;
    height: 40px;
    border-radius: 35px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border: none !important;
    padding-left: 3%;
    text-align: left;
    transition: .4s;
}
#form input::placeholder{
    font-family: rhb;
    color: #3A469D;
    padding-left: .5%;
    text-align: left;
}
#form input[type=text]:focus,#form input[type=email]:focus,#form input[type=tel]:focus{
    border-radius: 0;
    transform: scale(.98);
    border: none !important;
}
#form input[type=text]:hover,#form input[type=email]:hover,#form input[type=tel]:hover{
    transform: scale(.98);
    border: none !important; 
}
#form input[type=submit]{
    font-family: rhb;
    color: white;
    background-color: #3A469D;
    box-shadow: rgba(0, 0, 0, 0.17) 0px -23px 25px 0px inset, rgba(0, 0, 0, 0.15) 0px -36px 30px 0px inset, rgba(0, 0, 0, 0.1) 0px -79px 40px 0px inset, rgba(0, 0, 0, 0.06) 0px 2px 1px, rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px, rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px;
    padding: 2% 5% 2% 5%;
    border: none;
    font-size: 17px;
    letter-spacing: 2px;
    border-radius: 35px;
    transition: .4s;
}
#form input[type=submit]:hover{
    background-color: #D9D9D9;
    color: #3A469D;
    transform: scale(.90);
    box-shadow: none;
}
#hr{
    border-bottom: 3px solid white;
    margin-left: 12%;
    margin-right: 12%;
}
#foot{
    font-family: rhr;
    color: white;
    font-size: 17px;
}
#foo1 p{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}
#foo2 p{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-align: right;
}
#foo2 a{
    text-decoration: none;
    color: white;
    transition: .4s;
}
#foo2 a:hover{
    text-decoration: underline;
}
@media screen and (max-width: 1340px) {
    #tests{
        display: none;
    }
    #tests2{
        display: flex;
    }
}
@media screen and (max-width: 1240px) {
    #icc {
        width: 60%;
    }
}
@media screen and (max-width: 992px) {
    ::-webkit-scrollbar {
        display: none;
    }
    #brandlogoo{
        width: auto;
        height: 60px;
        animation: reduce 1s 3s ease-in-out forwards;
    }
    @keyframes reduce {
        to {
            height: 40px;
        }
    }
    #info-o{
        margin-bottom: 5%;
    }
    #info{
        justify-content: center;
        text-align: center;
        margin-bottom: 5%;
    }
    .links{
        justify-content: center;
        padding-right: unset;
    }
    #home5{
        padding-left: 5%;
        padding-right: 5%;
    }
    #info img{
        margin: auto;
    }
    #atag,#atag-about{
        padding-left: 3%;
        font-size: 2vw;
    }
    #foo1 p,#foo2 p{
        justify-content: center;
        text-align: center;
    }
    #home h1{
        font-size: 4vw;
    }
    #home1 h1{
        font-size: 4vw;
    }
    #h1-box h1{
        font-size: 4vw;
    }
    #h1-box p{
        font-size: 2vw;
    }
    #home2 h1{
        font-size: 4vw;
    }
    #home2 p{
        font-size: 1vw;
    }
    #icc h3{
        font-size: 2vw;
    }
    #icc p{
        font-size: 1.5vw;
    }
    #icc img{
        width: auto;
        height: 20px;
    }
    #home5 h1{
        font-size: 4vw;
    }
    #home5 h3{
        font-size: 3vw;
    }
    #info p{
        font-size: 2.6vw;
    }
    #form h5{
        font-size: 2.5vw;   
    }
    #form label{
        font-size: 2.8vw;
    }
    #foot{
        font-size: 14px;
    }
    .slider-dot{
        height: 10px;
        width: 10px;
    }
    #mail p,#phone p{
        font-size: 14px;
    }
}
@media screen and (max-width: 600px) {
    #atag,#atag-about{
        font-size: 3vw;
    }
    #foot{
        font-size: 10px;
    }
    #icc {
        height: 250px;
    }
}
@media screen and (max-width: 400px) {
    #icc h3{
        font-size: 3vw;
    }
    #icc p{
        font-size: 2vw;
    }
}