
* {
  padding: 0;
  margin: 0;
}

section{
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-color: #b5b5b5;
cursor: pointer;
z-index: 1;
}

.content {
  width: 100%;
  max-width: 640px;
  margin: 4rem auto 6rem auto;
  box-sizing: border-box;
  padding: 0 2rem;
  
}

.content p {
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: #2a2827;
  font-family: Optima, Segoe, "Segoe UI", Candara, Calibri, Arial, sans-serif;
  padding-bottom: .05rem;
  position: relative;
  bottom: 70.5px;
}

.content .sub{
  font-size: 1rem;
  font-style: italic;
  line-height: 1.2;
  color: #7f7a75;
  font-family: Optima, Segoe, "Segoe UI", Candara, Calibri, Arial, sans-serif; 
  position:relative;
  bottom :80px; 

}

h1 {
  font-size: 3rem;
  margin-bottom: 0.2rem;
  margin-top: 2rem;
  line-height: 1.4;
  font-family: Optima;
  color: #23333b;
  position: relative;
  bottom:78px;
}

h3 {
  font-size: 3rem;
  margin-bottom: 0.2rem;
  margin-top: 2rem;
  line-height: 1.4;
  font-family:garamond;
  color: #23333b;
  position: relative;
  bottom:10px;
}

.scene {
  position: relative;
}

.iframe-wrapper {
  width: 100vw;
  height: 100vh;
  border: 0;
  position: sticky;
  top: 0;
  z-index: -1;
}


iframe {
  width: 100vw;
  height: 100vh;
  border: 0;
}

   iframe2 {
  width: 100vw;
  height: 100vh;
  border: 0;
}

 .iframe-wrapper2 {
  width: 100vw;
  height: 100vh;
  border: 0;
  position: sticky;
  top: 0;
  z-index: -1;
}


iframe {
  width: 100vw;
  height: 100vh;
  border: 0;
}

.caption {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 1.6rem 2rem 1.8rem 2rem;
  width: 100%;
  max-width: 350px;
}

.caption h2 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.caption p {
  font-size: 1.2rem;
  line-height: 1.4;
}

.caption2 {
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 1.6rem 2rem 1.8rem 2rem;
  width: 100%;
  max-width: 350px;
}

.caption2 h2 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.caption2 p {
  font-size: 1.2rem;
  line-height: 1.4;
}


.bubble-section {
  display: block;
  position: sticky;

  }

  .bubbles {
    display: block;
    width: 99%;
    height: 95%;
    align: center;
    font-family: Arial, Helvetica, sans-serif;
  
    }
.scroller {
  width: 100vw;
  height: 800vh;
  top: 0;
  z-index: 2;
}
  .scroller2 {
  width: 100vw;
  height: 800vh;
  top: 0;
  z-index: 2;
}
@media (max-width: 420px) {
  h1 {
    font-size: 2.5rem;
  }
}


/* begin rey's style */

body {
  font-family: Optima, Segoe, "Segoe UI", Candara, Calibri, Arial, sans-serif;
  display: flex ;
  flex-direction: column;
  align-items: center;
  padding: inherit;
}

.chat {
  width: 90%;
  display: flex;
  flex-direction: column;
  padding: 10px;
  height: 1100px;
  background: url('whatsapp.png');
}

/* spacing for messages */

.messages {
  margin-top: 5%;
  margin-left: 5%;
  margin-right: 5%;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  font-family: helvetica;
}

.message {
  border-radius: 20px;
  padding: 8px 15px;
  margin-top: 5px;
  margin-bottom: 5px;
  display: inline-block;
}

/* return home button */
.home {
  align-items: flex-start;
}

.home .message {
  margin-right: 25%;
  background-color: #25D366;
  position: relative;
}
/*this is the code for the color of the tail*/
.home .message.last:before {
  content: "";
  position: absolute;
  z-index: 0;
  bottom: 0;
  left: -7px;
  height: 20px;
  width: 20px;
  background: #25D366;
  border-bottom-right-radius: 15px;
}
/*this is the code for the white to create & contor the tail*/
.home .message.last:after {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: -10px;
  width: 10px;
  height: 20px;
  background: white;
  border-bottom-right-radius: 10px;
}

