* {
    margin: 0;
    padding: 0;
    font-family: Cinzel, Arial;
    font-size: 18px;
    box-sizing: border-box;
    scroll-behavior: smooth;

}


body {
    font-family: Cinzel, Arial;
    background-color: #e2e2e2;

}

#wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #e3e7e6;
}

header img {
    width: 100%;
    max-height: 400px;
    display: block;
}

nav {
    text-align: center;
    background-color: darkorange;
    width: 100%;
    display: flex;
    align-items: center;



}

nav a {
    display: inline-block;
    width: 166px;
    padding: 15px 30px;
    color: beige;
    text-decoration: none;
    text-align: center;
    -webkit-transition: all 0.7s ease;
    transition: all 0.7s ease;

}

.dropdown {
    position: relative;
}

.dropdown ul {
    width: 100%;
    text-align: center;
    position: absolute;
    background-color: darkorange;
    list-style-type: none;
    padding: 10px 30px 0 0;
    display: none;


}

.dropdown ul li {
    text-align: center;
    width: 166px;
}

.dropdown ul li a {
    width: 166px;
    height: 100%;
    display: inline-block;

}

.dropdown ul li:hover {
    background-color: orange;
    cursor: pointer;
    font-size: 18px;
    width: 166px;
    background-position: center;
}

.dropdown a:focus + ul,
.dropdown a:hover + ul,
.dropdown ul:hover {
    display: block;
}

nav a:hover {
    background-color: orange;
    cursor: pointer;
    font-size: 18px;
    width: 166px;
    background-position: center;
}




button {
    display: inline-block;
    background-color: darkorange;
    border: 4px solid darkorange;
    width: 200px;
    margin: 10px 15px 40px 15px;
    text-align: center;
    border-radius: 5%;
    color: beige;
}

button a {

    display: inline-block;
    text-align: center;
    font-size: 14px;
    color: beige;
    text-decoration: none;
    margin: 10px;

}

button:hover {
    background-color: orange;
    cursor: pointer;
    font-size: 16px;
    margin: 10px;
    max-width: 220px;
}

.active {
    background-color: orange;
}

article {
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 0 20px;

}

article h1 {
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid red;
}

article h1.main {
    text-align: center;
    font-size: 36px;
    margin: 0px 10% 20px 10%;
    padding-bottom: 20px;

}

article h1 a {
    text-align: center;
    font-size: 36px;
    margin: 0px 10% 20px 10%;
    padding-bottom: 20px;


}

hgroup p {
    font-size: 38px;
    margin-top: 20px;
    margin-left: 400px;
    margin-right: 400px;
}

article h2 {
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid red;
}

article h2 a {
    font-size: 36px;
    text-align: center;
    margin: 0 10% 20px 10%;
    padding-bottom: 15px;
    margin-left: 280px;
    margin-right: 280px;
}

article h3 {
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid red;
}

article h3 a {
    font-size: 36px;
    text-align: center;
    margin: 0 10% 20px 10%;
    padding-bottom: 15px;
    margin-left: 280px;
    margin-right: 280px;
}


article img.bottom {
    display: block;
    max-width: 40%;
    height: 180px;
    margin: 40px auto;
    border-radius: 30% 30%;
    border: 2px solid black;
}

article img.center {
    display: block;
    width: 40%;
    height: 30%;
    margin: 10px auto 0 auto;
    padding: 40px;
}

hgroup p.font {
    text-align: center;
    font-weight: 700;
    font-size: 38px;
    margin: 20px 0 20px 0;
    color: red;
}


article p {
    text-align: justify;
    line-height: 25px;
    font-size: 28px;
    padding: 15px 0 40px 0;
}




article img.icon {
    width: 80px;
    height: 40px;
    margin: 0;
    padding: 0;

}

div.contact {
    max-width: 400px;
    text-align: left;
    float: left;
}




table tr {
    width: 800px;
    height: 300px;
    max-width: 100%;
}

table td {
    max-width: 100%;
    height: 300px;
    padding: 15px 0 40px 0;
}

table td p {
    font-size: 24px;
    padding-bottom: 1px;
}

table img {
    max-width: 300px;
    max-height: 300px;

}

table p {
    text-align: justify;
    width: 800px;
    display: block;
    margin-left: 10%;

}

div .contact-form {
    padding: 30px;
    width: 600px;
    background-color: aliceblue;
    border-radius: 24px;
    float: right;
}

div .contact-box {
    display: flex;
    flex-direction: column;
    margin: 40px 0;

}

div .contact-form label {
    margin-bottom: 10px;
    font-size: 22px;
}

div .contact-form input,
div .contact-form textarea,
div .contact-form button {
    padding: 15px;
    font-size: 16px;
    font-family: inherit;
    border: 2px solid darkorange;
    border-radius: 12px;

}

div .contact-form textarea {
    resize: vertical;
    min-height: 200px;
}

div .contact-form button {
    padding: 12px;
    cursor: pointer;
}

div .contact-form button: hover {
    color: white;
    background-color: orange;
}

.msg-status {
    display: none;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50px;
    padding: 30px;
    width: 600px;
    border-radius: 12px;
    font-size: 12px;

}

.success {
    display: none;
    background-color: chartreuse;
}

.error {
    display: flex;
    background-color: firebrick;

}

iframe {
    width: 100%;
    margin: 50px 0;
}

footer {
    height: 160px;
    background-color: darkorange;
    color: white;
    line-height: 20px;
    text-align: center;
    margin-top: 30px;


}

footer p {
    margin: 0 5px 0 0;
    font-size: 12px;
    text-align: center;

}

footer a {
    margin: 0 5px 0 0;
    font-size: 12px;
    text-align: justify;
}

footer p.imie {
    margin: 0 5px 0 0;
    font-size: 10px;
    text-align: right;
}

footer img.icon {
    width: 40px;
    height: 20px;
    margin: 0;
    padding: 0;

}


footer img {
    max-width: 10%;
    height: 30px;
    margin: 5px 15px 0px 0;

}


@media screen and (max-width:767px) {
    #wrapper {

        width: 767px;
        font-size: 12px;
        margin: 0 auto;

    }

    nav {
        text-align: center;
        background-color: darkorange;
        width: 100%;

    }

    nav a {
        display: flex;
        font-size: 12px;
        width: 20%;
        text-align: center;
    }

    .dropdown {
        width: 20%;
    }


    table tr {
        width: 300px;
        height: 500px;
        max-width: 100%;
    }

    table td {
        max-width: 100%;
        height: 150px;
        padding: 10px 0 30px 0;
    }

    table img {
        max-width: 300px;
        height: 500px;

    }

    table p {
        text-align: justify;
        width: 300px;
        display: block;
        margin-left: 10%;

    }

    footer {
        height: 250px;
    }

    footer p {
        margin: 5px 5px 10px 0;
    }

    footer a {
        margin: 0 5px 0 0;
    }

    footer p.imie {
        margin: 10px 5px 0 0;
    }

    footer img {
        max-width: 8%;
        height: 30px;
        margin: 5px 15px 0px 0;

    }


    hgroup {
        font-size: 24px;
    }
