
/* this is a css reset that makes sure the browser won't add any unexpected margins or padding to your page */
body, html{
  margin:0;
  padding:0;
  box-sizing: border-box;
  background-color: rgb(255, 255, 255);
}


/* call an element from your html and style it here! */
/* for example... */
img {
  display: block;
  margin: auto;
  width: 30%;
  padding-top: 50px;
  padding-bottom: 25px;
}


iframe {
   width: 100%;
   height: 342px; /* 42px taller than the container */
   border: none;
   position: absolute; /* this allows you to call 'top' on the next line */
   top: -42px; /* shift the iframe 42px up to hide the bar */
}

.iframeWrapper {
   width: 100%; /* match your sketch width */
   height: 300px; /* match your sketch height */
   overflow: hidden; /* hide anything outside bounds */
   position: relative;
}

.alltextcontainer {
  width: 55%;
  display:grid;
  padding: 50px;
}

h1{
    color: rgb(0, 0, 0);
    font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 24px;
  height: auto;
  line-height: 125%;
  position: relative;
}

h2{
  color: rgb(255, 0, 255);
    font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 18px;
  position: relative;
}

.ifthen{
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  color: rgb(0, 0, 0);
  font-size: 14px;
  display: block;
}

p2{
  background-color: rgb(255, 0, 255, 0.5);
  border-radius: 25px;
  padding: 10px;
  margin:5px;
  margin-right: 50px;
}

p3{
  background-color: rgba(255, 255, 0, 0.719);
  border-radius: 25px;
  padding: 10px;
  margin: 5px;
  margin-right: 50px;
}

p4{
  background-color: rgba(0, 255, 255, 0.5);
  border-radius: 25px;
  padding: 10px;
  margin: 5px;
  margin-right: 50px;
}

.extras{
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  color: rgb(0, 0, 0);
  font-size: 12px;
  display: grid;
  text-align:center;
  width:35%;
  margin-left: 65%;
  position: absolute;
  top: 550px;
}

#btn{
  margin-top: 2rem;
  font-family: "Quicksand", sans-serif;
  font-size: 1rem;
  /* color: rgb(255, 0, 255, 0.5); */
  color: rgb(0, 180, 180);
  text-decoration: none;
}

#btn:hover{
  color:red;
}

@media (max-width:768px) {
  h2 {
    color: cyan;
  }
  h1 {
    font-size: 18px;
  }
  .extras {
    top: 500px;
  }
  .alltextcontainer {
    padding:35px;
  }
  img {
    width: 40%;
  }
}

@media (max-width:425px) {
  iframe {
   width: 100%;
   height: 0px; /* 42px taller than the container */
   border: none;
   position: absolute; /* this allows you to call 'top' on the next line */
   top: -42px; /* shift the iframe 42px up to hide the bar */
   display: none;
}
  .iframeWrapper {
   width: 100%; /* match your sketch width */
   height: 300px; /* match your sketch height */
   overflow: hidden; /* hide anything outside bounds */
   position: relative;
   display:none;
}
  img {
    width: 75%;
    padding: 40px;
  }
  .alltextcontainer {
    width:75%;
    padding-left: 35px;
    padding-right: 35px;
    padding-top:0px;
    display: grid;
  }
  h1 {
    font-size: 14px;
  }
  h2 {
    color: magenta;
    top: 175px;
  }
  .extras {
    font-size: 10px;
    display: grid;
    text-align:center;
    width:75%;
    top: 350px;
    margin-left: 50px;
    margin-right:50px;
  }
  p2 {
    margin-right: 0px;
  }
  p3 {
    margin-right: 0px;
  }
  p4 {
    margin-right: 0px;
  }
  .ifthen{
  font-size: 10px;
  display: block;
  position: relative;
  top: 175px;
}
}