/*
Theme Name: MBE Fits – Mail Boxes Etc.
Author: Ludovico Botalla
*/

/* ----- Overall styles ----- */
*, *:before, *:after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
    -webkit-box-sizing: inherit;
    scrollbar-color: transparent transparent; /* thumb and track color */
    scrollbar-width: 0px;
    -ms-overflow-style: none;
}
*::-webkit-scrollbar { width: 0; }
*::-webkit-scrollbar-track { background: transparent;}
*::-webkit-scrollbar-thumb {
    background: transparent;
    border: none;
}

html {
    font-size: 18px;
    font-weight: 400;
    font-family: 'Roboto', sans-serif;
    text-align: left;
    background-color: #ebebeb;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #221e1f;
}

ol, li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Links */
a {
    color: #221e1f;
    text-decoration: none;
    transition: 0.2s;
}
a:hover {
    color: #969699;
}
a:active {
    opacity: 0.8;
}

/* Text */
h1 {
    font-size: 4rem;
    font-weight: bold;
}
h1 span {
    display: inline-block;
}
h2 {
    font-size: 3.4rem;
    font-weight: bold;
}
h3 {
    font-size: 2rem;
    font-weight: bold;
}
h4 {
    font-size: 1.3rem;
    font-weight: bold;
}
small {
    font-size: 0.8rem;
    font-weight: 500;
}
p {
    text-align: justify;
}
.bold , strong {
    font-weight: 500;
}
.letter-spacing {
    letter-spacing: 0.05rem;
}

/* colors */
.grey {
    color: #969699;
}
.red {
    color: #e2001a;
}
.white {
    color: #ffffff;
}
.shadow {
    box-shadow: 0.1rem 0 2rem #6e6e6e23;
}

/* Alignement */
.right { text-align: right; }
.center { text-align: center; }

/* Cursor */
.pointer { cursor: pointer; }

/* Button */
.contribute {
    width: fit-content;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03rem;

    color: #fff;
    background-color: #e2001a;
    border-radius: 2rem;
    border: 1px solid #e2001a;
    padding: 0.4rem 0.9rem;

    cursor: pointer;
    transition: 0.2s;
}
.contribute:hover {
    background-color: #fff;
    color: #e2001a;
}

/* Containers */
.flex-column {
    display: flex;
    flex-direction: column;
}
.flex {
    display: flex;
}
.wrap {
    flex-wrap: wrap;
}
.space-between { justify-content: space-between; }
.space-around { justify-content: start; }

/* Particles */
#particles-js {
    position:fixed;
    width: 100%;
    height: 100%;
    background-color: #ebebeb;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    z-index: 0;
}

/* Z-index */
.z1 {
    position: relative;
    z-index: 1;
}
.z2 {
    position: relative;
    z-index: 2; 
}

/* --------------------------------------------------------------------------- Sections ----------------------------------------------------------------------------- */

/* Destop nav */
.navbar-l {
    height: 4.8rem;
    width: 62vw;
    margin-right: 30rem;
    position: fixed;
    align-items: center;
    background-color: white;
    border-radius: 0 0 2.2rem 0;
    z-index: 4;
    padding: 0.8rem 2.6rem 1rem 2.6rem;
    justify-content: space-around;
}
.navbar-l small {
    margin-top: 0.5rem;
}
.navbar-l img {
    width: 4.6rem;
}

