*,
html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
}

html,
body {
    height: 100%;
    margin: 0;
}

.header {
    width: 100%;
    padding: 10px 0;
    border-bottom: 2px solid #F0F0F0;
    position: fixed;
    top: 0;
    background-color: rgba(255, 255, 255);
}

.header_content {
    margin-left: 10%;
    margin-right: 10%;
    width: 80%;
    height: 4vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    width: 96px;
    height: 48px;
    display: inline-block;
    margin-right: 10px;
}

.list_menu {
    list-style-type: none;
    display: inline;
}

.list_menu>li {
    display: inline;
}

.search {
    width: 150px;
    height: 38px;
    background-color: #EFEFEF;
    border: none;
    border-radius: 5px;
    padding-left: 10px;
    margin-right: 10px;
}

.btn_menu {
    width: 120px;
    height: 38px;
    color: #3F3F3F;
    background-color: #EFEFEF;
    border: none;
    border-radius: 5px;
    margin-right: 10px;
    cursor: pointer;
}

.btn_menu:hover {
    background-color: #C62828;
    color: white;
}

.content {
    margin-left: 25%;
    margin-right: 25%;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    flex: 1;
}

.h1 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.5%;
}

.p {
    margin-top: 20px;
    font-size: 1.2em;
}

.cont {
    gap: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.img {
    border-radius: 5px;
}

.contact_fieldset {
    height: 350px;
    width: 30vw;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 10px;
    padding: 30px;
    border-radius: 5px;
}

.btn_send_input {
    padding: 10px;
    margin-top: 20px;
    background-color: #C62828;
    color: white;
    border: none;
    border-radius: 5px;
}

.input {
    padding: 10px;
}

.mess {
    height: 70px;
}

.block {
    margin-bottom: 20px;
}

.footer {
    width: 100%;
    padding: 10px 0;
    background-color: #515151;
}

.footer_p {
    color: white;
    font-weight: bold;
}

@media screen and (max-width: 480px) {
    .header_content {
        height: 6vh;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .header_content>.footer_p {
        margin-left: 10%;
        margin-right: 10%;
    }

    .search {
        width: 16vw;
    }

    .btn_menu {
        width: 16vw;
    }

    .content {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        justify-content: center;
    }

    .cont {
        flex-direction: column;
    }

    .text>.h1 {
        width: 100vw;
        text-align: center;
    }

    .block>.h1 {
        width: 100vw;
        text-align: center;
    }

    .register_form {
        display: flex;
        justify-content: center;
    }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
    .header_content {
        height: 6vh;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .header_content>.footer_p {
        margin-left: 10%;
        margin-right: 10%;
    }

    .search {
        width: 16vw;
    }

    .btn_menu {
        width: 16vw;
    }

    .content {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        justify-content: center;
    }

    .text {
        width: 50vw;
    }

    .cont {
        width: 100%;
    }

    .block>.h1 {
        width: 100vw;
        text-align: center;
    }

    .register_form {
        display: flex;
        justify-content: center;
    }
}