/*navigation*/

.mainnav {
  height: 16px;
  position: fixed;
  width: 100%;
  text-align: center;
  font-size: 16px;
  top: 0;
  height: 70px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 100;
}

.mainnav a {
  text-transform: uppercase;
  color: #252525;
  font-size: 13px;
  font-weight: 100;
  letter-spacing: 3px;
  margin-right: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mainnav a:hover {
  color: #24829E;
}

/*body*/

#home {
  height: 100vh;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

#about, #portfolio {
  min-height: 70vh;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

#contact {
  min-height: 30vh;
}

body {
  margin: 0;
  background-color: #DBDBDB;
  font-family: 'Lato', sans-serif;
  font-weight: 100;
}

h1, h2, h3, h4, p {
  margin: 0;
  font-weight: 100;
}

h1 {
  text-transform: uppercase;
  color: #1897A2;
  padding: 20px 40px;
}

h2 {
  color: #24829E;
}

a {
  color: #fff;
}

a:hover, .primary-link {
  color: #1897A2;
  text-decoration: none;
}

strong {
  color: #fff;
}

.largetext {
  font-size: 40px;
  text-align: center;
}


#home {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-attachment: fixed;
  padding-top: 50px;
}

#desktop-home {
  background-image: url('../images/bg.jpg');
}

#home {
  background-color: #01636C;
}

.headline {
  color: #fff;
  letter-spacing: 20px;
  text-align: center;
  padding: 0 0;
}

@media (max-width: 767px) { 
  .headline {
    text-align: left;
  }
  .subtext {
    width: 100%;
    letter-spacing: 3px;
  }
}

.subtext {
  padding: 0 0;
  letter-spacing: 20px;
}

#about {
  background-color: #1897A2;
}

.content-title {
  padding: 20px;
  text-align: center;
}

#portfolio {
  background-color: #fff;
  padding-bottom: 50px;
}

#contact {
  background-color: #DBDBDB;
  position: relative;
}

.footer {
  height: 10vh;
  text-align: center;
}
.footer i {
  padding-left: 10px;
  padding-right: 10px;
}

textarea {
  max-width: 100%;
  max-height: 200px;
}

.ninja {
  display: none;
}

form {
  padding-top: 20px;
}

#submitButton {
  float: right;
}

.warning-message {
  padding:20px;
  display:none;
  text-align: center;
}


.icon {
  text-align: center;
  font-size: 60px;
}

.iconpad {
  padding: 10px;
}

.chevrondown {
  padding-top: 100px;
}

.modalpara {
  padding: 20px;
  padding-bottom: 0px;
}

#portfolio img {
  max-width: 100%;
  opacity: 1.0;
  transition: opacity .55s ease-in-out;
  -moz-transition: opacity .55s ease-in-out;
  -webkit-transition: opacity .55s ease-in-out;
}

.portfoliocont {
  position: relative;
  cursor: pointer;
  margin-top: 20px;
  padding: 40px;
}

.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background-color: #1897A2;
}

.portfoliocont:hover .overlay {
  opacity: 0.9;
}

.portfoliotext {
  color: white;
  font-size: 24px;
  position: absolute;
  width:100%;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
}

.btnrounded {
  background-color: #fff;
  border: none;
}