/* ines presets */

.ines {
  align-items: flex-start;
}

.ines .message {
  margin-right: 25%;
  background-color: #B380AA;
  position: relative;
}
/*this is the code for the color of the tail*/
.ines .message.last:before {
  content: "";
  position: absolute;
  z-index: 0;
  bottom: 0;
  left: -7px;
  height: 20px;
  width: 20px;
  background: #B380AA;
  border-bottom-right-radius: 15px;
}
/*this is the code for the white to create & contor the tail*/
.ines .message.last:after {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: -10px;
  width: 10px;
  height: 20px;
  background: #e5ddd5;
  border-bottom-right-radius: 10px;
}


/* connor presets */

.connor {
  align-items: flex-end;
}

.connor .message {
  color: white;
  margin-left: 25%;
  background: #0078fe;
  position: relative;
}

.connor .message.last:before {
  content: "";
  position: absolute;
  z-index: 0;
  bottom: 0;
  right: -8px;
  height: 20px;
  width: 20px;
  background: #0078fe;
  border-bottom-left-radius: 15px;
}
.connor .message.last:after {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: 0;
  right: -10px;
  width: 10px;
  height: 20px;
  background: #e5ddd5;
  border-bottom-left-radius: 10px;
}


/* sophia presets */

.sophia {
  align-items: flex-start;
}

.sophia .message {
  margin-right: 25%;
  background-color: #F9CB40;
  position: relative;
}

.sophia .message.last:before {
  content: "";
  position: absolute;
  z-index: 0;
  bottom: 0;
  left: -7px;
  height: 20px;
  width: 20px;
  background: #F9CB40;
  border-bottom-right-radius: 15px;
}
.sophia .message.last:after {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: -10px;
  width: 10px;
  height: 20px;
  background: #e5ddd5;
  border-bottom-right-radius: 10px;
}


/* curro presets */
.curro {
  align-items: flex-end;
}

.curro .message {
  color: white;
  margin-left: 25%;
  background: #BE8260;
  position: relative;
}

.curro .message.last:before {
  content: "";
  position: absolute;
  z-index: 0;
  bottom: 0;
  right: -8px;
  height: 20px;
  width: 20px;
  background: #BE8260;
  border-bottom-left-radius: 15px;
}

.curro .message.last:after {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: 0;
  right: -10px;
  width: 10px;
  height: 20px;
  background: #e5ddd5;
  border-bottom-left-radius: 10px;
}

/* this is the paragraph style for the final page, as I wanted it a certain way*/

.parastyle{
    padding-top:220px;
    text-align: left;
    padding-left:12px;
    
}

.parastyle .first{
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  margin-top: 2rem;
  line-height: 1.2;
  font-family:garamond;
  font-weight:bold;
    
    /*font-size: 2.4em;
    font-family:garamond;
    font-weight:bolder */
    
}

.parastyle .second{
    font-family: Optima, Segoe, "Segoe UI", Candara, Calibri, Arial, sans-serif;
    position: relative;
    bottom: 90px;
    font-size: 18px;
}

.parastyle .third{
    font-family: Optima, Segoe, "Segoe UI", Candara, Calibri, Arial, sans-serif;
    position: relative;
    bottom: 130px;
    font-size: 18px;
}

.snippet{
    font-style:italic;
    font-family: Optima, Segoe, "Segoe UI", Candara, Calibri, Arial, sans-serif;
    font-size: 14px;
}

.above{
    position: relative;
    top: 10px;    
    border: none;
    height: 10px;
    background: #23333b;
    margin-bottom: 50px;
    bottom: 70px;
    
}

.outside{
    position: relative;
    top: 10px;
    border: none;
    height: 10px;
    background: #23333b;
    margin-bottom: 200px;
    bottom: 150px;
    top: -50px;
    
}

