/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700&display=swap');

/* Hide spanish by default */
#esmain, .bubbleES, #espanolform, #faqespanol, #espanolinput, #espanolh2 {
  display: none;
}


*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Nunito', sans-serif;
}
body{
  /* display: flex; */
  /* padding: 0 10px; */
  padding: 5%;
  min-height: 100vh;
  align-items: center;
  background: transparent;
  justify-content: center;
  background-color: #5a918d90;
}

/* nav {
  padding: 5%;
} */

nav button {
    color: white;
    cursor: pointer;
    margin-top: 20px;
    font-size: 1.25rem;
    background: #4E7E7A;
    padding: 1%;
    border-radius: 10px;
    border:4px solid #4E7E7A;
    font-weight: 800;
}

nav a {
  text-decoration: none;
  color: black;
  font-size: 1.5rem;
}

main {
    margin: 5%;
}

main a, footer a, section a {
  text-decoration: none;
  color: black;
  border-bottom: 1px solid #4E7E7A;
}

.instructions p {
    font-size: 1.15rem;
    text-align: center;
}

.wrapper{
  background: #fff;
  border-radius: 7px;
  padding: 20px 25px 0;
  transition: height 0.2s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  /* float: right; */
  margin-right: 5%;
}
.wrapper.active{
  height: 600px;
}
header h1{
  font-size: 2.5rem;
  font-weight: 500;
}
header p{
  margin-top: 5px;
  color: #575757;
  font-size: 16px;
}
.wrapper .form{
  margin: 20px 0 25px;
}
.form :where(input, button){
  width: 100%;
  height: 55px;
  border: none;
  outline: none;
  border-radius: 5px;
  transition: 0.1s ease;
}
.form input{
  font-size: 18px;
  padding: 0 17px;
  border: 1px solid #999;
}
.form input:focus{
  box-shadow: 0 3px 6px rgba(0,0,0,0.13);
}
.form input::placeholder{
  color: #999;
}
.form button{
  color: #fff;
  cursor: pointer;
  margin-top: 20px;
  font-size: 1.25rem;
  background: #4E7E7A;
}
.qr-code{
  opacity: 0;
  display: flex;
  padding: 33px 0;
  border-radius: 5px;
  align-items: center;
  pointer-events: none;
  justify-content: center;
  border: 1px solid #ccc;
}
.wrapper.active .qr-code{
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.5s 0.05s ease;
}
.qr-code img{
  width: 170px;
}

section {
    margin-left: 5%;
    margin-right: 5%;
}



.friend {
    background-image: url("friend.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    float: left;
    width: 40%;
    height: 300px;
}

.bubble, .bubbleES {
    position: relative;
    background: transparent;
    border: 9px solid #4E7E7A;
    color: #1a1a1a;
    font-family: Roboto;
    font-size: 20px;
    text-align: center;
    /* height: 250px; */
    border-radius: 10px;
    padding: 1%;
}
.bubble:after, .bubbleES:after {
    content: '';
    position: absolute;
    display: block;
    width: 0;
    z-index: 1;
    border-style: solid;
    border-color: #4E7E7A transparent;
    border-width: 20px 20px 0;
    bottom: -20px;
    left: 50%;
    margin-left: -20px;
}

.bubble p, .bubbleES p {
    font-size: 1.5rem;
}

#faqenglish, #faqespanol {
  margin-top: 5%;
  margin-right: 5%;
}
#faqenglish a, #faqespanol a {
  color: black;
}


footer {
  margin: 15%;
}

@media (min-width: 769px){
    .sec1 {
        width: 50%;
        float: left;
    }
    .friend {
      float: none;
      margin: auto;
    }

    .bubble p, .bubbleES p {
      font-size: 2rem;
      padding: 0;
    }
}

@media (max-width: 769px){
  header p{
    color: #696969;
  }
  .form :where(input, button){
    height: 52px;
  }
  .qr-code img{
    width: 160px;
  }  
  .friend {
      float: none;
      width: 100%;
  }

  section {
      margin: 0;
  }
  
}








.landing-wrapper {
  overflow: hidden; 
}

#landing-one {
  float: left;
  width: 50%;
}

#landing-two {
  width: 50%;
  float: right;
}

@media screen and (max-width: 800px) {
  #landing-one {
    float: none;
    width: 100%
  }

  #landing-two {
    width: 100%;
  }
}