
/*** reverse realty landing page ***/

#the-upside-down{
    font-family: "Karantina", system-ui;
    font-weight: 400;
    font-style: normal;
    font-size:18px;
    padding: 4vw 3vw 0;
}
#the-upside-down #contact-section,
#the-upside-down #timeline-section,
#the-upside-down #intro-section,
#the-upside-down #details-section{
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

#the-upside-down #intro-section{

    background-image: url('../img/workshop-top-bg.webp');
    background-size: cover;
    background-repeat: no-repeat;

    padding-top:min(80vh, 680px );
    padding-bottom: 6rem;
    padding-left:15px;
    padding-right: 15px;
  

}

#the-upside-down  h1{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size:calc(4rem + 4.5vw);
    padding-bottom: 6rem;
    position: relative;
    
}

#the-upside-down  h1:before{
    content: '';
    display:block;
    
    background-image: url('../img/red-dots-2.gif');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
        top: -10%;
    right: -10%;
    height: 100%;
    width: 110%;
    
}


#the-upside-down  h1 span{
    display: block;
    width: 100%;
    text-align: center;
    line-height: 0.75em;
}

#the-upside-down  h1 .heading-wide-red,
#the-upside-down  h1 .heading-wide-red-fliped {
  
  font-family: "Assistant", sans-serif;
  font-optical-sizing: auto;
  font-weight:800;
  font-style: normal;
  color: #db222a;
}

#the-upside-down  h1 .heading-wide-red-fliped {
    transform: scaleX(-1);
    color:#dc4044;

}




#the-upside-down #details-section{
   align-items: stretch;
    padding: 4rem 2vw;
    gap: 2rem 0;
}

#the-upside-down #details-section .details-item{

    flex: 0 0 50%;
    width: 50%;

    font-size: 2.5rem;

    font-weight: 400;
    line-height: 1em;
    position: relative;
  
    padding-top:1rem;
    padding-bottom:1rem;

    display: flex;
    justify-content: center;
    align-items: center;

}


#the-upside-down #details-section .details-item:nth-child(even):before{
    content: '';
    display: block;
    width:1px;
    height: 90%;
    position: absolute;
    top:5%;
    right:0;
    border-left: 2px dotted #403f44;


}

#the-upside-down #details-section .details-item:nth-child(-n+2):after{
    
    content: '';
    display: block;
    width:90%;
    height: 1px;
    position: absolute;
    bottom: -1rem;
    left:5%;
    border-bottom: 2px dotted #403f44;

}

#the-upside-down #details-section .details-item .assit-font{
    font-family: "Assistant", sans-serif;
}

#the-upside-down #details-section .details-item-meetings{
    font-size: 3rem;
}

#the-upside-down #details-section .details-item .meeting-num{
    font-size: 1.75em;
}
/*
#the-upside-down #details-section .details-item .plus{
    line-height: 0;
}

*/

#the-upside-down #timeline-section{
    background-image: url('../img/workshop-timeline-bg.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 6rem 15px 12rem;
    position: relative;
}


#the-upside-down #timeline-section h2{

    color:#db222a;
    font-size: calc(5rem + 4vw);
     padding: 6rem 15px;

}

#the-upside-down h2,#the-upside-down h3{
     font-family: "Karantina", system-ui;
     font-weight: 400;
     font-style: normal;
}

#the-upside-down #timeline-section h3,
#the-upside-down #timeline-section p,
#the-upside-down #intro-section p{
    font-weight: 300;
    font-size: calc(2rem + 1vw);
    margin-bottom: 0;
    line-height: 1.15em;
}

#the-upside-down #intro-section p{
      margin-bottom: 1rem;
}

#the-upside-down #timeline-section h3{
    padding-top:2rem;
     padding-bottom:1rem;
}

#the-upside-down #timeline-section:before,
#the-upside-down #timeline-section:after{

    content: '';
    display: block;
    width:40%;
    aspect-ratio: 1 / 1;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;

}

#the-upside-down #timeline-section:before{
    
    background-image: url('../img/red-dots.gif');
    top:15px;
    left:1px;

}

#the-upside-down #timeline-section:after{
    background-image: url('../img/red-dots-2.gif');
    bottom:15px;
    right:15px;
}

#the-upside-down #contact-section{
    
    padding-top:3rem;
    padding-bottom:3rem;
    font-size: calc(2.5rem + 1vw);
    font-weight: 400;
    line-height: 1em;
}

#the-upside-down #contact-section a{
    color:#db222a;
}

#the-upside-down .landing-about-section {

     font-family: "Assistant", sans-serif;

    background-color: #a0a0a0;
    background-image: url(../img/about-bg.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top;
    padding: 2rem;
    padding-top:60vw;
    position: relative;
    margin-right: -3vw;
    margin-left:-3vw;
    

}

#the-upside-down .landing-about-section .landing-about-row{
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  
}

#the-upside-down .landing-about-section  .landing-about-wrap {

    max-width: 600px;
    padding: 2rem 2rem 4rem;
    background-color: rgba(255, 255, 255, .5);
}

#the-upside-down .landing-about-section  .landing-about-wrap h2{
    text-align: center;
}

#the-upside-down .landing-about-section  .landing-about-wrap p{
    font-size:1.15rem;
}

.karantina-light {
  font-family: "Karantina", system-ui;
  font-weight: 300;
  font-style: normal;
}

.karantina-regular {
  font-family: "Karantina", system-ui;
  font-weight: 400;
  font-style: normal;
}

@media (min-width: 576px) { 
    #the-upside-down  h1:before{
        display: none;
    }

    #the-upside-down #intro-section p{
 
       margin-bottom: 0;
    }

    #the-upside-down .landing-about-section  .landing-about-wrap p{
        font-size:1.5rem;
    }
}
@media (min-width: 768px) { 
     #the-upside-down  h1 span{
        line-height: normal;
        width: auto;
    }

    #the-upside-down  h1 .heading-wide-red,
    #the-upside-down  h1 .heading-wide-red-fliped {
        font-size: 1.025em;
        line-height: 0.95em;
    }

    #the-upside-down #details-section{
        
            gap:  0;
        }


      #the-upside-down #details-section .details-item{
        flex: 0 0 25%;
        width: 25%;
        font-size: 4rem;
        border-left: 2px dotted #403f44;
    }

    #the-upside-down #details-section .details-item-meetings{
        font-size: 5rem;
    }

    #the-upside-down #details-section .details-item:first-child{
    
        border-right: 2px dotted #403f44;
    }

    #the-upside-down #details-section .details-item:nth-child(even):before,
    #the-upside-down #details-section .details-item:nth-child(-n+2):after{
        display: none;
    }
    

    #the-upside-down  h1{
        padding-bottom: 12rem;
    }

    #the-upside-down .landing-about-section {
        background-size: cover;
        padding-top:2rem;
    }
}

@media (min-width: 1200px) { 
    #the-upside-down #intro-section{

   

        padding-top: 680px ;
    }

     #the-upside-down  h1:before{    
        display: block;
        background-image: url('../img/header-red-dots.gif');
        top: -7vw;
        right: 20vw;
        height: 25vw;
        width: 35vw;
    }
   
}