* {box-sizing: border-box;}
html, body {margin: 0; padding:0; height: 100%; text-align: center;}
section {min-height: 100%;}
a {text-decoration: none;}
li {list-style-type: none;}

h1, h2, h3 {font-family: 'Roboto', sans-serif; font-weight: 500; color: black; text-transform: uppercase;}
a {font-family: 'Roboto', sans-serif; font-weight: 500; color: #f0f0f0; text-transform: uppercase;}
h2 {color: black;}
h3 {font-size: 40px; padding-top: 8%; margin-bottom: 5px;}
h4, p {font-family: 'Roboto Slab', serif; color: black;}

hr {width: 30px; height: 3px; background: black; border: 0; margin: 0 auto 40px auto; /* top, right, bottom, and left */}
#logo, li, img, i, .button {transition: all 300ms; -webkit-transition: all 300ms; -o-transition: all 300ms; -moz-transition: all 300ms;}
.fa-solid.fa-bars {display: none;}

/* HEADER *******************************************/

header {
    width: 100%;
    height: 65px;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,68,133,255);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

#logo {
    width: 100px;
    float: left;
    margin: 10px 0 0 50px;
}

#logo:hover {
    filter: brightness(150%);
}

#logo img {
    width: 100%;

}

header nav {
    float: right;
    margin: 10px 50px 0 0;
}

header nav ul li {
    float: left;
    margin-left: 25px;
}

header nav ul li a {
    font-size: 16px;
}

header nav ul li:hover{
    padding-top: 5px;
}


/* HOME *******************************************/

#home {
    background: linear-gradient(rgba(0, 68, 133, 0.6), rgba(229, 229, 229, 0.5)), url("../img/landing.png");
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
}

.title-container {
    margin: 240px auto 0 auto;
    text-align: center;
}

#home h1 {
    font-size: 80px;
    position: relative;
}

#home h1 .top-line {
    display: block;
    font-family: Verdana;
    text-transform: none;
}

#home h1 {
    position: relative;
}

#home h1 .bottom-line-container {
    display: inline-block;
    white-space: nowrap;
    padding: 0 10px;
}

#home h1 .bottom-line {
    display: block;
    font-family: "Caveat", bold;
    text-transform: none;
    transform: rotate(-15deg);
    font-size: 4em;
    margin-top: -90px;
}

#home i {
    font-size: 60px;
    color: black;
    margin-top: -50px;
}

#home i:hover {
    padding-top: 20px;
}


/* ABOUT *******************************************/

#about img {
    width: 240px
}

#about img:hover {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -o-transform: scale(1.1);
}

#about h4 {
    font-size: 25px;
}

#about p {
    width: 700px;
    margin: 0 auto 20px auto;
}

#slogan {
	text-decoration: underline;
	font-style: italic;
	font-family: "Caveat", bold;
	font-size: 25px;
}

/* LOCATION *******************************************/

#location {
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

#location-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 28px;
}

#slideshow {
    position: relative;
    max-width: 48%;
    overflow: hidden;
}

.slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.slide img {
    max-width: 100%;
    max-height: 400px;
}

#location-address {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#social-icons {
    margin-top: 20px;
	cursor: pointer;
}

#social-icons a {
    margin: 0 10px;
    font-size: 30px;
    color: #494949;
}

#social-icons a:hover {
    color: #007bff;
}

/* CONTACT *******************************************/

form input, textarea {
    font-family: 'Roboto Slab', serif;
    font-size: 15px;
    margin-bottom: 10px;
    border-radius: 2px;
    border: 2px solid;
    border-color: #494949;
}

form input:first-child {
    margin-top: 10px;
}

form input {
    width: 552px;
    height: 30px;
}

form textarea {
    width: 550px;
    height: 200px;
    resize: none;
}

.input_text {
    color: #494949;
    padding-left: 10px;
}

::-webkit-input-placeholder {color: #999999;}
::-moz-placeholder {color: #999999;}
::-ms-input-placeholder {color: #999999;}
::-moz-placeholder {color: #999999;}

#form-button {
    background-color: rgba(0, 68, 133, 255);
	cursor: pointer;
    color: #f0f0f0;
    width: 550px;
    height: 50px;
}

#form-button:hover {
    opacity: 0.8;
    color: #f0f0f0;
}

/* FOOTER */

footer {
    width: 100%;
    height: 70px;
    background-color: rgba(0, 68, 133, 255);
}

footer p {
    font-size: 12px;
    color: #f0f0f0;
    padding-top: 30px;
}

/* MEDIA QUERIES *******************************************/

/* TABLET */

@media screen and (max-width: 1024px) {
    /* HOME HEADER ABOUT */
    header nav {
        margin-top: 0;
    }

    header nav ul li {
        font-size: 12px;
    }

    #home h1 {
        font-size: 50px;
        margin-top: 200px;
    }
	
	#home h1 .bottom-line {
		margin-top: -45px;
	}

    #home h2 {
        font-size: 22px;
    }


    h3 {
        width: 100%;
        padding-top: 12%;
    }

    #about p {
        width: 80%;
    }
	

    /* CONTACT */
    form input, form textarea {
        width: 60%;
    }

    #form-button {
        width: 60%;
    }
}

/* MOBILE */
@media screen and (max-width: 720px) {
    /* HOME HEADER ABOUT */
    header nav {
        margin: 0;
        float: none;
    }

    .fa-solid.fa-bars {
        font-size: 30px;
        display: inline-block;
        width: 100%;
        cursor: pointer;
        text-align: right;
        margin: -90px 0px 0px -50px;
    }

    .fa-solid.fa-bars:hover {
        opacity: 0.5;
    }

    header {
        height: 65px;
        position: fixed;
        width: 100%;
        background-color: rgba(0, 68, 133, 255);
        z-index: 1000;
    }

    #logo {
        float: left;
        margin: 10px 20px 0 20px;
        position: relative;
        z-index: 2;
    }

    header nav ul {
        height: 0;
        overflow: hidden;
        margin: 0;
        padding: 0;
        width: 100%;
        position: absolute;
        top: 65px;
        left: 0;
        background-color: rgba(0, 68, 133, 255);
        z-index: 1;
    }

    header nav ul.open {
        height: auto;
    }

    header nav ul li {
        width: 100%;
        padding: 5px 0;
        margin: 0;
        font-size: 11px;
        background-color: rgba(0, 68, 133, 255);
        border-top: 1px solid #dddddd;
    }

    header nav ul li:hover {
        background-color: black;
    }

    #home h1 {
        font-size: 30px;
        margin-top: 200px;
    }
	
	#home h1 .bottom-line {
		margin-top: -35px;
	}

    #home h2 {
        height: auto;
    }

    /* LOCATION */
    
    #location-content {
        flex-direction: column;
        align-items: center;
    }

    #location-map {
        width: 100%;
        margin-bottom: 20px;
    }

    #location-address {
        width: 100%;
    }

    /* CONTACT */

    form input,
    form textarea {
        width: 70%;
    }

    #form-button {
        width: 70%;
    }
}

