﻿* {
    box-sizing: border-box;
}
html {
    background-color: #EEEEFF;
}
body {
    margin: 0;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    color: #3abed7;
    font-family: 'Ubuntu Condensed', sans-serif;
    font-size: 12pt;
}
#header {
    background-color: White;
    font-size: 16px;
    font-weight: bold;
    padding: 4%;
    padding-bottom: 0%;
    transition: all 0.5s ease;
}
    #header h1, #header h2 {
        padding: 0;
        margin: 0;
    }
    #header nav ul {
        list-style-type: none;
        margin: 0;
        text-align: right;
        padding: 10px;
        padding-bottom: 4%;
        transition: all 0.5s ease;
    }
        #header nav ul li {
            padding: 0;
            margin: 0;
            display: inline;
        }

    #header nav a {
        text-transform: uppercase;
        text-decoration: none;
        padding: 2%;
        color: #3abed7;
    }
        #header nav a:hover {
            text-decoration: underline;
        }
    #header #centsablelogo {
        transition: all 0.5s ease;
    }

#messagebox {
    padding: 10px;
    background-color: white;
    border: solid 2px #3abed7;
    margin: 10px;
    padding: 10px;
}
body.section {
    margin-bottom: 1em;
    margin-left: 4%;
    margin-right: 4%;
}

      h2 { font-size: initial;}

#intro {
    background-color: #3abed7;
    color: white;
    padding: 4%;
}
    #intro p {
        color: white;
    }
.bigger {
    font-size: 1.2em;
}
.whiter {
    color: white;
}
#services {
    color: #3abed7;
    background-color: White;
    text-align: center;
}
h1 {
    padding: 0.5em 0;
    font-size: 24pt;
    text-align: center;
    border-bottom: solid 1px #3abed7;
}
h2 {
    font-size: 20pt;
}
p {
    color: black;
}

      #testimonials {
      background-color: #def3f6;
      text-align: center;
      padding-bottom: 1em;
      }

footer {
    text-align: center;
    margin-bottom: 0;
    margin-top: 1em;
    padding: 1%;
}

#contacts {
    text-align: center;
}

    #contacts a {
        color: #3abed7;
        text-decoration: none;
    }

#contactform {
    max-width: 400px;
    margin: auto;
    display: flex;
    flex-direction: column;
}
    #contactform > div {
        display: flex;
        text-align: center;
        justify-content: center;
    }
    #contactform input[type=text], #contactform input[type=email], textarea {
        background-color: #DDD;
        padding: 10px 15px;
        border: solid 1px transparent;
        border-top: solid 1px #999;
        border-radius: 4px;
        flex-grow: 1;
        margin: 5px;
        font-family: 'Ubuntu Condensed', sans-serif;
    }
    #contactform #submitbtn {
        padding: 10px 35px;
        border-radius: 4px;
        color: #3abed7;
        border: solid 1px #3abed7;
        background-color: transparent;
    }

::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color: #333;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #333;
    opacity: 1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #333;
    opacity: 1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #333;
}

      /* Phone */
@media screen and (max-device-width: 481px) {
    #header img {
        width: 90%;
    }

    #introimg {
        display: none;
    }

    nav ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
    }

        nav ul li {
            padding: 0;
            margin: 0;
        }

    nav a {
        display: block;
        text-align: center;
        padding: 4%;
        border-bottom: solid 2px #def3f6;
        font-size: 1.4em;
    }

    #intro {
        text-align: center;
    }

        #intro h1 {
            font-size: 48pt;
        }

        #intro h2 {
            font-size: 32pt;
        }

        #intro p {
            font-size: 18pt;
            color: white;
        }

    #services > div > section > img {
        display: none;
    }

    #contactform input[type='text'], input[type='email'], textarea {
        width: 100%;
    }

    #contactdetails {
        display: none;
    }
}
      /* Tabet and Wider */
@media screen and (min-device-width: 481px) {
    #header {
        z-index: 5;
        position: fixed;
        top: 0; left: 0; right:0;
    }
    #headerplaceholder {
        height : 120px;
    }
    #contactdetails {
        display: block;
        float: right;
        text-align: right;
    }

    #intro {
        padding: 0;
        overflow: auto;
        width: 100%;
        padding-top: 1em;
    }

        #intro #imgdiv {
            width: 25%;
            float: left;
            margin-left: 4%;
            margin-right: 4%;
            margin-top: 4%;
        }

    #introimg {
        max-height: 100%;
        width: 100%;
    }

    #introinner {
    }

    #intro h1 {
        font-size: 64pt;
        text-align: left;
        padding: 0;
        margin: 0;
        padding-top: 1em;
    }

    #intro h2 {
        font-size: 42pt;
        color: #c8e9f2;
    }

    #introinner {
        display: flex;
    }

    #intro p {
        font-size: 22pt;
        color: #d1ecf3;
        width: 49%;
        display: inline-block;
        vertical-align: top;
        padding: 2%;
    }

    #services > div {
        display: flex;
    }

        #services > div > section {
            padding: 0 2%;
        }

            #services > div > section > img {
                max-width: 50%;
            }

    #anchor {
        border: solid 3px blue;
    }

    :target:before {
        content: "";
        display: block;
        height: 120px; /* fixed header height*/
        margin: -120px 0 0; /* negative fixed header height */
    }
}

      /* Screen and Wider */
@media screen and (min-device-width: 960px) {
}
