
/* ---------------------------------------------section--------------------------------------------------- */


@import url('https://fonts.googleapis.com/css2?family=Play:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');


.background-transition {
    animation: background-change 7s ease infinite; /* Adjust as desired */
  }
  
  @keyframes background-change {
    0% {
      background-image: linear-gradient(rgba(0, 0, 0,.5), rgba(0, 0, 0,.5)), url('images/background.jpg'); /* Initial background */
    }
    
    100% {
      background-image: linear-gradient(rgba(0, 0, 0,.5), rgba(0, 0, 0,.5)), var(--current-background); /* Final background */
    }
  }


.main-section{
    width: 100%;
    height: 98vh;
    background: linear-gradient(rgba(0,0,0,.9),rgba(0,0,0,.9));
    background-size: cover;
    background-position:center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
   
}

.main-section a{
    /* background-color: rgba(0, 255, 0, 0.918); */
    border: 2px solid rgba(255, 255, 255, 0.815);
    font-size: 2em;
    color: white;
    position: fixed;
    padding: .6em 1em;
    border-radius: 30px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: .2s ease;
    font-family: "Play", sans-serif;
    animation:color 4s ease-in infinite;
}

@keyframes color {
    0%{
        background-color: transparent;
    }
    50%{
        background-color: rgba(0, 255, 0, 0.918);
        box-shadow: 0 0 25px rgba(0, 255, 0, 0.918);
        text-shadow: 0 0 3px white;
    }
    
}

.main-section a:hover{
    
    transform: scale(1.02);
}

footer{
    width: 100%;
    padding: 1em 0;
    display: flex;
    align-items: end;
    justify-content: center;
    position: sticky;
    bottom: 0;
    z-index: 200;
    background-color: rgb(8, 8, 8);
}

footer h2{
    color: white;
    text-align: center;
    font-size: 1.5em;
    padding: 0 2em;
    text-transform: capitalize;
    font-family: "Playfair Display", serif;
    letter-spacing: 2px
}



/* ================================================ contact forom----=============================================== */


@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Michroma&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');


.contact{
    width: 100%;
    min-height: 60vh;
    height: auto;
    padding: 4em 6%;
}

.contact h2{
    color: white;
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin:  0 0 .9em 0;
    font-family: "Play", sans-serif;
}

.contact h2 span{
    color: rgba(0, 255, 0, 0.918);
    font-family: "Play", sans-serif;
}

form{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.input-box{
    position: relative;
    margin: 2em 0 5em 0;
}

form .input-box input,textarea{
    min-width: 30vw;
    width: 100%;
    padding: 1.2em;
    resize: none;
    border-radius: 50px;
    outline: none;
    background: transparent;
    border: 2px solid rgba(0, 255, 0, 0.918);
    font-size: 1.8em;
    color: white;
    letter-spacing: 2px;
    font-family: "Play", sans-serif;
}

textarea{
    height: 55vh;
    font-family: "Play", sans-serif;
}

.input-box label{
    position: absolute;
    top: 0;
    left: 0;
    padding:20px 0 0 20px;
    cursor: text;
    background: none;
    font-size: 1.8em;
    text-transform: capitalize;
    letter-spacing: 1.2px;
    transition: .2s ease;
    color: white;
    font-family: "Play", sans-serif;
}


.input-box input:focus ~ label,.input-box input:valid ~ label,
.input-box textarea:focus ~ label,.input-box textarea:valid ~ label
{
    top: -55px;
    font-size: 1.3em;
}

.input-box button{
    padding: .6em;
    font-size: 1.5em;
    width: 100px;
    text-transform: uppercase;
    background-color: rgba(0, 255, 0, 0.918);
    outline: none;
    border: none;
    border-radius: 40px;
    margin: 1em 0;
    color: white;
    border: 2px solid transparent;
    transition: .1s ease-in;
    font-family: "Play", sans-serif;
}

.input-box button:hover{
    background: transparent;
    transform: scale(1.03);
    box-shadow: 0 0 20px white;
    border: 2px solid rgba(0, 255, 0, 0.918);
    
}

.input-group2 .input-box{
    display: flex;
    flex-direction: column;
    align-items: center;
}




/* ========================================================= about page css========================================= */

.about {
    height: auto;
    width: auto;
    padding: 4em 5%;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: 2em;
    border-radius: 20px;
    box-shadow: 0 0 20px white;
    }
    
    .about h1{
        text-transform: uppercase;
        letter-spacing: 2px;
        color: 
        white;
        width: 100%;
        font-size: 3rem;
        border-bottom: 2px solid 
        rgba(0, 255, 0, 0.918);
        font-family: "Play", sans-serif;
    }
    
    .about h1 span{
        color: rgba(0, 255, 0, 0.918);
        font-family: "Play", sans-serif;
    }
    
    .about h2{
        text-transform: capitalize;
        letter-spacing: 2px;
        color: 
        rgba(0, 255, 0, 0.918);
        font-size: 3.5rem;
        margin-bottom: 1em;
        font-family: "Caveat", cursive;

    }
    
    .about img{
        width: 30vh;
        max-width: 40%;
        margin: 3em 0;
        border-radius: 50%;
        border: 4px solid rgba(0, 255, 0, 0.918);
        transition: all .2s ease;
    }
    .about img:hover{
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(0, 255, 0, 0.918);
    }
    .about p{
        line-height: 2em;
        font-size: 1.8em;
        color: white;
        font-family: serif;
        letter-spacing: 1px;
        font-family: "Play", sans-serif;
    }
    
    .about .btn{
        display: flex;
        justify-content: center;
    }
    
    .btn a{
        font-size: 3em;
        margin: 1em;
        background-color:transparent;
        color:rgba(0, 255, 0, 0.918);
        transition: all .15s ease;
    }
    
    .btn a:hover{
        text-shadow: 0 0 15px rgb(0, 255, 0);
        transform: scale(1.2);
    }

    #show,#hide{
        transition: all .18s ease;
    }
    
    #show:hover,#hide:hover{
        box-shadow: 0 0 10px rgba(0, 255, 0, 0.918);
        transform: scale(1.1);
    }
    
    #ch,.content,#show{
        display: none;
    }
    
    .content label{
        text-align: center;
    }
    
    .label{
        color: white;
        width: auto;
        background-color: rgba(0, 255, 0, 0.918);
        margin: 1.2em 0;
        padding: .2em 1.5em;
        border-radius: 20px;
        font-size: 2em;
        text-align: center;
        cursor: pointer;
        text-transform: capitalize;
        font-family: "Play", sans-serif;
        letter-spacing: 1px;
    }
    #ch:checked ~ .content{
        display: block;
    }
    
    #ch:checked ~ #show{
        display: block;
    
    }
    
    #ch:checked ~ #hide{
        display: none;
    
    }
    
    @media screen and (max-width: 738px){
        .label{
            font-size:1.5em ;
    
        }
        .about h1{
            font-size: 2rem;
        }
    
    }
    
    @media screen and (max-width: 460px){
        .btn a{
            font-size: 2em;
    
        }
    }