@font-face {
    font-family: b;
    src: url(font/TCB.TTF);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #00aeee2d;
    border: none;
    border-radius: 0 0 5px 5px;
}

::-webkit-scrollbar-thumb {
    background: #163557;
    border: none;
    border-radius: 0 0 5px 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: darkblue;
}

body {
    margin: 0;
    padding: 0;
    background: white;
    overflow-x: hidden;
    color: white;
    font-family: b;
    animation: appearing .5s forwards ease-in;
}
@keyframes appearing {
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}
/* Pop-up container */
.popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #163557;
    color: white;
    padding: 10px;
    border-radius: 10px;
    transform: translateY(150%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all .6s ease;
    border: 5px solid #d32f2f;
    animation: flick infinite 1s ease-in;
}
@keyframes flick{
    0%,100%{
        background-color: #163557;
    }
    50%{
        background-color: #d32f2f;
        border-color: #163557;
    }
}

/* Pop-up content */
.popup-content {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
    text-align: center;
}
.popup-content a{
    font-size: 14px;
    font-family: b;
    text-decoration: none;
    color: white;
}

/* Close button */
.close-btn {
    background-color: white;
    color: black;
    border: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
    padding-bottom: 2.5%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background-color: black;
    color: white;
}
nav {
    background-color: #163557;
    position: relative;
    height: 160px;
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
}

.nav-item {
    border: none;
    cursor: pointer;
}
#atag:hover,#atag-home {
    border-top: 2px solid lightblue;
    border-right: 2px solid lightblue;
    border-left: 2px solid lightblue;
    border-bottom: 4px solid lightblue;
    border-radius: 25px;
    color: #00ADEE;
    outline: none;
    font-size: 22px;
    font-weight: 900;
    font-family: b;
}

#atag {
    color: white;
    font-size: 22px;
    font-weight: 900;
    font-family: b;
}

.navbar-brand {
    margin: .5% 0 0 0;
    height: 180px;
    width: 109px;
    border: none;
    border-radius: 0 0 90px 90px;
}
#new-mem{
    width: auto;
    height: 150px;
}
#info {
    position: absolute;
    right: 3%;
    top: 80%;
}

#info h6 {
    color: #BCAAA0;
    font-size: 20px;
    font-family: b;
}

#info a {
    text-decoration: none;
    color: #00ADEE;
    font-size: 20px;
    filter: brightness(100%);
    font-family: b;
}

#info a:hover {
    filter: brightness(120%);
}

#foot {
    height: fit-content;
    width: 85%;
    padding: 3% 0 0 0;
    background-color: #163557;
    text-align: center;
    border: 2px solid black;
    box-shadow: rgb(0, 0, 0) 0px 22px 70px 4px;
    margin-top: 10%;
    position: relative;
}

#bx1 {
    margin: 1% 1% 1% 1%;
}

.logoimg {
    left: -45%;
    top: -10%;
    position: absolute;
    width: 100%;
    height: auto;
}

#bx2 {
    background-color: #00ADEE;
    color: red;
    margin: 3% 0 3% 35%;
    border: none;
    width: fit-content;
    height: fit-content;
    padding: 0 2% 0 2%;
    border-radius: 25px;
    font-size: 21px;
    font-family: b;
}

#foot h2 {
    color: white;
    font-size: 35px;
    font-family: b;
}

#p1 {
    text-align: center;
    font-size: 30px;
    font-family: b;
    color: #BCAAA0;
    padding: 3%;
}

#details a {
    text-decoration: none;
    color: white;
    filter: brightness(100%);
}

#details a:hover {
    color: red;
    filter: brightness(120%);
}

#details {
    color: white;
}

#cont {
    display: grid;
    align-items: flex-start;
    justify-content: center;
}

#cont h4 {
    font-size: 30px;
    font-weight: 700;
    font-family: b;
}

