 @import "../shared-styles/modal.css";
/* HEADER */
header {
    position: absolute;
    top: 0;
    left: 0;
    height: 60px;
    width: 100%;
    z-index: 999;
}
.header_wrap{
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
}
/* BANNER */
.banner__section {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    height: 85vh;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
}
#map {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
}
.mapboxgl-ctrl-bottom-right{
    display: none;
}
.mapboxgl-popup-anchor-top .mapboxgl-popup-tip{
    position: absolute;
    z-index: 99;
    top: 50%;
    left: 0;
    transform: translate(-75%, -50%) rotate(-90deg);

}
.mapboxgl-popup {
    max-width: 800px;
}
.mapboxgl-popup-content{
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: var(--r16) var(--r16) 0;
}
.mapboxgl-popup-content .main-logo{
    width: 40%;
    height: auto;
    align-self: center;
}
.mapboxgl-popup-content strong{
    font-family: "Organic Brand";
    font-size: 12pt;
    font-weight: 500;
    line-height: 1.4;
    margin: 10px 0px;
}
.mapboxgl-popup-content p.address{
    display: flex;
    gap: 10px;
    align-items: center;
}
.mapboxgl-popup-content p.address img {
    width: 20px;
    height: 20px;
}
.mapboxgl-popup-content p {
    font-family: "Typo Gortesk Regular";
    font-size: 10pt;
    font-weight: 400;
    margin-bottom: 0.7rem;
}
.mapboxgl-popup-content p strong {
    font-family: "Typo Gortesk Regular";
    font-size: 10pt;
    font-weight: 600;
    margin: 10px 0px;
}
.mapboxgl-popup-close-button{
    right: 4%;
    top: 2%;
    font-size: 12pt;
}
/* FORM */
.form__section{
    height: 100%;
    width: 100%;
    position: relative;
    background: url("/assets/webp/paper-textured-background.webp") no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;        
    flex-direction: column;
    align-items: center;
}
.ele-1{
    position: absolute;
    top: 4%;
    right: -3%;
    width: 15%;
    height: auto;
}
.ele-2{
    position: absolute;
    top: 22%;
    left: 1%;
    width: 15%;
    height: auto;
}
.ele-3 {
    position: absolute;
    bottom: 6%;
    right: 6%;
    width: 15%;
    height: auto;
}
.section__content-wrap{
    padding: var(--r80) var(--r40) 0;
    text-align: center;    
 
}
.section__content-wrap h1{
    font-size: clamp(26pt, 8vw, 34pt);
    text-transform: uppercase;
    font-family: var(--organic-font);
}
.section__content-wrap p{
    font-family: "Typo Gortesk Regular";
    font-size: clamp(12pt, 4vw, 12pt);
    font-weight: 400;
    line-height: 1.5;
    
    max-width: 560px;
}
.form__wrapper{    
    max-width: 680px;
    width: 100%;
    margin-bottom: var(--r144);
}
.form__wrapper input, .form__wrapper textarea{
    font-family: "Typo Gortesk Regular";
      font-size: clamp(12pt, 4vw, 12pt);
      font-weight: 400;
      line-height: 1.15;
    
}
.input_wrap{
    position: relative;
}
.error{
    border-color: var(--brand-red) !important;
}
.error::-webkit-input-placeholder {
    color: var(--brand-red);
}

.error::-moz-placeholder {
    color: var(--brand-red);
}

.error:-ms-input-placeholder {
    color: var(--brand-red);
}

.error:-moz-placeholder {
    color: var(--brand-red);
}
.error-text{
    position: absolute;
    top: 50%;
    color: var(--brand-red);
    transform: translate(0%, -50%);
    width: 100%;
    text-align: left;
    padding-left: var(--r30);
    font-family: "Typo Gortesk Regular";
      font-size: clamp(12pt, 4vw, 12pt);
      font-weight: 400;
        
}
.form__wrapper button{
    background-color: var(--brand-orange);
    color: var(--text100);
    font-family: "Typo Gortesk Regular";
      font-size: clamp(12pt, 4vw, 12pt);
      font-weight: 400;
      line-height: 1.15;
    
}
@media screen and (max-width: 768px) {

  .section__content-wrap {
    padding: var(--r120) var(--r40) 0;
  }
  .ele-1 {
    top: -2%;
    right: -3%;
    width: 25%;
  }
  .form__wrapper {
    max-width: 560px;
  }
  .ele-2 {
    top: 22%;
    left: -10%;
    width: 25%;
  }
  .error-text {
    position: unset;
    padding-left: unset;
  }  
}
@media screen and (max-width: 560px){    
    .form__section {
        padding: var(--r80) 40px 0;
    }
    .section__content-wrap{
        padding: var(--r80) 0 0;
    }
    .ele-1 {
        top: -1%;
        right: -17%;
        width: 45%;
    }

    .ele-2 {
        top: 10%;
        left: -24%;
        width: 40%;
    }
    .ele-3{
        display: none;
    }
    .form__wrapper {
        max-width: unset;
        width: 100%;
        margin-bottom: var(--r200);
    }
    .form__wrapper input {
        margin-bottom: var(--r16);
    }
    .error-text{
        position: unset;
        padding-left: unset;               
    }
        .mapboxgl-popup-anchor-top .mapboxgl-popup-tip {
            position: unset;
            z-index: 99;
            top: 50%;
            left: 0;
            transform:unset;
    
        }
    
        .mapboxgl-popup {
            max-width: 800px;
        }
}
