body {
  font-family: "Lato", sans-serif;
  font-size: 17pt;
  line-height: 25pt;
  color: #fff;
  background-color: #45818e;
  background-image: linear-gradient(
    to bottom,
    #33539e,
    #7facd6,
    #c0b9db,
    #e9b7d4,
    #a5678e
  );
}
body,
html {
  margin: 0;
  padding: 0;
}
#home,
#projects,
#contact {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: center;
  width: 65%;
  margin: 0 auto;
}
#pastprojects {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: center;
  width: 85%;
  margin: 0 auto;
}
#projects p,
#pastprojects p {
  text-align: center;
  margin-bottom: 11px;
}
header,
h1 {
  font-size: 36pt;
  line-height: 48pt;
  text-align: center;
  font-weight: 400;
}
#projects h1, #pastprojects h1 {
  line-height:40pt;
}
#projects p, #pastprojects p {
  margin: 0 0 11px 0;
}
sub {
  display: block;
  font-weight: 300;
  font-size: 26pt;
  line-height: 40pt;
}
.active {
  border-bottom: 1px solid #eee;
}
.icon {
  display: none;
}
#home a {
  color: #33539e;
  text-decoration: none;
}
#projects,
#pastprojects,
#contact {
  color: #fff;
  text-shadow: 1px 1px 1px #33539e;
}
#projects .column {
  background: rgba(255, 255, 255, 0.19);
  border: 2px dotted #fff;
  border-radius: 10px;
  padding: 20px 12px;
}
h1 {
  text-shadow: none;
}
#projects img {
  max-width: 300px;
  height: auto;
  border-radius: 10px;
  width: 100%;
}
header img {
  width: 340px;
}
#contact img {
  border-radius: 50%;
  max-width: 250px;
  float: left;
  margin: 0 25px 7px 0;
}
#contact p {
  text-align: left;
}

#projects a,
#contact a {
  color: #33539e;
  font-weight: 300;
  border-bottom: 1px dotted #33539e;
  text-decoration: none;
  text-shadow: none;
}

.underline {
  background-image: linear-gradient(45deg, #7facd6 0%, #fff 100%);
  background-repeat: no-repeat;
  background-size: 100% 0.15em;
  background-position: 0 100%;
  transition: background-size 0.25s ease-in;
}
  .underline:hover {
    background-size: 100% 88%;
}

.features {
  text-align: left;
}

.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}
.column {
  flex: 46%;
  max-width: 46%;
  padding: 0 5px;
  text-align: center;
  margin: 0 auto 15px auto;
  align-content: center;
}

h3 {
  margin: 5px 0;
  padding: 5px 0;
  line-height: 165%;
}
p {
  padding: 5px 0;
  line-height: 165%;
}

p.error,
p.success {
  font-weight: bold;
  padding: 10px;
  text-shadow: none;
}

p.error {
  /*background: #ffc0c0;*/
  color: #900;
}

p.success {
  /*background: #b3ff69;*/
  color: #4fa000;
}



input,
textarea {
  width: 275px;
  background: rgba(255, 255, 255, 0.5);
  padding: 11px;
  border: none;
  font-family: "Lato", sans-serif;
  font-size: 15pt;
  margin: 8px 0;
  color: #33539e;
  border-radius: 10px;
}
input:focus,
textarea:focus {
  background: rgba(255, 255, 255, 0.75);
}
label {
  width: 150px;
  display: inline-block;
}
#submit {
  padding: 11px 22px;
  width: 297px;
}

.images-wrapper {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  justify-content: center;
}

.images-wrapper .img-cont img {
  height: 200px;
  width: auto;
  -o-object-fit: cover;
  object-fit: cover;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  margin: 15px 20px;
  border-radius: 10px;
}

.images-wrapper .img-cont img:hover {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  cursor: zoom-in;
}

.full-image-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  background: rgba(0, 0, 0, 0.8);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  padding: 35px 0 0 0;
}

.full-image-container .full-image {
  width: 850px;
  max-width: 100%;
  margin-top: 100px;
}

.full-image-container .image-title {
  color: #ffffff;
  padding: 15px;
  height: 100vh;
}

.full-image-container.open {
  opacity: 1;
  pointer-events: auto;
}


@media screen and (max-width: 1300px) {
  #home,
  #projects,
  #contact,
  #pastprojects {
    width: 94%;
    padding: 2% 3%;
  }
}

@media screen and (max-width: 850px){
 #contact img {
    float: none;
    margin: 0 auto;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  body,
  html {
    font-size: 14pt;
    line-height: 22pt;
  }
  #home,
  #projects,
  #contact,
  #pastprojects {
    width: 94%;
    padding: 2% 3%;
  }
  header,
  h1 {
    font-size: 30pt;
    line-height: 36pt;
  }
  sub {
    font-size: 18pt;
    line-height: 26pt;
  }
  section {
    background: none;
    padding: 0;
  }

  #contact img {
    float: none;
    margin: 0 auto;
  }

  .row {
    margin: 0 auto;
  }

  .column {
    max-width: 100%;
    width: 100%;
  }

  header img {
    width: 250px !important;
  }
  .column img {
    max-width: 260px;
  }

  #contact p {
    text-align: center;
  }

  #projects .column {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 20px 12px;
    margin-bottom: 15px;
  }

  .images-wrapper .img-cont img {
    height: 165px;
    width: auto;
  }
}