#cont p {
    font-size: 20px;
    font-style: italic;
    font-weight: 500;
    font-family: b;
}

#p2 {
    margin-top: .5%;
    color: #BCAAA0;
    font-size: 15px;
    font-family: b;
}

.what {
    position: fixed;
    bottom: 2%;
    right: 1%;
}

.what img {
    width: auto;
    height: 80px;
    animation: jump 1s infinite;
    transition: .2s;
}

.what img:hover {
    filter: brightness(120%);
}
@keyframes jump {
    0% {
        transform: translateY(5%);
    }

    50% {
        transform: translateY(10%);
    }

    100% {
        transform: translateY(0);
    }
}

#fooot {
    text-align: center;
}

#fooot a {
    text-decoration: none;
    color: black;
}

#fooot a:hover {
    text-decoration: underline;
    line-height: .5px;
}

/* #iframe1{
    height: calc(235vw - 20px);
}
#iframe2{
    height: calc(235vw - 20px);
}
#iframe3{
    height: calc(235vw - 70px);
}
#iframe4{
    height: calc(235vw - 200px);
}
#iframe5{
    height: calc(235vw - 110px); 
} */
#road {
    width: 100%;
    height: 2.5vw;
    background: linear-gradient(to right, black, gray, black);
    background-size: 200% 100%;
    animation: gradientAnimation 6s linear infinite;
    display: none;
}

/*
.cloud-border {
    width: 15vw;
    height: 10vw;
    background-color: #fff;
    position: relative;
    border-radius: 5vw;
}

.cloud-border::before,
.cloud-border::after {
    content: "";
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
}

.cloud-border::before {
    width: 60px;
    
    height: 60px;
    
    top: -20px;
    
    left: 40px;
    
}

.cloud-border::after {
    width: 80px;
    
    height: 80px;
    
    top: -10px;
    
    left: 80px;
    
}
*/


@keyframes gradientAnimation {
    0% {
        background-position: -100% 0;
    }

    100% {
        background-position: 100% 0;
    }
}

#vans {
    height: fit-content;
    width: 100%;
    overflow: hidden;
    padding-top: 3%;
    background-image: url(Background-For-Webiste.png);
    background-position: center center;
    background-attachment: scroll;
    background-size: 100% 100%;
}

#van1 img {
    width: auto;
    height: 13vw;
    margin-bottom: 5%;
    margin-left: 5%;
    animation: moving 10s linear infinite;
}

#van2 img {
    width: auto;
    height: 10vw;
    margin-bottom: -44%;
    margin-left: 12%;
    animation-delay: 1.7s;
    animation: moving 10s linear infinite;
}

#van3 img {
    width: auto;
    height: 8vw;
    margin-bottom: -50%;
    margin-left: 16%;
    animation-delay: 2s;
    animation: moving 10s linear infinite;
}

@keyframes moving {
    0% {
        transform: translateX(-500%);
    }

    10% {
        transform: translateX(-400%);
    }

    20% {
        transform: translateX(-300%);
    }

    30% {
        transform: translateX(-200%);
    }

    40% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(0);
    }

    60% {
        transform: translateX(100%);
    }

    70% {
        transform: translateX(200%);
    }

    80% {
        transform: translateX(300%);
    }

    90% {
        transform: translateX(400%);
    }

    100% {
        transform: translateX(500%);
    }
}

#locations {
    width: 25vw;
    font-family: b;
    margin: 0 5% 0 5%;
    display: inline-block;
    text-align: center;
    padding-right: 20px;
    padding-top: 10px;
}

#locations img {
    width: auto;
    height: 50px;
    margin: auto;
    animation: jump 1s infinite linear;
}

@keyframes jump {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-5%);
    }
}

#locations p {
    font-size: 2vw;
    padding: 2%;
}

#loca {
    width: 100%;
    overflow: hidden;
}

#locate {
    display: inline-flex;
    /* Display locations in a row */
    animation: animate 35s linear infinite;
    white-space: nowrap;
}

