/* events html file styling start */

#events-section1{
    display:flex;
    justify-content:center;
    align-items:center;
    position: relative;
    background-image: url(../images/hero-image7.jpg);
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    width: 100%;
}
#events-section1::before{
    content: '';
    position: absolute;
    background-color: rgba(0, 0, 255, 0.67);
    width: 100%;
    height: 100%;
}
#events-section1 p:first-child{
    font-size:6rem;
    font-weight:700;
    text-align: center;
}
.events-section2{
    background-color: rgba(167, 0, 88, 0.13);
}
.main-events{
    width: 80%;
    margin: auto;
    padding-top: 100px;
    padding-bottom: 100px;
}
.main-events .partner-btn {
    margin-bottom: 50px;
}
#events-heading{
    font-weight: 700;
    font-size: 2.2rem !important;
    line-height: 138% ;
    background:linear-gradient(88.21deg, #0000FF -0.79%, #FF0000 19.71%, #FFFF00 28.08%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}
.event-line{
    border-top: 2px solid rgba(0, 0, 0, 0.2);
    margin: 30px 0;
}
.events-video{
      display: grid;
    grid-template-columns:repeat(4, 1fr);
    grid-template-rows:1fr 1fr;
    place-items: center;
}
.video{
    grid-column: 2/4;
    grid-row: 1/3;
}
.video-bg{
    width:560px; 
    height: 315px;
    position: relative;
}
#youtube{
    position: absolute;
    width: 50px;
    left: 45%;
    top: 40%;
}
.video-bg #event1{
    width: 100%;
    height:100%;
}
.bg-color1::before{
    content: '';
    position: absolute;
    background: #a7005974;
    width: 100%;
    height: 100%;
}
.bg-color2::before{
    content: '';
    position: absolute;
    background: hsla(240, 100%, 50%, 0.355);
    width: 100%;
    height: 100%;
}
.video-content{
    background: #FFFFFF;
    padding: 20px;
    border-radius:5px;
    text-align: center;
    width: 350px;
    font-size: 0.9rem;
    grid-column:4/5 ;
    grid-row: 2/3;
    margin-top: 50px;
    margin-left: -50px;
    opacity: 0.9;
}
.video-content:hover{
   transform: scale(1.05);
   opacity: 1;
}
.video-content p:first-child{
    line-height: 3;
    font-weight: 700;
}
.video-content p:nth-child(2){
    font-size: 0.9rem;
    margin-bottom: 15px;
}
.video-content button{
    background-color:#FFFFFF ;
    width: 100px;
    line-height:2;
    border-radius: 5px;
    cursor:pointer;
}

/* max width 1050px styling start */
@media (max-width:1050px) {
        .main-events{
            width: 90%;
        }
}
/* max width 1050px styling end */

/* max width 900px styling start */
@media (max-width:900px) {
    #events-section1 p:first-child{
        font-size:4.5rem;
    }
    .main-events{
        width: 95%;
    }

    .events-video{
        grid-template-columns:1fr ;
        grid-template-rows:1fr 1fr;
    }
    .video{
        grid-column: 1;
        grid-row: 1;
        width: 90%;
    }
    .video-bg{
        width: 100%;
        margin: auto;
    }
    .video-content{
        grid-column:1 ;
        grid-row: 2;
        margin-left:0;
    }
    
}
/* max width 900px styling end */

/* max width 625px styling start */
@media (max-width:625px) {
    #events-section1 p:first-child{
        font-size:3.2rem;
    }
    #events-heading{
        margin-bottom: 30px;
        font-weight: 700;
        font-size: 1.8rem !important;
    }
    }
/* max width 625px styling end */

/* max width 400px styling start */
@media (max-width:400px) {
     #events-section1 p:first-child{
        font-size:2.2rem;
    }
    #events-heading{
        text-align:center;
        background:linear-gradient(88.21deg, #0000FF -0.79%, #FF0000 77.71%, #FFFF00 28.08%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    .video{
        width: 95%;
        margin: auto;
    }
    .video-content{
        width: 95%;
        margin: auto;
    }
}
/* max width 400px styling  end */



/* events html file styling end */