@import url('https://fonts.googleapis.com/css?family=Poppins:wght@100;300;400;500;600&display=swap');

:root{
    --yellow: aqua;
    --light-yellow: #7c7c7c;
    --black: #ffffff;
    --light-color: #0032f9;
    --border: .1rem solid rgba(0,0,0,.1);
    --box-shadow: 0 .5rem 1rem rgba(0,0,0,.1); 
}
*{
    font-family: 'Poppins', sans-serif;
    margin: 0; padding: 0;
    box-sizing: border-box;
    outline: none; border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: all 0.2s linear;
}
html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 7rem;
    scroll-behavior: smooth;
}

section{
    padding: 2rem 9%;
}
body{
    background-color: black;
}

.btn{
    display: inline-block;
    margin-top: 1rem;
    border-radius: .5rem;
    background: var(--light-yellow);
    color: var(--black);
    font-weight: 500;
    font-size: 1.7rem;
    font-weight: 600;
    cursor: pointer;        
    padding: .8rem 3rem;
}
.btn:hover{ 
    background: var(--yellow);
} 
.header{
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 999;
    backdrop-filter: blur(10px); /* Adjust the blur radius as needed */
    background: rgba(255, 255, 255, 0.096);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 9%;
}
.logo {
    font-size: 3rem;
    color: white;
    font-weight: bolder;
    cursor: pointer;
    transition: 0.5s ease-in-out;
}

.logo:hover {
    transform: scale(1.2);
    font-weight: bolder;
    color: rgb(255, 255, 255);
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.7),
                 0 0 20px rgb(0, 255, 255),
                 0 0 30px rgba(0, 255, 255, 0.7);
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

span {
    color: aqua;
}
.header .navbar a{
    font-size: 1.8rem;
    margin:0 1rem;
    font-weight: bolder;
    color: white;
}
.header .navbar a:hover{
    color: aqua;
}

/* .header i .btn{
    margin-top: 0;    
    font-size: 2.5rem;
    color: aqua;
    display: inline-block;
    font-size: 2.5rem;
    border: 2px solid aqua;
    border-radius: 1.6rem;
    font-weight: 500;
    transition: all 0.5s ease;
    background: transparent;
}
.header i .btn:hover{
    background-color: aqua;
    color: white;
    box-shadow: 0 0 18px aqua;  
} */

.header .btn{
    margin-top: 0;    
    font-size: 2.5rem;
    color: aqua;
    display: inline-block;
    font-size: 2.5rem;
    border: 2px solid rgb(0, 207, 207);
    border-radius: 1.6rem;
    font-weight: 500;
    transition: all 0.5s ease;
    background: transparent;
}
.header .btn:hover{
    background-color: rgb(0, 255, 255);
    color: rgb(0, 0, 0);
    box-shadow: 0 0 18px rgb(0, 255, 255);  
} 
.header #login-btn i{
    font-size: 2.5rem;
    color: aqua;
    cursor: pointer;
    display: none;
}
#menu-btn{
    font-size: 2.5rem;
    color: aqua;
    cursor: pointer;
    display: none;
}

.header.active{
    box-shadow: var(--box-shadow);
    padding: 2rem 9%;
}

.login-form-container{
    position: fixed;
    top: 100%; left: 0;
    z-index: 1000;
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.278);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
}

.login-form-container.active{
    top: 0;
    opacity: 1;
    background: rgba(0, 0, 0, 0.775);
}

.login-form-container form{
    padding: 2rem;
    margin: 2rem;
    box-shadow: var(--box-shadow);
    text-align: center;
    width: 40rem;
    border: 2px solid aqua;
    border-radius: 10px;
}
.login-form-container form .buttons{
    display: flex;
    align-items: center;
    gap: 1rem;
}


.login-form-container form h3{
    color: white;
    font-size: 2.5rem;
    padding-bottom: 1rem;
    text-transform: uppercase;
}

.login-form-container form .box{
    margin: .7rem 0;
    width: 100%;
    text-transform: none;
    color: black;
    font-size: 1.6rem;
    padding: 1rem 1.2rem;
    border: var(--border);
    border-radius: .5rem;
}

.login-form-container form .btn {
    display: block;
    width: 100%;
    margin: .5rem 0;
    padding: 1rem 1.2rem;
    color: aqua; /* Change text color to aqua */
    font-size: 1.6rem;
    border: 2px solid aqua; /* Change border color to aqua */
    border-radius: .5rem;
    font-weight: 500;
    background: transparent;
    transition: all 0.5s ease;
    text-transform: uppercase;
}