.thanks{
  padding-top:230px;
  padding-bottom:1px;
  font-size: 37px;
  line-height: 1.4;
  font-family:garamond;
  font-weight:bold;
  color: #23333b;
  position: relative;
  top: 60px;
    
}

.goodbye{
    font-size: 25px;
  line-height: 1.4;
  font-family: Optima, Segoe, "Segoe UI", Candara, Calibri, Arial, sans-serif;
  font-style:oblique;
  color: #2a2827;
  position: relative;
  top: 70px;
    
}

.mention{
    font-size: 25px;
  line-height: 1.4;
  font-family: Optima, Segoe, "Segoe UI", Candara, Calibri, Arial, sans-serif;
  color: #2a2827;
  position: relative;
  top: 80px;
  word-spacing: 3.5px;
    
    
}

/* this is the first EUSA link*/
.eusalink {
  color: #23333b;
  text-decoration:none;
  margin: 30px;
  display: block;
  position:relative;
  top:40px;
  padding-bottom:20px;
  opacity:.25;
}

.eusalink:hover{
  cursor: pointer;
  color: #23333b;
  opacity: 1;
}

.eusalink {
  transition: all 500ms ease-in-out;
  -webkit-transition: all 500ms ease-in-out;
  -moz-transition: all 500ms ease-in-out;
}

/* second EUSA link */

.eusalink2 {
  color: #23333b;
  text-decoration:none;
  margin: 30px;
  display: block;
  position:relative;
  top:60px;
  padding-top:50px;
  padding-bottom:40px;
  opacity:.25;
  font-size: 20px;
}

.eusalink2:hover{
  cursor: pointer;
  color: #23333b;
  opacity: 1;
}

.eusalink2 {
  transition: all 500ms ease-in-out;
  -webkit-transition: all 500ms ease-in-out;
  -moz-transition: all 500ms ease-in-out;
}



/* this is the nav bar */


*{
  margin: 0;
  padding: 0;
}

.clear{
  clear: both;
}


.slide-toggle{
  display: none;
}

.slidemenu{
  font-family: Optima;
  font-size: 14px;
  max-width: 600px;
  margin: 50px auto;
  overflow:hidden;
  position:relative;
}

.slidemenu label{
  width: 16.59%; /*this changes # in the slide bar*/
  text-align: center;
  display: inline-block;
  float: left;
  color: #333;
  opacity: 0.2;

}
/*bar color*/
.slidemenu label:hover{
  cursor: pointer;
  color: #23333b;
  opacity: 1;
}

.slidemenu label span{
  display: block;
  padding: 10px;    
}

.slidemenu label .icon{
  font-size: 20px;
  border: solid 2px #333;
  text-align: center;
  height: 50px;
  width: 50px;
  display: block;
  margin: 0 auto;
  line-height:50px;
  border-radius: 50%;
}

/*Bar Style*/

.slider{
  width: 100%;
  height: 5px;
  display: block;
  background: #ccc;
  margin-top: 10px;
  border-radius: 5px;
}

.slider .bar{
  width: 25%;
  height: 5px;
  background: #333;
  border-radius: 5px;
}

/*Animations*/
.slidemenu label, .slider .bar {
  transition: all 500ms ease-in-out;
  -webkit-transition: all 500ms ease-in-out;
  -moz-transition: all 500ms ease-in-out;
}

/*Toggle*/





.slidemenu #slide-item-1:checked ~ .slider .bar{ margin-left: 0-10; }
.slidemenu #slide-item-2:checked ~ .slider .bar{ margin-left: 11-20%; }
.slidemenu #slide-item-3:checked ~ .slider .bar{ margin-left: 21-40%; }
.slidemenu #slide-item-4:checked ~ .slider .bar{ margin-left: 41-60%; }
.slidemenu #slide-item-5:checked ~ .slider .bar{ margin-left: 61-80%; }
.slidemenu #slide-item-6:checked ~ .slider .bar{ margin-left: 81-100%; }


