@import "../../../../../../style/variables.scss";

.about-event-section{
    padding-top: 30px;
    // @media only screen and (min-width: 640px) {
    //     padding-top: 60px;
    // }
    // @media only screen and (min-width: 1024px) {
    //     padding-top: 70px;
    // }
    .event-title-wrapper{
        .title{
            font-family: 'Canto';
            text-transform: capitalize;
            font-weight: 400;
            color: $primary;
        }
    }
    .description{
        font-size: 14px;
        line-height: 1.5;
        color: $grey5E;
        font-family: 'Avenir Next';
        font-weight: 400;
        font-style: normal;
        white-space: break-spaces;
        margin-bottom: 30px;
        &:last-child{
            margin-bottom: 0;
        }
        @media only screen and (min-width: 640px) {
            font-size: 16px;
        }
        @media only screen and (min-width: 768px) {
            font-size: 18px;
            margin-bottom: 40px;
        }
        @media only screen and (min-width: 1600px) {
            font-size: 20px;
            // margin-bottom: 60px;
        }
    }
}
.event-organizer-box-wrapp{
   
    @media only screen and (min-width: 640px) {
        padding-top: 16px;
    }
    @media only screen and (min-width: 1024px) {
        padding-top: 60px;
        position: sticky;
        top: 40px;
    }
    @media only screen and (min-width: 1200px) {
        padding-top: 65px;
        top: 50px;
    }
    @media only screen and (min-width: 1600px) {
        padding-top: 80px;
        top: 60px;
    }
}
.event-organizer-box {
    border: 1px solid $mainBorder;
    padding: 15px;
    position: relative;
    z-index: 0;
    @media only screen and (min-width: 768px) {
        padding: 20px;
    }
    .link{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
    @media only screen and (min-width: 1200px) {
        padding: 30px;
    }
    p{
        color: #5E5E5E;
        font-family: 'Avenir Next';
        @media only screen and (min-width: 1600px){
            font-size: 20px;
        }
    }
    .organizer-title {
        margin-bottom: 10px;
        @media only screen and (min-width: 767px) {
            margin-bottom: 20px;
        }
        &:last-child{
            margin: 0;
        }
        h3 {
            font-family: 'Avenir Next';
            color: $black25;
            text-transform: uppercase;
            font-weight: 600;
            margin-bottom: 0;
            font-size: 14px;
            line-height: 20px;
            @media only screen and (min-width: 767px) {
                font-size: 16px;
            }
            @media only screen and (min-width: 1440px) {
                font-size: 18px;
            }
        }
        p {
            font-family: 'Avenir Next';
            color: $primary;
            text-transform: uppercase;
            font-weight: 500;
            margin-top: 2px;
            font-size: 12px;
            line-height: 1.2;
            @media only screen and (min-width: 767px) {
                font-size: 14px;
            }
            @media only screen and (min-width: 1440px) {
                font-size: 16px;
            }
        }
        .usersicon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            overflow: hidden;
            @media only screen and (min-width: 767px) {
                width: 50px;
                height: 50px;
            }
            img {
                object-fit: cover;
                width: 100%;
                height: 100%;
            }
        }
    }
}
.event-box-list{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
}
.ns-event-image-box,
.event-video-box{
    position: relative;
    cursor: pointer;
    z-index: 1;
    &::before{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: $black25;
        opacity: 0.1;
    }
}
.event-video-box{
    position: relative;
    grid-column: span 2;
    grid-row: span 2;
    min-height: 210px;
    max-height: 210px;
    @media only screen and (min-width: 640px) {        
        min-height: 370px;
        max-height: 370px;
    }
    .play-btn{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        border-radius: 100%;
        border: 6px solid $white;
        @media only screen and (min-width: 640px) {
            width: 72px;
            height: 72px;
            border: 8px solid $white;
        }
        i{
            font-size: 27px;
            color: $white;
            padding-left: 6px;
        }
    }
}
.ns-event-image-box img,
.event-video-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ns-event-image-box img{
    min-height: 80px;
    max-height: 100px;
    @media only screen and (min-width: 640px) {
        min-height: 180px;
        max-height: 180px;
    }
}