.login-form-container form .btn:hover {
    background-color: aqua; /* Change hover background to aqua */
    color: rgb(12, 0, 0);
    box-shadow: 0 0 18px aqua; /* Apply the neon effect with aqua color */
}

.login-form-container form p a {
    color: aqua; /* Change link color to aqua */
    text-decoration: underline;
}


.login-form-container form p{
    padding: 1rem;
    font-size: 1.5rem;
    color: white;
}


.login-form-container #close-login-form{
    position: absolute;
    top: 1.5rem; right: 2.5rem;
    font-size: 5rem;
    color: white;
    cursor: pointer;
}





.wrapper{
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.container{
    height: 400px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: start;
}
.card {
    width: 80px;
    border-radius: .75rem;
    background-size: cover;
    cursor: pointer;
    overflow: hidden;
    border-radius: 2rem;
    margin: 0 10px;
    display: flex;
    align-items: flex-end;
    transition: .6s cubic-bezier(.28,-0.03,0,.99);
    box-shadow: 0px 10px 30px -5px rgba(0,0,0,0.8);
}
.card:hover{
    background-color: aqua;
    color: white;
    box-shadow: 0 0 30px aqua;
}
.card > .row {
    color: white;
    display: flex;
    flex-wrap: nowrap;
}
.card > .row > .icon {
    background: #223;
    color: white;
    border-radius: 50%;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px;
}
.card > .row > .description{
    display: flex;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    height: 80px;
    width: 520px;
    opacity: 0;
    transform: translateY(30px);
    transition-delay: .3s;
    transition: all .3s ease;
}
.description p{
    color: white
}
.description h4{
    text-transform: uppercase;
}
input{
    display: none;
}
input:checked + label{
    width: 600px;
}
input:checked + label .description{
    opacity: 1 !important;
    transform: translateY(0) !important;
}
.card[for="c1"]{
    background-image: url(Buick-Avista-880x503.jpg);
}
.card[for="c2"]{
    background-image: url(2.jpg);   
}
.card[for="c3"]{
    background-image: url(3.jpg);
}
.card[for="c4"]{
    background-image: url(4.jpg);
}
.card[for="c5"]{
    background-image: url(5.jpg);
}
.card[for="c6"]{
    background-image: url(6.jpg);
}
.card[for="c7"]{
    background-image: url(7.jpg);
}
.card[for="c8"]{
    background-image: url(8.jpg);
}

/* Media Queries for responsiveness */
@media (max-width: 1200px) {
    .card {
        width: 70px;
    }
    input:checked + label {
        width: 500px;
    }
    .card > .row > .description {
        width: 400px;
    }
}

@media (max-width: 992px) {
    .container {
        flex-wrap: wrap;
        justify-content: center;
    }
    .card {
        width: 60px;
    }
    input:checked + label {
        width: 400px;
    }
    .card > .row > .description {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
        height: auto;
    }
    .card {
        width: 100%;
        margin: 10px 0;
    }
    input:checked + label {
        width: 100%;
    }
    .card > .row {
        flex-direction: column;
        align-items: center;
    }
    .card > .row > .icon {
        margin-bottom: 10px;
    }
    .card > .row > .description {   
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .card {
        width: 100%;
    }
    input:checked + label {
        width: 100%;
    }
    .card > .row > .description {
        width: 100%;
    }
    .card > .row > .icon {
        width: 30px;
        height: 30px;
    }
}


.footer{
    background: linear-gradient(135deg, #00fffbb0, #00ccff82, #0080ff9f); 
}
.footer .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(25rem, 1fr));
    gap: 1.5rem;
}
.footer .box-container .box h3{
    color: aqua;
    font-size: 2.2rem;
    padding: 1rem 0;
}
.footer .box-container .box:hover h3{
    color: white;
    font-size: 2.2rem;
    padding: 1rem 0;
}
.footer .box-container .box a{
    color:white;
    font-size: 1.5rem;
    display: block;
    padding: 1rem 0;
}
.footer .box-container .box a:hover{
    color: aqua;
}
.footer .box-container .box a i{
    padding-right: .5rem;
    color: white;
}
.footer .box-container .box a:hover i{
    padding-right: 2rem;
    color: aqua;
}   