@import url(https://fonts.googleapis.com/css?family=Montserrat:400,700);

html {
    font-family: 'Didot', Arial, sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    background: #FFFFF5;
}

button {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
input,
select,
textarea {
    color: #5A5A5A;
    font: inherit;
    margin: 0;
}

input {
    line-height: normal;
}

textarea {
    overflow: auto;
}

#container {
    border: solid 3px #474544;
    max-width: 768px;
    margin: 60px auto;
    position: relative;
}

form {
    padding: 37.5px;
    margin: 50px 0;
}

h1 {
    color: #474544;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 7px;
    text-align: center;
    text-transform: uppercase;
}

.underline {
    border-bottom: solid 2px #474544;
    margin: -0.512em auto;
    width: 80px;
}

.icon_wrapper {
    margin: 50px auto 0;
    width: 100%;
}

.icon {
    display: block;
    fill: #474544;
    height: 50px;
    margin: 0 auto;
    width: 50px;
}

.email {
    float: right;
    width: 45%;
}

input[type='text'],
[type='email'],
select,
textarea {
    background: none;
    border: none;
    border-bottom: solid 2px #474544;
    color: #474544;
    font-size: 1.000em;
    font-weight: 400;
    letter-spacing: 1px;
    margin: 0em 0 1.875em 0;
    padding: 0 0 0.875em 0;
    text-transform: uppercase;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

input[type='text']:focus,
[type='email']:focus,
textarea:focus {
    outline: none;
    padding: 0 0 0.875em 0;
}

.message {
    float: none;
}

.name {
    float: left;
    width: 45%;
}

select {
    background: url('https://cdn4.iconfinder.com/data/icons/ionicons/512/icon-ios7-arrow-down-32.png') no-repeat right;
    outline: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}

select::-ms-expand {
    display: none;
}

.subject {
    width: 100%;
}

.telephone {
    width: 100%;
}

textarea {
    line-height: 150%;
    height: 150px;
    resize: none;
    width: 100%;
}

::-webkit-input-placeholder {
    color: #474544;
}

:-moz-placeholder {
    color: #474544;
    opacity: 1;
}

::-moz-placeholder {
    color: #474544;
    opacity: 1;
}

:-ms-input-placeholder {
    color: #474544;
}

.header.img {
    max-height: 100px;;
}

img {
    margin: auto;
}

#form_button {
    background: none;
    border: solid 2px #474544;
    color: #474544;
    cursor: pointer;
    display: inline-block;
    font-family: 'Helvetica', Arial, sans-serif;
    font-size: 0.875em;
    font-weight: bold;
    outline: none;
    padding: 20px 35px;
    text-transform: uppercase;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#form_button:hover {
    background: #474544;
    color: #F2F3EB;
}


.content {
    padding-top: 3%;
    width: 40%;
    /* border: 1px solid black; */
    margin: auto;
}

span.title {
    display: inline-block;
    font-size: 70;
    letter-spacing: 2.5rem;
    margin-bottom: -5%;
    margin-top: auto;
}

span.subtitle {
    display: inline-block;
    font-size: 35;
    letter-spacing: 1.25rem;
    margin-bottom: -5%;
    margin-top: auto;
}

body {
    margin-top: 30px;

    background-color: #FFFFFA;
    font-family: 'Didot', Times, serif;
}

.navi ol {
    list-style-type: none;
    padding-left: 0;
}

.navi {
    display: inline-block;
}

a {
    color: black;

}

.navi a::after {
    display: inline-block;
    color: #000;
    content: '.';
    font-size: 80%;
    font-weight: bold;
    padding: 0 3px;
}


.content p {
    text-align: left;
}

/* 
div {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
} */

p {
    text-align: center;
    font-weight: 100;
}


p.text {
    font-size: 20;
    letter-spacing: 0.2rem;
    margin-top: 0;
}

ul.navigation {
    font-size: 10;
    letter-spacing: 1rem;
    margin-top: 0;
}

table {
    border-collapse: collapse;
    width: 250px;
    height: 180px;
}

td {
    height: 10%;
    border: 2px solid black;
}

div.header {
    height: 200px;
}


#bar {
    padding-bottom: -30px;
}

#sq {
    background: black;
    height: 50%;
    width: 50%;
    margin-left: 25%;
    margin-right: 25%;
}

@media screen and (max-width: 1280px) {
    #container {
        margin: 20px auto;
        width: 95%;
    }

    .content {
        padding-top: 5%;
        /* width: 60%; */
        /* border: 1px solid black; */
        margin: auto;
    }
}

@media screen and (max-width: 980px) {
    span.title {
        font-size: 26px;
        letter-spacing: 1.5rem;
    }

    #headerg {
        margin: auto;
    }

    h1 {
        font-size: 26px;
    }

    .content {
        padding-top: 5%;
        width: 90%;
        /* border: 1px solid black; */
        margin: auto;
    }

    .underline {
        width: 68px;
    }

    #form_button {
        padding: 15px 25px;
    }

    input[type='text'],
    [type='email'],
    select,
    textarea {
        font-size: 0.775em;
    }
}

@media screen and (max-width: 420px) {
    h1 {
        font-size: 18px;
    }

    .icon {
        height: 35px;
        width: 35px;
    }

    .underline {
        width: 53px;
    }

    input[type='text'],
    [type='email'],
    select,
    textarea {
        font-size: 0.675em;
    }
}