@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Quicksand:wght@300..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

html,
body {
    width: 100%;
    height: 100%;
    /* background: #dcf2ff; */
}

:root {
    --main-clr: #0AEDFD;
}
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2% 5%;
    position: relative;
    background: #035973e0;
    color: #fff;
}
nav .back{
    font-size: 25px;
    cursor: pointer;
}
nav h1{
    font-size: 25px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50% , -50%);
}
.event {
    padding: 4% 5%;
}

.event h1 {
    text-align: center;
}

.event-info {
    text-align: center;
    font-size: 15px;

    margin: 10px 100px;
}

.event-grid {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.event-box {
    position: relative;
    width: 30%;
    height:65vh;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 10px;
}

.event-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.date{
    position: absolute;
    left: 10px;
    top: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0px;
    padding: 10px 10px;
    background: var(--main-clr);
    border-radius: 10px;
    font-size: 15px;
    color: #fff;
    font-weight: 600;
}
.event-address{
    position: absolute;
    width: 90%;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    font-size: 12px;
    padding: 10px;
    border-radius: 10px;
    
}
.event-address-ovelay{
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.locationtime{
    display: flex; 
     width: 100%;
     gap: 20px;
}
.locationtime p{
    font-size: 10px;
    margin: 0px;
}

.dflexcenter2 i{
    color: var(--main-clr);
}

.event_name p{
    font-size: 14px;
    font-weight: 600;
}

.joineventbtn{
    color: var(--main-clr);
    justify-content: flex-start!important;
}


footer{
    margin-top: 10px!important;
}

.gallery-box{
    height: 100vh;
}
.gallery-box img{
    object-position: top;
    transition: all .4s ease-in-out;
}
.gallery-box img:hover{
    scale: 1.1;
}



@media(width<=768px){
    .event-info{
        margin: 10px 0px;
    }
    .event-box{
        width: 100%;
    }
}