/* Drop down menu */
.dropbtn {
    position: relative;
    border: none;
    cursor: pointer;
    font-size: .8rem;
    background: transparent;
}
.dropdown {
    position: fixed;
    display: inline-block;
    top: 3.9%;
    right: 3%;
    z-index: 10;
    font-size: .8rem;
}
.dropdown img {
    width: .5rem;
}
.dropdown-content {
    display: none;
    position: absolute;
    padding-top: .5rem;
    right: 0;
    z-index: 1;
    text-align: right;
}
.dropdown-content a {
    color: black;
    padding: 8px 16px;
    text-decoration: none;
    display: block;
}
.dropdown-content a:hover {color: #969699}
.dropdown:hover .dropdown-content { display: block;}

/* Mobile nav */
.open-menu {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 3;
    width: 5rem;
    display: none;
}
.overlay {
    height: 0%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    overflow-y: hidden;
    transition: 0.5s;
    z-index: 4;
}
.overlay-content {
    position: relative;
    top: 12%;
    width: 100%;
    text-align: center;
    margin: auto;
}
.overlay small, .overlay span {
    padding: 1rem;
    display: block;
}
hr {
    height:0.1px;
    background-color: #969699;
    margin: 0 20rem;
}
.overlay .closebtn {
    color: #221e1f;
    position: absolute;
    top: .7rem;
    right: 1.8rem;
    font-size: 60px;
}

/* ----------------------- Landing -------------------------- */

.slideshow img {
    display: block;
    float: right;
    max-height: 100%;
    margin-right: 4rem;
    max-width: 100vw;
}
.slideshow {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
.claim {
    max-width: 45%;
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    left: 10%;
    z-index: 3;
}
.claim h1 {
    margin-bottom: 2.5%;
}
.claimImgContainer {
    margin-right: 35%;
    margin-top: 4%;
    align-items: center;
}
.claimImgContainer img {
    width: 30%;
}
#claimImgContainer2 {
    margin-top: 2%;
}
#mbeLogo { width: 40%;}
#postnet-logo { margin: 0 5%;}
#multicopy-logo { width: 25%; margin-left: 5%;}
#packsend-logo { width: 28%; }

/* ----------------------- Mission -------------------------- */

.mission-how-it-works {
    background-color: white;
    height: fit-content;
    border-radius: 0 13rem 0 40rem;
    margin-top: -21rem;
}

/* --------------------- Video Tabs ------------------------- */

/* tab container*/
.tab-container {
    width: 80%;
    margin: -3rem auto 0 auto;
}
/* Style the tab */
.tab { overflow: hidden; }

/* Style the buttons inside the tab */
.tab button {
    color: #969699;
  background-color: #fff;
  float: left;
  border: none;
  border-radius: 1rem 1rem 0 0;
  outline: none;
  cursor: pointer;
  padding: 1% 1.7% .6% 1.7%;
  transition: 0.3s;
  margin-right: .2rem;
  font-size: .85rem;
}
/* Change background color of buttons on hover */
.tab button:hover {
    color: #fff;
    opacity: .6;
    background-color: #969699;
}
/* Create an active/current tablink class */
.tab button.active {
    color: #fff;
    background-color: #969699;
}
/* Style the tab content */
.tabcontent {
  display: none;
  padding-top: .1rem;
  border-top: none;
  background-color: #fff;
}

/* -------------------------- Text --------------------------- */

.mission-container {
    width: 80%;
    margin: 0 auto;
    padding-top: 23rem;
}
.mission-container img {
    max-width: 9rem;
    padding-bottom: 0.4rem;
}
.mission-text-values-container {
    padding-top: 1.3rem;
}
.mission-text-values-container p {
    width: 60%;
}
.mission-values {
    width: 30%;
    margin: -1rem 2rem 0 0;
    font-style: italic;
}

/* Counter */

.country { background-color: #ebebeb; }
.topic { background-color: #ffffff; }
.counter {
    text-align: center;
    align-items: center;
    border-radius: 2rem;
    padding: 1.4rem 1.5rem 0 1.5rem;
    box-shadow: 0.1rem 0.1 2rem #6e6e6e23;
    width: 55%;
    margin: 6rem auto;
}
.numbers-container {
    margin-top: 1rem;
    justify-content: space-around;
    width: 100%;
}
.counter button {
    position: relative;
    top: 0.9rem;
}
.numbers {
    text-align: center;
    margin: 0 1.6rem 1rem 1.6rem;
}

/* -------------------- How it works ------------------------ */

.how-it-works {
    width: 100%;
    padding: 5% 10%;
}
.how-it-works-text {
    width: 36%;
    min-width: 26rem;
    flex-grow: 2;
    padding-right: 5%;
    margin-bottom: 3rem;
}
.how-it-works-text p {
    margin-top: 2rem;
}
/* carousel */
.carousel {
    overflow: hidden;
    max-width: 600px;
    position: relative;
    flex-grow: 2;
    padding-top: 1rem;
}
  
.carousel .carousel__item, .carousel .carousel__item--hidden {
    display: none;
}
  
.carousel .carousel__item img {
    width: 100%;
    max-width: 600px;
    height: auto;
}
.carousel__item h2 {
    line-height: 3rem;
}
  
  .carousel .carousel__item--visible {
    display: block;
    
}
.carousel .carousel__actions {
    display: flex;
    width: 100%;
    justify-content: space-between;
    position: absolute;
    top: 40%;
}
.carousel .carousel__actions button {
    background: transparent;
    border: 0;
    font-weight: bold;
    cursor: pointer;
    width: 2rem;
    height: 2rem;
}
#carousel__button--prev , #carousel__button--next  {
    width: 2rem;
    height: 2rem;
}
  
@keyframes fadeVisibility {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
      transform: opacity linear;
    }
}

/* ----------------------- Form ---------------------------- */

.form-background {
    background-color: white;
    border-radius: 40rem 0 0 0;
    padding-top: 4rem;
}
/* form intro */
.form-intro {
    text-align: center;
    width: 60%;
    margin: 0 auto;
}
.form-intro img {
    width: 10rem;
    margin-bottom: 2rem;
}
.form-intro-1 {
    margin-bottom: 0%;
}
.form-intro-text {
    text-align: left;
    width: 50%;
    padding: 1rem 1rem 0 1rem;
    min-width: 21rem;
    flex-grow: 2;
}
.form-intro-text p {
    margin: 1rem 0;
}
.form-intro-text small {
    margin: 3% 0;
    font-weight: 400;
}

/* form container / title */
.form {
    width: 60%;
    border: 0.1rem solid #ebebeb;
    border-radius: .3rem;
    box-shadow: 0.3rem 0.3rem 1rem #ebebeb;
    background-color: #fff;
    position: relative;
    margin: -12rem auto 0 auto;
    padding: 5%;
    top: 15rem;
}
.form h3 {margin-bottom: 4rem;}

.form-label {
    color: #969699;
    position: relative !important;
    bottom: -0.8rem !important;
}
.form-label2 {
    color: #969699;
    position: relative !important;
    bottom: -0.3rem !important;
}

/*----------------------- WP Form ---------------------*/

/* -- Main -- */


/* label */
.wpforms-form .wpforms-field-label {
    font-weight: 400 !important;
    color: #969699 !important;
}
/* label description */
.wpforms-form .wpforms-field-description {color: #969699 !important;}

/* placeholder */
.wpforms-container ::-webkit-input-placeholder { /* Chrome and Safari */ color: rgba(150, 150, 150, 0.4) !important;}
.wpforms-container :-moz-placeholder { /* Mozilla Firefox 4 to 18 */ color: rgba(150, 150, 150, 0.4); opacity: 1 !important;}
.wpforms-container ::-moz-placeholder { /* Mozilla Firefox 19+ */ color: rgba(150, 150, 150, 0.4) ; opacity: 1 !important;} 
.wpforms-container :-ms-input-placeholder { /* Internet Explorer 10-11 */ color: rgba(150, 150, 150, 0.4) !important;}
.wpforms-container ::-ms-input-placeholder { /* Microsoft Edge */ color: rgba(150, 150, 150, 0.4) !important;}

/* input */
.wpforms-container input[type=date], .wpforms-container input[type=datetime], .wpforms-container input[type=datetime-local], .wpforms-container input[type=email], .wpforms-container input[type=month], .wpforms-container input[type=number], .wpforms-container input[type=password], .wpforms-container input[type=range], .wpforms-container input[type=search], .wpforms-container input[type=tel], .wpforms-container input[type=text], .wpforms-container input[type=time], .wpforms-container input[type=url], .wpforms-container input[type=week], .wpforms-container select, .wpforms-container textarea {
    font-weight: 400 !important;
    color: #221e1f !important;
    background-color: rgba(235, 235, 235, 0.4) !important;
    border-radius: .3rem !important;
    border: none !important;
}
/* small and medium fields*/
.wpforms-container input.wpforms-field-small, .wpforms-container select.wpforms-field-small, .wpforms-container .wpforms-field-row.wpforms-field-small, .wpforms-container input.wpforms-field-medium, .wpforms-container select.wpforms-field-medium, .wpforms-container .wpforms-field-row.wpforms-field-medium {
    max-width: 35% !important;
}
/* Large fields */
.wpforms-container input.wpforms-field-large, .wpforms-container select.wpforms-field-large, .wpforms-container .wpforms-field-row.wpforms-field-large {
    max-width: 73% !important;
}

/* Confirmation message */
.wpforms-confirmation-container-full {
    color: #221e1f !important;
    background: #ebebeb !important;
    border: none !important;
    border-radius: .2rem !important;
}

/* -- Required -- */
/* asterisk */
.wpforms-form .wpforms-required-label {display: none !important;}
/* box */
.wpforms-form .wpforms-field input.wpforms-error, .wpforms-form .wpforms-field textarea.wpforms-error, .wpforms-form .wpforms-field select.wpforms-error {
    border: .1rem solid #e2001a !important;
}
/*text*/
.wpforms-container label.wpforms-error {color: #e2001a !important;}

/* -- Single line (your title) --*/
.wpforms-form .wpforms-field.wpforms-field-text input {
    color: #221e1f !important;
}

/*-- Paragraph text --*/
.wpforms-form .wpforms-field.wpforms-field-textarea textarea {
    font-family: 'Roboto', sans-serif;
    color: #221e1f !important;
    max-width: 100% !important;
}

/* -- Button -- */
div.wpforms-container-full .wpforms-form input[type=submit], 
div.wpforms-container-full .wpforms-form button[type=submit] {
    background-color: #e2001a !important;
    border: .1rem solid #e2001a !important;
    color: #fff !important;
    font-size: 1rem !important;
    padding: .4rem 1.2rem !important;
    font-weight: bold !important;
    /*custon css*/
    text-transform: uppercase;
    letter-spacing: 0.03rem;
    border-radius: 2rem;
    transition: 0.2s;
    margin: 0 auto !important;
    display: inline !important;
}
/* button hover */
div.wpforms-container-full .wpforms-form input[type=submit]:hover, 
div.wpforms-container-full .wpforms-form input[type=submit]:active, 
div.wpforms-container-full .wpforms-form button[type=submit]:hover, 
div.wpforms-container-full .wpforms-form button[type=submit]:active, 
div.wpforms-container-full .wpforms-form .wpforms-page-button:hover, 
div.wpforms-container-full .wpforms-form .wpforms-page-button:active {
    background-color: #fff !important;
    border: .1rem solid #e2001a !important;

    color: #e2001a !important;
    align-self: center !important;
}
.send {
    font-weight: 400;
    font-size: .75rem !important;
    color: #969699 !important;
    position: relative !important;
    top: 4.7rem !important;

}

/* Dropdown Box */
.wpforms-form .choices__inner {
    border: .1rem solid #ebebeb !important;
    border-radius: .3rem !important;
    z-index: 10 !important;
}




/* ----------------- Success cases ------------------------- */

.success {margin-top: 22rem;}
.success-text {
    width: 80%;
    margin: 0 auto 2rem auto;
}
.success-text p , .success-text h1 {width: 50%;}
.success-text h1 {margin-bottom: 1rem;}
.case-container {
    width: 80%;
    margin: 0 auto;
}
.case {
    align-items: center;
    margin-top: 1.6%;
    width: 49%;
    padding: 1rem;
    background-color: #ffffff;
}
.case img {
    width: 30%;
    max-width: 20rem;
}
.case-text {
    width: 70%;
    margin: 1rem 0 1rem 1rem;
}
.case p { text-align: left;}

/* ----------------- Past editions --------------------------*/

.past-editions {
    padding-top: 1rem;
    margin-top: 5rem;
    border-radius: 0 30rem 30rem 0;
    background-color: #fff;
}
.in-numbers h1 {
    width: 50%;
    min-width: 26rem;
    margin-bottom: 3rem;
}
.in-numbers {
    width: 75%;
    margin: 3rem 15% 2rem auto;
}
.in-numbers-container {
    width: 50%;
    flex-grow: 2;
}
.in-numbers-container h3 {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}
.in-numbers-text-container {
    align-items: center;
}
.in-numbers-text {
    flex-grow: 2;
    min-width: 10rem;
}
.in-numbers-text-right {
    text-align: right;
    flex-grow: 2;
    min-width: 10rem;
    margin-top: 3rem;
}
.in-numbers-text-right  strong {
    font-size: 20rem;
    line-height: 15rem;
}
.in-numbers-text-right  h3{
    margin-top: 1.5rem;
}

/* Gallery */
.gallery-container {
    width: 60%;
    margin: 0 auto;
}

/* ----------------------------- Footer ------------------------------- */

.footer {
    align-items: center;
    margin-top: 16rem;
    padding: 1rem 3rem;
    background-color: #221e1f;
    font-size: 0.9rem;
    justify-content: space-between;
}
.footer-content {
    display: flex;
    margin: 1rem 0;
    width: 20%;
    min-width: 15rem;
    flex-grow: 2;
    align-items: center;
}
.footer-content img {
    margin: 0 auto;
    max-height: 1.7rem;
    width: 15%;
    max-width: 8rem;
    min-width: 4rem;
    flex-grow: 2;
}
#footer-img-container {width: 45%;}
.footer a { color: #ffffff; }
.footer a:hover { opacity: .8; }

#postnet-white-logo { padding: .4rem 0; width: 5%;}
#mbe-white-logo { width: 40%;}
#alphagraphics-white-logo { padding: .1rem 0; width: 12%; }
#multucopy-white-logo { margin: 0 -1rem; }


/* ----------------------------- WP Page ------------------------------- */

.fits-wp-page {
    background-color: #ffffff;
    border-radius: .3rem;
    box-shadow: 0.3rem 0.3rem 1rem #ebebeb;
    padding: 5%;
    z-index: 2;
    width: 60%;
    position: relative;
    top: 5rem;
    margin: 0 auto;
    font-size: .8rem;
}

.fits-wp-page h2 {
    font-size: 1.4rem;
    font-weight: bold;
}
.fits-wp-page h4 {
    font-size: 1rem;
    font-weight: bold;
}
.privacy-indentation {
    text-indent: 30%;
}
.fits-wp-page a {
    color: rgb(0, 119, 255);
}



/* ------------------------------------------------------------------------ Media Queries ------------------------------------------------------------------------ */


/* -------------------- Desktop ----------------------------------- */

@media only screen and (min-width: 2880px) {
    /* Fonts */
    h1 { font-size: 7rem;}
    h2 { font-size: 5.5rem;}
    h3 { font-size: 3rem;}
    h4 {font-size: 1.9rem;}
    small {font-size: 1.6rem;}
    p , strong {font-size: 29px;}

    /* Button */
    .contribute {font-size: 1.6rem; padding: 0.8rem 1.6rem;}

    /* Mission */
    .mission-how-it-works { border-radius: 0 23rem 0 55rem; }
    .mission-container img { max-width: 14rem; margin: 2rem 0 0 0;}
    
    /* Counter */
    .counter button { position: relative; top: 2.2rem;}

    /* Contribute */
    .form-background {border-radius: 55rem 0 0 0;}

    /* Success cases */
    

    /* Past editions */
    .in-numbers-text-right {margin-top: 8rem;}
    .in-numbers-text-right strong { font-size: 30rem;}
    .in-numbers-text p {font-size: 1.6rem;}
}
@media only screen and (min-width: 2300px) {
    /* Fonts */
    h1 { font-size: 6rem;}
    h2 { font-size: 5rem;}
    h3 { font-size: 2.6rem;}
    h4 {font-size: 1.8rem;}
    small {font-size: 1.4rem;}
    p, strong {font-size: 25px;}
    
    /* .navbar-l */
    .navbar-l {height: 7rem; border-radius: 0 0 4rem 0;}
    .navbar-l img {width: 7rem;}

    /* Landing */

    /* Button */
    .contribute {font-size: 1.4rem; padding: 0.7rem 1.4rem;}

    /* Mission */
    .mission-container img { max-width: 12rem; margin: 1rem 0 0 0;}

    /* Counter */
    .counter {margin: 7rem auto;}
    .numbers span { font-size: 1.8rem;}
    .counter button { position: relative; top: 1.6rem;}

    /* Contribute */
    .form-intro img { width: 16rem; margin: 2rem auto 4rem auto;}
}

/*--*/

@media only screen and (max-width: 1440px) {
    /* Fonts */
    h1 {font-size: 3.4rem;}

    /* Mission */
    .mission-how-it-works {border-radius: 0 10rem 0 25rem;}

    /* Counter */
    .numbers {
        text-align: center;
        margin: 0 1rem 1rem 1rem;
    }
    
    /* Form */
    .form-background {border-radius: 25rem 0 0 0;}
    .form-intro, .form {width: 70%;}

    /* Success Cases */
}
@media only screen and (max-width: 1366px) {
    /* Fonts */
    small { font-size: 0.9rem; }
    /* .navbar-l */
    .navbar-l { width: 70vw;}

    /* Landing */
    .slideshow img { margin-right: 0.6rem;}
}
@media only screen and (max-width: 1280px) {
    /* Fonts */
    h1 {font-size: 3rem;}
    .contribute { font-size: 0.7rem;}
    small { font-size: 0.7rem;}

    /* Navbar */
    .navbar-l { height: 3rem; padding: 4% 2%; }

    /* Landing */
    .slideshow img { margin-right: 2rem;}

    /* How it works */
    .how-it-works { justify-content: center;}

    /* Success cases */
    .success-text p , .success-text h1 { width: 100%;}
    .case { width: 100%;}

    /* Footer */
    .footer p {
        text-align: center;
    }
}
@media only screen and (max-width: 920px) {
    /* Navbar */
    .navbar-l { width: "80vw" }

    /* Footer */
    .footer-content {
        width: 100%;
        display: block;
        text-align: center;
    }
}

/* ------------------ Tablets Landscape ---------------------------- */
@media only screen and (max-width: 1024px) and (orientation: landscape) {
    /* Fonts */
    h1 { font-size: 2.4rem;}

    /* Navbar */
    .navbar-l img { width: 4rem;}
    
    /* Landing */
    .slideshow img { margin-right: 0.6rem;}
}

/* ------------------ Tablets Portrait ---------------------------- */

@media only screen and (max-width: 1024px) and (orientation: portrait)  {
    /* Fonts */
    h1 { font-size: 4rem;}
    small {font-size: 2rem;}

    /* Containers */
    .space-around { justify-content: space-around; }

    /* Navbar desktop */
    .navbar-l small { display: none;}
    .navbar-l { width: fit-content; height: fit-content; padding: 4%;}
    .navbar-l img { width: 7rem;}

    /* Drop down menu */
    .dropdown {display: none;}

    /* Navbar mobile */
    .open-menu {display: inline;}

    /* navbar-l mobile */
    .nav-mobile { display: inline;}

    /* Landing */
    .claim {
        top: auto;
        bottom: 0;
        left: 0;
        max-width: 100%;
        background-color: #ffffff;
        z-index: 2;
        padding: 3rem 6rem 2rem 6rem;
        border-radius: 6rem 6rem 0 0;
        text-align: center;
        margin-bottom: 0;
        transform: none;
    }
    .claim h1 { text-align: left; }
    .slideshow img {
        margin: 0 auto;
        float: none;
        max-width: 80%;
    }
    .contribute {
        font-size: 1.5rem;
        padding: 0.8rem 1.9rem;
        margin: 0 auto;
    }
    .counter button {
        top: 1.6rem;
    }
    .claimImgContainer { margin-right: 0; }
    .claimImgContainer img {
        width: 30%;
    }
    #mbeLogo {
        width: 35%;
    }
    #postnet-logo {
        margin: 0 5%;
    }

    /* Video */
    /* tab container*/
    .tab-container {
        width: 80%;
        margin: 0 auto 0 auto;
    }

    /* Mission */
    .tab-container {
        margin: 0 auto;
        padding: 2rem 0;
    }
    /* Style the buttons inside the tab */
    .tab button {
        font-size: 1rem;
        background-color: #ececec;
        border-radius: .3rem .3rem 0 0;
    }
    /* Style the tab content */
    .tabcontent { background-color: #ececec; }

    .mission-how-it-works {
        border-radius: 0 0 0 15rem;
        margin-top: 0;
        padding-top: 2rem;
        height: fit-content
    }
    .video-background {
        background-color: #fff;
    }
    .mission-container {
        padding-top: 0;
    }
    .mission-text-values-container {
        justify-content: center;
    }
    .mission-text-values-container p {
        width: 100%;
    }
    .mission-values {
        width: 80%;
        margin: 4rem 0 0 0;
    }

    /* How it works */
    .how-it-works {padding: 5% 10%;}
    .how-it-works-text {padding: 0; min-width: 0;}

    /* Counter */
    .country, .topic {
        width: 80%;
        margin: 4rem auto;
    }
    .numbers {
        margin: 0 1rem 1rem 1rem;
    }
    .mission-values h3 {
        font-size: 2.6rem;
    }
    /* Form */
    .form-background {
        border-radius: 15rem 0 0 0;
    }
    .form-intro, .form {
        width: 80%;
    }
    .form-intro-text {
        width: 100%;
        min-width: 5rem;
    }
    .form-label , .form-label2 {
        margin-bottom: 0;
    }
    /* form container / title */
    .form {padding: 8%;}

    /* Past editions */
    .in-numbers {
        width: 80%;
        margin: 6rem auto ;
    }

    /* Gallery */
    .gallery-container {
        width: 80%;
        margin: 0 auto;
    }

    /* Footer */
    .footer { margin-top: 10rem;}
    .footer-logo {
        min-width: 10rem;
    }
    .footer-logo img {
        min-width: 10rem;
        margin: 1rem;
    }
}
@media only screen and (max-width: 768px) and (orientation: portrait) {
    /* Fonts */
    h1 { font-size: 3rem;}
    small {font-size: 1.5rem;}

    /* Navbar desktop */
    .navbar-l img { width: 5.5rem; }

    /* Navbar mobile */
    .open-menu {
        top: 1rem;
        right: 1rem;
        width: 4rem;
    }
    .overlay .closebtn {
        top: 1.4rem;
        right: 2.4rem;
        font-size: 50px;
    }
    .overlay small, .overlay span {
        padding: 0.8rem;
    }

    /* Landing */
    .claim {
        padding: 2rem 6rem 1.5rem 6rem;
        border-radius: 4rem 4rem 0 0;
    }
    .contribute {
        font-size: 1.1rem;
        padding: 0.6rem 1.6rem;
    }

    /* Form */
    .form {
        width: 100%;
    }
}

/* ----------------------- Mobile Portrait ------------------------------- */

@media only screen and (max-width: 600px) and (orientation: portrait) {
    /* Fonts */
    h1 { font-size: 2.9rem;}
    h2 { font-size: 2.4rem; }
    small { font-size: 1rem;}

    /* Navbar mobile */
    .open-menu {
        top: .9rem;
        right: .5rem;
        width: 3rem;
    }
    .overlay .closebtn {
        top: 1.1rem;
        right: 1.5rem;
        font-size: 40px;
    }
    .overlay small, .overlay span {
        padding: 0.4rem;
    }
    .overlay-content {top: 18%;}

    /* Past editions */
    .in-numbers-text-right strong {font-size: 15rem; line-height: 10rem;}

    /* Landing */
    .claim { padding: 1rem 3rem 0.7rem 3rem; }
    .claim h1 {margin-bottom: 0;}
    .slideshow img {max-width: 100%;}

    /* How it works */
    .how-it-works {padding: 5% 10%;}
    
    /* Form */
    .form-background { border-radius: 15rem 0 0 0;}
    .form-intro { margin-top: 2rem;}
    .form-intro img {margin-bottom: 2rem;}
    .form-intro-text h3 { margin: -1rem 0 2rem 0;}

    /* wP Form */
    /* small and medium fields*/
    .wpforms-container input.wpforms-field-small, .wpforms-container select.wpforms-field-small, .wpforms-container .wpforms-field-row.wpforms-field-small, .wpforms-container input.wpforms-field-medium, .wpforms-container select.wpforms-field-medium, .wpforms-container .wpforms-field-row.wpforms-field-medium {
        max-width: 100% !important;
    }
    /* Large fields */
    .wpforms-container input.wpforms-field-large, .wpforms-container select.wpforms-field-large, .wpforms-container .wpforms-field-row.wpforms-field-large {
        max-width: 100% !important;
    }
    .send {top: 0.5rem !important;}

    /* Success Cases */
    .case {display: block; text-align: center; padding: 1.2rem; margin-bottom: 1rem;}
    .case img ,.case-text {margin: 0 auto; width: 100%;}
    .case-text {margin-top: .5rem;}
    
}
@media only screen and (max-width: 480px) and (orientation: portrait) {
    /* Fonts */
    h1 { font-size: 2.6rem; }
    h2 { font-size: 2.3rem; }
    h3 { font-size: 1.7rem; }
    p { text-align: left; }

    /* .navbar-l */
    .navbar-l { padding: 0.8rem 1.4rem 0.8rem 1.2rem;}
    .navbar-l img { width: 4rem; }

    /* Landing */
    .claim h1 { font-size: 2rem; margin-bottom: 4.5%; }
    .claim {
        padding: 1.5rem 2.5rem 1rem 2.5rem;
        border-radius: 3rem 3rem 0 0;
    }
    .claimImgContainer {
        margin-top: 5.5%;
        align-items: center;
        position: relative;
        z-index: 4;
    }
    .contribute {
        font-size: 0.8rem;
        padding: 0.4rem 1.2rem;
    }

    /* Mission */
    .video-background {
        margin-top: -17%;
        padding-top: 2rem;
    }
    .mission-values {
        width: 100%;
        margin: 3rem 0 0 0;
    }
    .mission-values h3 {
        font-size: 1.8rem;
    }
    .mission-container img {
        max-width: 7rem;
    }

    /* How it works */
    .carousel .carousel__actions {top: 25%;}
    .carousel .carousel__actions button {width: 1.5rem; height: 1.5rem;}
    
    /* Counter */
    .numbers h1 {
        font-size: 3rem;
    }

    /* Form */
    .form-intro-text {
        padding: 0;
    }
    .form-intro img {
        width: 50%;
    }

    /* Past editions */
    .in-numbers h1 {
        min-width: 10rem;
        margin-bottom: 3rem;
    }
    .in-numbers-text h2 {
        font-size: 2.4rem;
    }
    .in-numbers-container {
        width: 100%;
    }
    .in-numbers-text-right strong {
        font-size: 10rem;
        line-height: 1rem;
    }
    .in-numbers-text-right {
        width: 100%;
    }
    .in-numbers-text {
        margin-bottom: 2rem;
    }
    .in-numbers-text h3{
        font-size: 1.6rem;
    }
    .in-numbers-text p {
        line-height: 0.6rem;
    }
    .in-numbers-text-right {
        text-align: center;
    }
    .in-numbers-text-right strong {
        font-size: 16rem;
        line-height: 12rem;
    }
    /* Gallery */
    .gallery-container { width: 100%;}
    
    /* Footer */
    .footer { margin-top: 5rem;}
}
@media only screen and (max-width: 320px) and (orientation: portrait) {
    /* Fonts */
    h1 {
        font-size: 1.8rem;
    }
    /* Landing */
    .claim {
        padding: 1rem 2rem 0.8rem 2rem;
        border-radius: 2rem 2rem 0 0;
    }
    .claim h1 {
        line-height: 2rem;
    }
    .contribute {
        font-size: 0.7rem;
        padding: 0.5rem 1.2rem;
    }

    /* How it works */
    .carousel .carousel__actions {top: 4rem;}
    .carousel .carousel__actions button {width: 1.5rem; height: 1.5rem;}
}

/* --- Iphone 5 --- */
@media only screen and (max-width: 320px) and (max-height: 568px) {
    /* Navbar mobile */
    .overlay small, .overlay span { padding: 0.3rem;}
    .overlay-content {top: 15%;}

    /* Landing */
    .claim h1 {
        font-size: 1.6rem;
        line-height: 1.6rem;
    }
    .contribute {
        padding: 0.4rem 0.7rem;
        font-size: 0.6rem;
    }

    /* Form */
    .form-intro img {
        width: 60%;
    }
}
/* --- Iphone 3 --- */
@media only screen and (max-width: 320px) and (max-height: 480px) {
    /* Fonts */
    small {font-size: 0.8rem;}

    /* Navbar mobile */
    .overlay-content {top: 15%;}

    /* Landing */
    .slideshow img { margin-top: -2.3rem;}
    .claim h1 {font-size: 1.4rem;}
    .contribute {
        padding: 0.3rem 0.6rem;
        font-size: 0.6rem;
    }

}
/* --- Iphone X --- */
@media only screen and (max-width: 375px) and (max-height: 812px) {

    /* Landing */
    .slideshow img {
        padding-top: 2.3rem;
        padding-right: 0.6rem;
        max-width: 103vw;
    }
}

/* -- Galaxy Fold --*/
@media only screen and (max-width: 280px) and (max-height: 700px) {
    .footer-content {
        min-width: 0;
    }
}

/* ---------------------- Mobile Landscape ------------------------------*/
@media only screen and (max-width: 840px) and (orientation: landscape) {
    /* Fonts */
    h1 {font-size: 2rem}
    small {font-size: 0.6rem;}

    /* Nav Desktop */
    .navbar-l {padding: 0 1rem;}

    /* Landing */

    /* Mission */
    .mission-how-it-works { margin-top: -12rem; }
    .mission-container { padding-top: 13rem;}
    .mission-text-values-container {
        justify-content: center;
    }
    .mission-text-values-container p {
        width: 100%;
    }
    .mission-values {
        width: 80%;
        margin: 4rem 0 0 0;
    }

    /* Success cases */
}
@media only screen and (max-width: 660px) and (orientation: landscape) {
    /* Fonts */
    h1 { font-size: 1.8rem;}
    h2 { font-size: 2.4rem; }

    /* Nav desktop */
    .navbar-l {width: 87vw; height: fit-content; padding: .5rem .8rem;}
    .navbar-l img {max-width: 3.4rem;}

    /* Landing */
    .slideshow {height: 120vh}
    .claim {top: 27%}
    .contribute {
        font-size: 0.4rem;
        padding: .2rem .4rem;
    }
}
@media only screen and (max-width: 570px) and (orientation: landscape) {
    /* Fonts */
    h1 { font-size: 1.7rem;}
    h2 { font-size: 2.4rem; }

    /* Nav desktop */
    .navbar-l {width: 87vw; height: fit-content; padding: .5rem .8rem;}
    .navbar-l img {max-width: 3.4rem;}

    /* Landing */
    .slideshow {height: 120vh}
}
