*{
    font-family: 'DM Sans', sans-serif;
    /* overflow-x: hidden; */
}

body{
    overflow-x: hidden;
}

nav.navbar.navbar-expand-lg.navbar-light {
    background-color: #2b2525;
}

li.nav-item {
    margin-right: 2rem;
}

a#btn_tedx {
    padding: 0.6rem 2rem;
}

a.navbar-brand img{
    width: 200px;
}

.navbar-light .navbar-toggler {
    color: transparent !important;
    border-color: transparent !important;
}

.navbar-light .navbar-nav .nav-link {
    color: #fff !important;
}

.navbar-light .navbar-nav .nav-link:hover{
    border-bottom: 2px solid #fff;
}

#btn:hover{
    border: none;
}


section.home {
  margin-top: 70px;
  overflow-x: hidden;
}

.btn.btn_tedx {
    background: #E62B1E;
    margin-top: -6px;
    color: #fff;
    font-weight: 500;
    letter-spacing: .5px;
    padding: .6rem 2rem;
} 

.btn.btn_tedx.contact_btn:hover{
    color: #fff;
    background-color: #000;
}

button.btn.btn_tedx:hover{
    color: #000;
    background-color: #fff;
}

.seat_btn {
  margin-top: 1px !important;
}

button.btn.btn_tedx.seat_btn{
    background-color: #fff;
    color: #000;
}


button.btn.btn_tedx.seat_btn:hover{
    background-color: #222222;
    color: #fff;
}

.info .info_info_content{
  border-radius: 6px;
  background-color: #ffffff;
  padding: 25px 60px;
  position: relative;
  z-index: 1000;
  margin-top: -40px;
  margin-bottom: 50px;
  box-shadow: 0 0 16px rgb(0 0 0 / 8%);
    
}

.info_item{
  display: flex;
  flex-direction: column;
  border-right: 2px solid red;
}

.no_border{
    border-right: transparent;
}

.carousel-item img{
    width: 100%;
    height: 80vh;
    object-fit: cover;
}

/*ABOUT US */
.about{
    margin-top: 100px;
}

.about_content h4{
    font-size: 30px;
    border-bottom: 2px solid #E62B1E;
    width: max-content;
}

.about_content p{
    line-height: 2;
    font-size: 16px;
}

.about_img img{
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.about_img_top img{
    margin-top: 30px;
    height: 300px;
}

/* CAROUSEL */
.owl-carousel .owl-item img {
    display: block !important;
    width: 100%;
    height: 70vh;
    object-fit: cover;
}

.owl-carousel {
    display: block !important;
    width: 100%;
    z-index: 1;
}

.owl-nav {
    display: none;
}

.sponsor_carousel.owl-carousel.owl-theme .owl-item img{
    height: 180px;
    object-fit: contain;
}

.speak_fig{
    position: relative;
    bottom: 2rem;
    font-size: 16px;
    color: #fff;
    padding: .3rem;
    background: linear-gradient(217deg, rgba(10, 10, 10, 0.699), rgba(7, 7, 7, 0.671) 70.71%);
    width: fit-content;
}

.speaker_details {
    display: none;
    color: transparent;
    position: absolute;
    bottom: 6rem;
    /* height: 300px; */
    transition: .3s ease-in;
}

.item img{
    height: 400px;
    width: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.speaker_details:hover{
    display: block !important;
    color: #000;
    background: #fff;
    padding: 1.5rem 2rem 1.5rem 1.5rem ;
    transition: .3s ease-in;
}

.seat{
    background-color: #E62B1E;
    padding: 2rem;
}

.booked_seat h3{
    color: #fff;
    margin-top: 1rem;
}

.social_links{
    display: flex;
}

/* GALLERY PAGE */
.portfolio-filter {
    list-style: none;
    padding-left: 0;
}

.gallery img{
    width: 100%;
    margin: 10px 0;
    border-top-left-radius: 35px;
    border-bottom-right-radius: 35px;
}

.portfolio-filter .filter-link {
    display: inline-block;
    text-align: center;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    color: #222222;
    padding: 0.5%;
    margin: 0.5%;
    margin-bottom: 30px;
    cursor: pointer;
}

/* SPEAKERS PAGE */
.speaker_bio{
    text-decoration: none;
    color: #E62B1E;
    border-bottom: 2px solid #000;
    font-weight: 500;
}

.popup:target {
    opacity: 1;
    visibility: visible;
}
.popup {
    height: 100vh;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
}

.popup:target .popup-content {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.popup-content {
    position: absolute;
    top: 50%;
    left: 50%;
    /* transform: translate(-50%, -50%); */
    width: 75%;
    background-color: #fff;
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    display: table;
    overflow: hidden;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.25);
    transition: all .5s .2s;
}

.popup-close:link, .popup-close:visited {
    color: #777;
    position: absolute;
    top: 2.5rem;
    right: 2.5rem;
    font-size: 3rem;
    text-decoration: none;
    display: inline-block;
    transition: all .2s;
    line-height: 1;
}

.popup-content .popup-text p {
    font-size: 16px;
    color: rgb(46, 44, 44);
    letter-spacing: .4px;
}

/* footer */
.footer{
    background-color: lightgrey;
    padding: 25px 10px;
    margin-top: 150px;
}

  @media (max-width: 768px) {

    .about_content p{
        text-align: center;
    }

    .info_top{
        border-top: 2px solid #E62B1E;
        padding: 1.4rem 0;
    }

    ul.navbar-nav.ms-auto.mb-2.mb-lg-0 {
        text-align: center;
    }

    .footer_content{
        display: flex;
        flex-direction: column;
    }

    .info_item {
        border-right: 2px solid transparent;
    }

    .info .info_info_content {
        padding: 25px 30px;
    }

    .seat {
        padding: 2rem .3rem;
    }

    .speak_fig{
        font-size: 16px;
        bottom: 4.2rem;
    }

    #Onye {
        bottom: 5.5rem;
    }

    .speaker_details {
        bottom: .1rem;
        height: 600px;
    }


    .booked_seat h3 {
        font-size: 13.4px;
    }

    .about {
        margin-top: 80px;
        padding-left: 10px;
        padding-right: 10px;
    }

    button.btn.btn_tedx {
      padding: .5rem 3rem;
    }
  }

  @media (max-width: 625px) {
    .speak_fig{
        font-size: 16px;
        bottom: 2rem;
    }

    #Onye {
        bottom: 2.1rem;
    }

    .speaker_details {
        bottom: 5rem;
        height: 300px;
    }

  }

