html, body{
  width: 100%;
  height: 100%;
  font-family: 'Josefin Sans', sans-serif;
}

h1{
  font-family: 'Lobster', cursive;
}

p{
  font-size: 1.2em;
}

h1{
  text-align: center;
  font-size: 4em;
}

.homePage h1{
  font-size: 8em;
}

.homePage h2{
  text-align: center;
  font-size: 5em;
}

.homePage h3{
  text-align: center;
  font-size: 4em;
}

.homePage p{
  font-size: 3em;
}

.homePageCloud{
  position: absolute;
}

#cloud1{
  top: 5%;
  left: 5%;
}

#cloud2{
  top: 15%;
  right: 5%;
}

#cloud3{
  top: 30%;
  left: 10%;
}

#cloud4{
  top: 40%;
  right: 10%;
}

.skillsNotFirst{
  margin-top: 3.5%;
}

hr{
  border-color: black;
  border-width: 8px;
}

#intro{
  width: 100%;
  text-align: left;
}

#surname{
  width: 100%;
  text-align: right;
}

#mainWelcomeText{
  position: absolute;
  margin-top: 16%;
  width: 96%;
  z-index: 10;
}

#welcomeSection{
  margin-top: -3%;
}

.homeInfoSection{
  margin-top:5%;
}

.homeInfoSection p{
  text-align: center;
}

a{
  color: black;
}

a.focus{
  color: black;
}

.pageContainer{
    min-height: 100%;
    height: auto;
    padding-top: 4%;
}

.sectionSubNote{
  text-align: center;
}

.nav{
  text-align: center;
}

.nav-link{
  font-size: 1.5em;
  color: lightgrey;
}

.projects, .skills{
  text-align: center;
}

.projects{
  padding:  1%;
}

.aboutImages, .projectImages{
  margin: 0 auto;
}

.aboutLogos{
  margin: 0 auto;
  width: auto;
  max-height: 88px;
}

.smallerLogos{
  height: 90px;
}

.projectHolder{
  margin-bottom: 4%;
}

.projectText h2, .projectText p{
  color: black;
}

.projectText p{
  font-size: 1.8em;
}

#mainCloud{
  position: relative;
  width: 100%;
}

.projectHolder h2{
  text-align: center;
}

#home{
  background: lightblue;
}

#about{
  background: white;
}

#projects{
  background: lightblue;
}

#contact{
  background: white;
}

@media (max-width: 1400px) {
  .homePageCloud{
    display: none;
  }
  #welcomeSection{
    margin-top: 0%;
  }
  #mainWelcomeText, #welcomeCloudAndText{
    width: 60%;
  }
  #welcomeCloudAndText{
    padding: 0;
    margin: auto;
  }
  #mainWelcomeText h1{
    font-size: 4.5em;
  }
  #mainWelcomeText h3{
    font-size: 2.5em;
  }
  #mainWelcomeText {
    margin-top: 8%;
  }
  .homeInfoSection {
    margin-top: 2%;
  }
  .homeInfoSection p{
    font-size: 2em;
  }
}

@media (max-width: 1200px) {
  #mainWelcomeText, #welcomeCloudAndText{
    width: 70%;
  }
  #mainWelcomeText h1{
    font-size: 4.3em;
  }
  #mainWelcomeText h3{
    font-size: 2.3em;
  }
}

@media (max-width: 1000px) {
  #mainWelcomeText, #welcomeCloudAndText{
    width: 80%;
  }
}

@media (max-width: 800px) {
  #welcomeCloudAndText{
    width:70%;
  }
  #mainWelcomeText{
    width: 50%;
    margin-left: 12%;
  }
  #welcomeSection {
    margin-top: 3%;
  }
}

@media (max-width: 700px) {
  #mySkills h1, #projects h1{
    margin-top: 11%;
    font-size: 3em;
  }
  .projectText p {
    font-size: 1.2em;
  }
  #mainWelcomeText h1{
    font-size: 4em;
  }
  #mainWelcomeText h3{
    font-size: 2em;
  }
  .homeInfoSection p{
    font-size: 2em;
  }
}

@media (max-width: 650px) {
  #mainWelcomeText h1{
    font-size: 3.7em;
  }
  #mainWelcomeText h3, .homeInfoSection p{
    font-size: 1.7em;
  }
}

@media (max-width: 600px) {
  #mainWelcomeText h1{
    font-size: 3.5em;
  }
  #mainWelcomeText h3{
    font-size: 1.5em;
  }
}

@media (max-width: 550px) {
  #welcomeCloudAndText{
    width:90%;
  }
  #mainWelcomeText{
    width: 50%;
    margin-left: 12%;
  }
  #welcomeSection {
    margin-top: 4%;
  }
  #mainWelcomeText {
    width: 60%;
    margin-left: 14%;
    margin-top: 12%;
  }
}

@media (max-width: 450px) {
  #mainWelcomeText h1{
    font-size: 3em;
  }
  #mainWelcomeText h3{
    font-size: 1.3em;
  }
}

@media (max-width: 400px) {
  #welcomeSection {
    margin-top: 10%;
  }
  #mainWelcomeText {
    width: 50%;
    margin-left: 16%;
  }
  #mainWelcomeText h1{
    margin: 0;
    font-size: 2em;
  }
  #mainWelcomeText h3{
    margin-top: 5%;
    font-size: 1.3em;
  }
}

@media (max-width: 360px) {
  .nav-link {
    font-size: 1.3em;
  }
}

@media (max-width: 330px) {
  .nav-link {
    font-size: 1.2em;
  }
  #welcomeSection {
    margin-top: 13%;
  }
}
