html,body{
    margin: 0;
    padding: 0;
    background: transparent;
    font-family: 'Lora', serif;
    font-size: 18px;
    color: #2d3436;
}


.navigation{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 20em;
}

.navigation__contact-details{
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
}

.contact-detail{
    font-size: 18px;
    padding: 0.5em;
    display: flex;
    flex-direction: row;
    padding: 1em;
    
}

.logo{
    padding: 1em;
}


.navigation::before{
    content: "";
    background-image: url("../img/background3.png");
    opacity: 0.05;
    width: 100%;
    min-height: 20em;
    background-position:top;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -9999;
    position: absolute;
}

.navigation__list{
    display: flex;
    justify-content: center;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.navigation__list li{
    color: #2d3436;
    transition: 0.5s ease-in-out;
    cursor: pointer;
    margin: 1em 1.5em;
}

.navigation__list li:hover{
    color: #3dc1d3;
}

.cyan{
    color: #3dc1d3;
}

.black{
    color: #2d3436;
}

.content{
    color: #2d3436;
    width: 50%;
    display: flex;
    flex-direction: column;
    margin-top: 2em;
}

.content__header{
    color: #3dc1d3;
    padding: 1em;
} 

.content__paragraph{
    background: #f7f7f7;
    margin-top: 2em;
    padding: 1.5em;
    white-space: normal;
}

p, li{
    color: #2d3436;
}

section{
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}


footer{
    background: #3dc1d3;
    color: white;
    min-height: 10em;
    margin-top: 2em;
}


#nav-button {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #3dc1d3;
    width: 50px;
    height: 50px;
    text-align: center;
    position: fixed;
    bottom: 30px;
    right: 30px;
    transition: background-color .3s, 
      opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    text-align: center;
  }
  
  #nav-button:hover {
    cursor: pointer;
    background-color: #333633;
  }
  #nav-button:active {
    background-color: #6c767a;
  }
  #nav-button.show {
    opacity: 1;
    visibility: visible;
  }
  
  p{
    
  }

  .contact-form{
      display: flex;
      justify-content: center;
      flex-direction: column;
  }

  .submit{
      background:#3dc1d3;
      padding: 1.5rem;
      font-size: 16px;
      color: white;
      outline: none;
      border: none;
      cursor: pointer;
      font-family: 'Lora', serif;
      transition: 0.3s ease-in-out;
  }

  .submit:disabled{
    background: #333633;
    cursor: not-allowed;
  }

  .contact__input{
      padding: 0.5em 1em;
      font-size: 16px;
      border: none;
      font-family: 'Lora', serif;
  }

  .contact__textarea{
      padding: 0.5em 1em;
      font-size: 16px;
      border: none;
      resize: none;
      font-family: 'Lora', serif;
  }

  a{
      text-decoration: none;
  }
  
  a:link{
      color: #3dc1d3;
  }

  a:visited{
      color: #333633;
  }

@media only screen and (min-device-width: 320px) and (max-device-width: 690px){
    .content__paragraph {
        background: #f2f0f0;
        margin-top: 2em;
        width: 95%;
        padding: 0.5em;
        white-space: normal;
    }

    .content{
        width: 95%;
    }

    html, body{
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .navigation__contact-details {
        flex-direction: column;
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    section{
        width: 90%;
        align-items: center;
    }

    footer{
        width: 100%;
    }
    
    .navigation__logo{
        display: flex;
        justify-content: center;
    }
    
    .logo{
        width: 95%;
    }

    .contact__textarea{
       
        width: 90%;
    }

    .contact__input{
        width: 90%;
    }

    .submit-ctn{
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    input[type=checkbox] {
        -ms-transform: scale(2); /* IE */
        -moz-transform: scale(2); /* FF */
        -webkit-transform: scale(2); /* Safari and Chrome */
        -o-transform: scale(2); /* Opera */
        margin-left: 0.5em;
    }
}
