body {
    background: #eaeaeb;
    font-family: Montserrat, sans-serif;
    color: white;
    font-size: 17px;
    font-weight: 300;
}
h1, h2 {
    font-size: 100px;
    font-weight: bold;
    margin: 0;
}
p {
    line-height: 33px;
    margin: 0;
}
a {
    color: inherit;
    word-wrap: break-word;
}
a:visited {
    color: inherit;
}
section {
    height: 100vh;
    width: 100%;
    position: relative;
}

input, textarea {
    padding: 0;
    border-radius: 0;
}
.background-img {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height:100%;
}
.left {
    float: left;
}
.right {
    float: right;
}
#welcome .background-img {
    background-image: url(img/welcome.jpg);
    width:83%;
}
#about .background-img {
    background-image: url(img/about.jpg);
    width:35% ;
}
#contact .background-img {
    background-image: url(img/contact.jpg);
    width: 83%;
}



.content {
    position:absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    background-color: #73bfd4;
}
#welcome .content {
    right: 0;
    max-width: 45%;
    padding: 20px 44px 15px;
}
#about .content {
    left: 0;
    max-width: 62%;
    padding: 40px 67px 35px 139px;
}
#contact .content {
    left: 50%;
    text-align: center;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    padding: 38px;
}





#table table {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    max-width: 1300px;
    color: #333;
    border-collapse: collapse;
}
    #table table tr {
        border-top: 1px solid #333;
    }
    #table table tr:last-child {
        border-bottom: 1px solid #333;
    }
        #table table tr td {
            padding: 2em;
        }
        #table table tr td:nth-child(1) {
            border-right: 1px solid #333;
            width: 28%;
            text-align: center;
            font-weight: bold;
        }
        #table table tr td:nth-child(2) {
            text-align: justify;
        }



#contact form {
    width: 100%;
}
    #contact form input, #contact form textarea {
        width: 100%;
        border: none;
        color: #333;
        margin: 1em 0;
    }
    #contact form #email{
         height: 45px;
         text-align: center;
    }
    #contact form #message {
        box-sizing: border-box;
        resize: none;
        height: 187px;
        padding: 1em;
        text-align: center;
    }
    #contact form #send {
        height: 45px;
        background-color: #fff;
        width: 100%;
        cursor: pointer;
    }
#contact form #response-message {
    font-weight: bold;
}
.red {
    color: #FB684D;
}
.green {
    color: #E0FCE9;
}
#contact form input.waiting {
    background-color: #ccc;
    cursor: initial;
}

@media only screen and (max-width: 1000px){
    h1, h2 {
        font-size: 70px;
    }
    #about .background-img {
        width: 45%;
    }
}

@media only screen and (max-width: 700px){
    body {
        font-size: 16px;
    }
    p {
        line-height: 27px;
    }

    #welcome .content {
        max-width: 70%;
    }
    #about .content {
        max-width: none;
        width: 80%;
        box-sizing: border-box;
        top: 0;
        left: 50%;
        transform: translate(-50%, 0);
        padding: 2em;
    }
    #table table tr {
        border-top: none;
        border-bottom: 1px solid #333;
    }
    #table table tr td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
        padding: 1em 0 !important;
    }
    #table table tr td:nth-child(1) {
        border: none;
    }

    #welcome .background-img,
    #about .background-img,
    #contact .background-img {
        width: 100%;
    }
}

@media only screen and (max-width: 450px){
    body {
        font-size: 14px;
    }
    p {
        line-height: 20px;
    }
    h1, h2 {
        font-size: 45px;
    }
    #about .content, #contact .content {
        box-sizing: border-box;
        width: 90%;
        padding: 1em;
    }
    #table table {
        width: 90%;
    }
    #contact form input, #contact form textarea {
        margin: 0.5em 0;
    }
}


@media only screen and (max-height: 1000px){
    #about {
        height: 120vh;
    }
    #table {
        height: 150vh;
    }
}

@media only screen and (max-height: 650px){
    #about {
        height: 120vh;
    }
    #table {
        height: 180vh;
    }
}

@media only screen and (max-height: 550px){
    #about {
        height: 140vh;
    }
    #table {
        height: 210vh;
    }
    #contact {
        height: 120vh;
    }
}


/*TODO: https://css-tricks.com/introducing-css-scroll-snap-points/ */
/*body {
    overflow-x: hidden;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  -webkit-scroll-snap-points-y: repeat(100%);
      -ms-scroll-snap-points-y: repeat(100%);
          scroll-snap-points-y: repeat(100%);
  -webkit-scroll-snap-type: mandatory;
      -ms-scroll-snap-type: mandatory;
          scroll-snap-type: mandatory;
  -webkit-scroll-snap-destination: 100% 0%;
      -ms-scroll-snap-destination: 100% 0%;
          scroll-snap-destination: 100% 0%;
}
section {
    scroll-snap-align: start;
}*/

