body {
  margin: 0;
  padding: 0;
  background-color: #F3F3F5;
  height: auto;
}

hr {
  border: 2px solid #BBDEF6;
  margin-top: 5%;
  margin-bottom: 5%;
}

h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 100px;
  color: #001E67;
  margin: 0;
}

h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 80px;
  color: #001E67;
  margin: 0;
  line-height: 140px;
}

h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 60px;
  color: #BBDEF6;
  margin: 0;
  -webkit-text-stroke-width: 2px;
  -webkit-text-stroke-color: #001E67;
}

h4 {
  font-family: 'Lora', serif;
  font-weight: 500;
  font-size: 35px;
  color: #1956B1;
  margin: 0;
  line-height: 55px;
}

h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 35px;
  color: #001E67;
  margin: 0;
}

h6 {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 20px;
  color: #001E67;
  margin: 0;
  line-height: 30px;
}

p, li, ul, label {
  font-family: 'Lora', serif;
  font-weight: 400;
  font-size: 20px;
  color: #001E67;
  margin: 0;
  line-height: 40px;
}

/*QPoint and arrow*/
.QPointTextBox {
  background-color: #f3f3f5;
  border-radius: 15px;
  height: auto;
  width: auto;
  position: fixed;
  z-index: 5;
  top: 90%;
  left: 80%;
}

.QPoint {
  position: fixed;
  top: 80%;
  left: 87%;
  z-index: 1000;
}

.QPointText {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 25px;
  color: #EC6D52;
  text-align: center;
  padding: 1%;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #001E67;
  line-height: normal;
}

.MobileCover {
  height: 100vw;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 5;

}

.AfterScroll {
  display: none;
}

@media screen and (max-width: 1050px) {
  .QPoint {
    left: 81%;
    top: 37%;
  }

  .QPointText {
    font-size: 20px;
  }

  .QPointTextBox {
    left: 71%;
    top: 43%;
  }
}

@media screen and (max-width: 800px) {
  .MobileCover {
    background-color: black;
    opacity: 0.8;
  }

  .QPoint {
    left: 84%;
    top: 35%;
  }

  .QPointText {
    font-size: 18px;
  }

  .QPointTextBox {
    left: 72%;
  }
}

@media screen and (max-width: 600px) {
  .QPoint {
    left: 78%;
    top: 30%;
  }

  .QPointText {
    font-size: 16px;
  }

  .QPointTextBox {
    left: 63%;
    top: 41.5%;
  }
}

@media screen and (max-width: 500px) {
  .QPoint {
    left: 80%;
    top: 88%;
  }

  .QPointText {
    font-size: 16px;
    line-height: normal;
  }

  .QPointTextBox {
    left: 62%;
    top: 73%;
  }
}

@media screen and (max-width: 450px) {
  .QPointTextBox {
    top: 72%;
  }
}

@media screen and (max-width: 400px) {
  .QPoint {
    left: 75%;
    top: 85%;
  }

  .QPointText {
    font-size: 16px;
    line-height: normal;
  }

  .QPointTextBox {
    left: 53%;
    top: 70%;
  }
}

@media screen and (max-width: 350px) {
  .QPointText {
    font-size: 14px;
  }

  .QPointTextBox {
    top: 68%;
  }
}

@media screen and (max-width: 300px) {
  .QPoint {
    left: 70%;
    top: 85%;
  }

  .QPointTextBpx {
    left: 44%;
    top: 69%;
  }
}

@media screen and (max-width: 1050px) {
 h1 {
   font-size: 50px;
   line-height: 70px;
 }

 h2 {
   font-size: 40px;
   line-height: 60px;
 }

 h3 {
   font-size: 35px;
 }

 h4 {
   font-size: 25px;
   line-height: 35px;
 }

 h5 {
   font-size: 22px;
 }

 h6 {
   font-size: 20px;
 }

  p, li, ul, label {
    font-size: 20px;
  }
}

@media screen and (max-width: 600px) {
 h1 {
   font-size: 30px;
   line-height: 40px;
 }

 h2 {
   font-size: 25px;
   line-height: 40px;
 }

 h3 {
   font-size: 25px;
 }

 h4 {
   font-size: 18px;
   line-height: 30px;
 }

 h5 {
   font-size: 18px;
 }

 h6 {
   font-size: 16px;
 }

  p, li, ul,label {
    font-size: 16px;
    line-height: 35px;
  }
}