@keyframes animate {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-120% - 20px));
    }
}

#vansmobile {
    display: none;
    height: fit-content;
    width: 100%;
    overflow: hidden;
    padding-top: 6%;
    background-image: url(Background-For-Webiste.png);
    background-position: center center;
    background-attachment: scroll;
    background-size: 100% 100%;
}


@media screen and (max-width:1317px) {
    #foot {
        padding-top: 10%;
    }
}
@media screen and (max-width:1150px) {
    #atag,#atag-home {
        font-size: 18px;
    }
}
@media screen and (max-width:1049px) {
    #bx2 {
        margin: 3% 0 3% 29%;
    }
    #new-mem{
        height: 100px;
    }
}
@media screen and (max-width:993px) {
    #foot {
        margin-top: 17%;
        padding-top: 15%;
    }
    .logoimg {
        left: 0;
    }
    .navbar-brand {
        display: none;
        margin: 0;
        height: 80vw;
        width: 80vw;
        margin-left: 37vw;
    }

    .navbar-toggler {
        margin-left: 90%;
        z-index: 2;
    }

    .navbar-nav {
        margin-top: 2%;
        text-align: center;
    }

    nav {
        height: unset;
    }
    #info {
        position: fixed;
        top: 4.2%;
        right: 13%;
    }
    #p1 {
        font-size: 25px;
    }
    #info h6,#info a {
        font-size: 15px;
    }
}

@media screen and (max-width:810px) {
    #foot {
        margin-top: 20%;
        padding-top: 18%;
    }

    #bx2 {
        margin: 3% 0 3% 24%;
    }
    .navbar-brand {
        margin-left: 34vw;
    }
}

@media screen and (max-width:698px) {
    #foot {
        margin-top: 27%;
        padding-top: 20%;
    }

    #bx2 {
        margin: 3% 0 3% 16%;

    }
    #new-mem{
        height: 75px;
    }
    .navbar-brand {
        margin-left: 32vw;
    }
}

@media screen and (max-width:588px) {
    #foot {
        margin-top: 27%;
        padding-top: 25%;
    }

    #bx2 {
        margin: 3% 0 3% 14%;

    }
    .navbar-brand {
        margin-left: 28vw;
    }
}

@media screen and (max-width: 576px) {
    #vansmobile {
        display: block;
        margin: 5% 0 5% 0;
    }

    #vans {
        display: none;
    }

    #van2 img {
        margin-bottom: 5%;
    }
}

@media screen and (max-width:507px) {
    .navbar-toggler {
        margin-left: 80%;
    }
    #info{
        top: 4%;
        right: 11%;
        z-index: 0;
    }
    #info h6{
        padding: 0 25% 0 25%;
    }
    #info h6,#info a{
        font-size: 12px;
    }
    #foot {
        margin-top: 29%;
        padding-top: 30%;
    }

    #bx2 {
        margin: 3% 0 3% 11%;
    }

    .navbar-brand {
        margin-left: 24vw;
    }
}

@media screen and (max-width:450px) {
    .navbar-brand {
        margin-left: 24.5vw;
    }

    .navbar-brand {
        margin-left: 22vw;
    }
    #new-mem{
        height: 50px;
    }
}

@media screen and (max-width:439px) {
    #foot {
        margin-top: 31%;
        padding-top: 31%;
    }

    #bx2 {
        margin: 3% 0 3% 4%;
    }
    .navbar-brand {
        margin-left: 20vw;
    }

    #p1 {
        font-size: 20px;
    }
}

@media screen and (max-width:415px) {
    #foot {
        margin-top: 35%;
        padding-top: 33%;
    }

    #bx2 {
        margin: 3% 0 3% 1%;
    }

    .navbar-brand {
        margin-left: 16vw;
    }
    #info{
        right: 8%;
    }
    #info h6,#info a{
        font-size: 10px;
    }
}