/* Google fonts import */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Jacques+Francois&family=Lato:ital,wght@0,100;0,300;0,400;1,100;1,300;1,400&family=Raleway:ital,wght@0,100..900;1,100..900&family=Shadows+Into+Light&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #3a3a3a;
    font-family: 'Raleway', sans-serif;
}

h1,
h2,
h3 {
    font-family: 'Bebas Neue', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    word-spacing: 2px;
    font-size: 180%;
    color: #252525;
}

h4 {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 1px;
    word-spacing: 2px;
    font-size: 140%;
    color: #252525;
}

hr {
    margin: 10px;
}

header {
    background-color: #ffffff;
    padding: 0 1rem;
    position: fixed;
    z-index: 99;
    width: 100%;
    box-shadow: 0 2px 2px rgba(58, 58, 58, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: baseline;

}

header a {
    text-decoration: none;
    color: whitesmoke;
}

#menu {
    font-size: 110%;
    letter-spacing: 2px;
    list-style-type: none;
}

#menu>li {
    margin-bottom: 0.75em;
}

.active {
    border-bottom: 1px solid #3a3a3a;
}

nav {
    position: absolute;
    background-color: rgba(58, 58, 58, 0.75);
    width: 100%;
    left: 0;
    padding: 1rem 1rem;
    box-shadow: 0 2px 2px rgba(58, 58, 58, 0.5);
    display: none;
    top: 100%;
}

#nav-toggle:checked~nav {
    display: block;
}

#nav-toggle {
    display: none;
}

.nav-toggle-label {
    font-size: 2rem;
}

main {
    flex: 1 0 auto;
    margin-top: 40px;
}

main p {
    color: #3a3a3a;
    font-family: 'Lato', sans-serif;
    letter-spacing: 1px;
    text-align: justify;
    line-height: 1.5rem;
}

#hero {
    height: 400px;
    width: 100%;
    background: url("../images/banner_photo.webp") no-repeat left/cover;
    position: relative;
}

#cover-text {
    background-color: rgba(58, 58, 58, 0.5);
    position: absolute;
    bottom: 30px;
    width: 80%;
    font-size: 130%;
    min-height: 200px;
    padding-top: 40px;
    padding-left: 10px;
}

#cover-text>h2,
#cover-text>h3 {
    color: whitesmoke;
}

#aboutme {
    margin: 20px;
    text-align: center;
    font-size: 150%;
}

#aboutme hr {
    border-top: 1px solid #3a3a3a;
    margin: 5px 0;
}

#circle-cover-bg {
    background: url('../images/about_me.webp') no-repeat top center/cover;
    height: 90vw;
    width: 90vw;
    margin-bottom: 20px;
    border-radius: 50%;
    max-width: 300px;
    max-height: 300px;
}

#aboutme-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

footer {
    background-color: black;
    padding: 1em;
    text-align: center;
    width: 100%;
}

footer p {
    color: antiquewhite;
}

#social-networks {
    text-align: center;
    padding: 20px 0;
    display: flex;
    justify-content: space-evenly;
    list-style-type: none;
}

#social-networks i {
    font-size: 180%;
    padding: 5%;
    color: antiquewhite;
}

#social-networks i:hover {
    font-size: 180%;
    padding: 5%;
    color: #3a3a3a;
    background-color: antiquewhite;
}

#variations {
    display: flex;
    flex-wrap: wrap;
    color: #3a3a3a;
    justify-content: center;
    align-items: center;
}

#variations li {
    margin-left: 20px;
}

#variations div {
    width: 300px;
    height: 200px;
    padding: 20px;
    margin: 20px;
    border: 2px solid #3a3a3a;
    border-radius: 6px;
}

#variations h3 {
    text-align: center;
    font-size: 120%;
}

#services h2 {
    text-align: center;
    font-size: 180%;
    padding-top: 50px;
}

#contact-box {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

#address {
    margin-top: 10px;
}

#address p {
    color: #3a3a3a;
    font-family: 'Raleway', sans-serif;
    text-align: center;
}

input[type=text],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}

input[type=email] {
    width: 100%;
    padding: 12px;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}

input[type=submit] {
    background-color: #3a3a3a;
    color: antiquewhite;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

input[type=submit]:hover {
    background-color: antiquewhite;
    color: #3a3a3a;
}

.container {
    border-radius: 5px;
    background-color: #ffffff;
    padding: 20px;
}

.text-center {
    text-align: center;
}

@media screen and (min-width: 768px) {

    nav {
        display: block;
        position: relative;
        box-shadow: none;
        width: fit-content;
        padding-right: 1rem;
        background-color: #ffffff;
    }

    #menu {
        display: flex;
    }

    #menu>li {
        padding-left: 1rem;
    }

    .nav-toggle-label {
        display: none;
    }

    header a {
        text-decoration: none;
        color: #3a3a3a;
    }

    #logo {
        font-size: 200%;
        line-height: 75px;
        margin: 0 0.5rem;
    }

    main {
        margin-top: 75px;
    }

    #cover-text {
        width: 300px;
        right: 50px;
    }

    #form-map {
        display: flex;
        flex-direction: row;
    }

    #map-container {
        padding-top: 42px;
    }

    #map-container iframe {
        width: 100%;
    }

    .container {
        width: 50%;
    }

    #address {
        margin-left: 100px;
    }
}

@media screen and (min-width: 992px) {

    #menu a:hover {
        border-bottom: 1px solid #3a3a3a;
    }
}

@media screen and (min-width: 1200px) {

    #aboutme {
        display: flex;
        flex-direction: row;
    }

    #aboutme-text {
        margin: 30px;
    }

    #aboutme-image {
        margin-top: 30px;
    }
}