@media screen and (max-width: 400px) {
  h1 {
    font-size: 25px;
    line-height: 35px;
  }

  h2 {
    font-size: 20px;
    line-height: auto;
  }

  h3 {
    font-size: 18px;
  }
}

/*Navigation Bar*/
.navbar {
  display: flex;
  flex-direction: row;
  flex-grow: 1;
  justify-content: space-around;
  align-items: center;
  padding-left: 20px;
  padding-right: 20px;
  height: 10vh;
  position: sticky;
  position: -webkit-sticky;
  top: 0;
  z-index: 1;
}

.navbar a {
  text-decoration: none;
}

.navbar h1 {
  font-family: 'Lora', serif;
  font-size: 25px;
  font-weight: 700;
  color: #1956B1;
  margin: 0;
  padding-top: 30px;
}

.navbar h1:hover {
  color: #BBDEF6;
}

button {
  background-color: #EC6D52;
  font-family: 'Poppins', sans-serif;
  color: #f3f3f5;
  font-weight: 600;
  font-size: 16px;
  border: none;
  border-radius: 15px;
  line-height: 59px;
  width: 146px;
  filter: drop-shadow(0px 4px 4px #00000040);
}

.BarLogo {
  height: 10vh;
  width: auto;
}

.BarSection {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  text-align: center;
  z-index: 1;
}

#Description {
  display: inline-flex;
  font-family: 'Lora', serif;
  font-weight: 400;
  font-size: 16px;
  margin: 0;
  padding-top: 5px;
  opacity: 0;
}

#BarSection:hover #Description {
  display: block;
  color: #001E67;
  opacity: 1;
}

.Description {
  width: 60%;
  align-self: center;
}

@media screen and (max-width: 1565px) {
  #Description {
    font-size: 14px;
  }
}

@media screen and (max-width: 1328px) {
  #Description {
    font-size: 12px;
  }
  .Description {
    width: 80%;
  }
}

@media screen and (max-width: 1172px) {
  button {
    width: 146px;
    line-height: 34px;
  }
}

@media screen and (max-width: 1050px) {
  .BarSection {
    display: none;
  }
}

#MobileLinks {
  display: none;
  background-color: #BBDEF6;
  position: absolute;
  z-index: 3;
  width: 100%;
  filter: drop-shadow(0px 4px 4px #00000040);
}

#MobileLinks a {
  color: #001E67;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  display: block;
  font-family: 'Lora', serif;
}

.icon {
  display: none;
}

@media screen and (max-width: 1050px) {
  .icon {
    display: block;
    color: #001E67;
    font-size: 50px;
  }
  .navbar {
    justify-content: space-between;
    padding-left: 5%;
    padding-right: 5%;
  }
}

@media screen and (max-width: 600px) {
  .icon {
    font-size: 30px;
  }
}

@media screen and (max-width: 400px) {
  button {
    font-size: 14px;
    line-height: 30px;
    width: 120px;
  }
}

/*Homepage*/
.margin-button {
  margin-bottom: 0;
}

@media screen and (max-width: 800px) {
  .margin-button {
    margin-bottom: 3%;
  }
}

.Cover {
  width: 100%;
  height: auto;
  z-index: 0;
}

.LandingText {
  position: absolute;
  z-index: 2;
  top: 3%;
  left: 5%;
}

@media screen and (max-width: 1050px) {
  .LandingText {
    top: 5%;
  }
}

@media screen and (max-width: 600px) {
  .LandingText {
    top: 4%;
  }
}

@media screen and (max-width: 500px) {
  .LandingText {
    top: 3%;
  }
}

@media screen and (max-width: 400px) {
  .LandingText {
    top: 2%;
  }
}

@media screen and (max-width: 300px) {
  .LandingText {
    top: 1.5%;
  }
}

.LandingContent {
  padding-left: 5%;
  padding-right: 5%;
  padding-top: 3%;
  padding-bottom: 10%;
}

.WhatIs {
  text-align: center;
}

.LandingWrap {
  position: absolute;
  top: 0;
  left: 0;
}

.Three {
  display: flex;
  flex-grow: 1;
  flex-direction: row;
  justify-content: center;
  align-items: baseline;
  padding-bottom: 3%;
}

.IconGroup {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 25%;
  margin-left: 3%;
  margin-right: 3%;
}

.IconGroup h4 {
  line-height: normal;
  padding-bottom: 15px;
  width: 80%;
}

@media screen and (max-width: 800px) {
  .Three {
    flex-direction: column;
    padding-bottom: 5%;
  }

  .IconGroup {
    margin-left: 10%;
    margin-right: 10%;
    width: 80%;
  }
}

.LandingVideo {
  padding-bottom: 3%;
}

@media screen and (max-width: 800px) {
  .LandingVideo {
    padding-bottom: 5%;
  }
}


/*forms*/
.ContactForm {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.labels {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 50%;
}

.LabelsRight {
  margin-left: 5%;
}

.ContactForm input, textarea {
  border: 3px solid #BBDEF6;
  border-radius: 15px;
  background-color: #f3f3f5;
  font-family: 'Lora', serif;
  color: #001E67;
  font-size: 16px;
  line-height: 30px;
}

.ContactFormP1 {
  display: flex;
  flex-direction: row;
  flex-grow: 1;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.SideInput {
  width: 100%;
  height: 50px;
}

.Message {
  width: 100%;
  padding-top: 2.5%;
  padding-bottom: 5%;
}

.MessageBox {
  width: 100%;
  height: 200px;
}

.LabelsRow {
  display: flex;
  flex-direction: row;
  flex-grow: 1;
  justify-content: center;
  align-items: center;
  width: 50%;
}

.SingleRow {
  width: 100%;
}

.Height {
  height: 50px;
}

.Thirds {
  width: 100%;
}

.LabelsRowItem {
  height: 50px;
  width: 90%;
}

.MarginTop {
  margin-top: 1%;
}

.MarginTopButton {
  margin-top: 2.5%;
}

@media screen and (max-width: 1050px) {
  .ContactFormP1 {
    flex-direction: column;
  }

  .LabelsRight {
    margin-left: 0;
  }

  .labels {
    width: 100%;
  }

  .MobileMargin {
    margin-bottom: 2.5%;
  }

  .SideInput, .MessageBox {
    width: 96%;
  }

  .LabelsRow {
    flex-direction: column;
    width: 100%;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .LabelsRowItem, .Height {
    width: 96%;
  }
}

@media screen and (max-width: 800px) {
  .ContactForm input, textarea {
    font-size: 14px;
  }
}

/*footer*/
.footer {
  background-color: #BBDEF6;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
  align-items: center;
  padding: 5%;
}

.footer h2 {
  font-size: 40px;
  line-height: 60px;
}

@media screen and (max-width: 1050px) {
  .footer h2 {
    font-size: 30px;
    line-height: 50px;
  }
}

/*Partners Page*/
.PartnersContent {
  padding-left: 5%;
  padding-right: 5%;
  padding-bottom: 10%;
}

.ListPartners {
  text-align: center;
}

.grid-row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
  justify-content: center;
  align-items: center;
}

/* Create four equal columns that sits next to each other */
.grid-column {
  flex: 30%;
  max-width: 30%;
  padding: 0 10px;
}

.grid-column img {
  margin-top: 3%;
  margin-bottom: 3%;
  vertical-align: middle;
  width: 300px;
  height: auto;
}

@media screen and (max-width: 800px) {
  .grid-column img {
    width: 200px;
  }
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 1050px) {
  .grid-column {
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .grid-column {
    flex: 100%;
    max-width: 100%;
  }
}

.RegisterFormWrap p {
  width: 50%;
}

@media screen and (max-width: 1050px) {
  .RegisterFormWrap p {
    width: 100%;
  }
}

/*Support Page*/
.SupportContent {
  padding-left: 5%;
  padding-right: 5%;
  padding-bottom: 10%;
}

.FounderNote {
  display: flex;
  flex-direction: row;
  flex-grow: 1;
  justify-content: center;
  align-items: flex-start;
  padding-top: 5%;
}

.FounderNote h2 {
  line-height: normal;
}

.Simon {
  width: 40%;
  height: auto;
  border-radius: 15px;
}

.FounderText {
  text-align: right;
  padding-left: 5%;
}

@media screen and (max-width: 800px) {
  .FounderNote {
    flex-direction: column;
  }

  .FounderText {
    text-align: left;
    padding-left: 0%;
    padding-top: 5%;
  }

  .Simon {
    width: 100%;
  }
}

.DonateLink {
  text-align: center;
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 5%;
}

/*Problem Page*/
.ProblemContent {
  padding-left: 5%;
  padding-right: 5%;
  padding-bottom: 10%;
}

.AboutFounder {
  display: flex;
  flex-grow: 1;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
}

.AboutFounderImg {
  width: 50%;
  height: auto;
  border-radius: 15px;
}

@media screen and (max-width: 1050px) {
  .AboutFounder {
    flex-direction: column;
  }

  .AboutFounderImg {
  width: 100%;
  }
}

.AboutFounderText {
  padding-right: 5%;
  padding-bottom: 5%;
}


/*Mission Page*/
.SummitPathContent {
  text-align: center;
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  justify-content: center;
  align-content: center;
}

.SummitPath {
  width: 100%;
  height: auto;
}

.SummitPathMobile {
  display: none;
  width: 100%;
  height: auto;
}

@media screen and (max-width: 800px) {
  .SummitPath {
    display: none;
  }

  .SummitPathMobile {
    display: block;
  }

  .text-left-mobile {
    text-align: left;
  }
}

.GalleryContainer {
  width: 100%;
  height: auto;
  padding-top: 3%;
  padding-bottom: 1%;
}

.Slide, .Slide2, .Slide3 {
  display: none;
}

.Caption {
  text-align: center;
  padding-top: 1%;
}

.dot, .dot2, .dot3 {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/*Problem Page*/
.ProblemContent {
  padding-left: 5%;
  padding-right: 5%;
  padding-bottom: 10%;
}

.ProblemIntro, .AboutAMD, .AMDTech {
  display: flex;
  flex-grow: 1;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
}

.ProblemIntroText, .AboutAMDText, .AMDTechText {
  width: 50%;
  margin-right: 5%;
}

.ProbIntroGallery, .AboutAMDGallery, .AMDTechGallery {
  width: 50%;
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  justify-content: center;
}

.AboutAMDImg {
  margin-left: 16%;
}

.ProblemIntroImg {
  border-radius: 15px;
  width: 30vw;
  height: auto;
  margin-left: 14%;
}

.AboutAMDImg {
  border-radius: 15px;
  width: 30vw;
  height: auto;
}

.AMDTechImg {
  border-radius: 15px;
  width: 100%;
  height: auto;
}


@media screen and (max-width: 1050px) {
  .ProblemIntro {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
  }

  .ProbIntroGallery {
    width: 100%;
  }

  .ProblemIntroText {
    width: 100%;
    margin-right: 0;
  }

  .ProblemIntroImg {
    width: 100%;
    margin-left: 0;
  }

  .AboutAMDImg {
    width: 90%;
    margin-left: 10%;
  }

  .AboutAMD {
    align-items: center;
  }

  .AboutAMDImg {
    margin-left: 4%;
  }
}

@media screen and (max-width: 800px) {
  .AboutAMDGallery, .AMDTechGallery {
    width: 100%;
  }

  .AboutAMDText, .AMDTechText {
    margin-right: 0;
    max-width: 100%;
    width: 100%;
  }

  .AboutAMD, .AMDTech {
    flex-direction: column;
    text-align: left;
    justify-content: center;
    align-items: center;
  }

  .AboutAMDImg, .AMDTechImg {
    margin-left: 0;
    width: 100%;
  }
}

/*404 Page*/
.ErrorContent {
  height: 90vh;
  text-align: center;
}

/*gallery Next and previous buttons*/
.prev, .next {
  cursor: pointer;
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 15px;
  user-select: none;
  background-color: rgba(0,0,0,0.8);
  margin-left: 24px;
  margin-right: 24px;
  margin-top: 24px;
}

/*.next {
  right: 0;
}*/

.prev:hover, .next:hover {
  background-color: rgba(0,30,103,0.8);
}

.ArrowWrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

@media screen and (min-width: 1200px) {
  .GalleryContainer {
    width: 50%;
    height: auto;
  }
}
