*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

@media (max-width:450px) {

    .bloc_menu{
        display: none;
        position: absolute;
    }

    .container {
        display: inline-block;
        cursor: pointer;
    }
    
    .bar1, .bar2, .bar3 {
        width: 35px;
        height: 5px;
        background-color: #333;
        margin: 6px 0;
        transition: 0.4s;
    }

    .change .bar1 {
        -webkit-transform: rotate(-45deg) translate(-9px, 6px);
        transform: rotate(-45deg) translate(-9px, 6px);
    }
    
    .change .bar2 {opacity: 0;}
    
    .change .bar3 {
        -webkit-transform: rotate(45deg) translate(-8px, -8px);
        transform: rotate(45deg) translate(-8px, -8px);
    }
    
}


html{
    position: relative;
	height: 100%;
    width: 100%;
    background-image: url('../image/bg_grid.png');
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: italic;
}
.bloc{
    max-width: 1400px;
    margin: 0 auto;
    min-height: 840px;
    background: rgba(255, 255, 255, 0.034);
    backdrop-filter: blur(2px);
    border-radius: 15px;
    box-shadow: 10px 10px 5px rgba(68, 68, 68, 0.438),-5px 5px 5px rgba(68, 68, 68, 0.438);

}
header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    flex-wrap: wrap;
}
.bloc_menu{
    position: relative;
    width: 200px;
}
ul li{
    list-style: none;
}
.nav-item a {
    background-color: #eee;
    margin: 5px;
    border-radius: 15px;
    color: black;
    display: block;
    padding: 12px;
    font-size: 1.1em;
    text-decoration: none;
}

.nav-item a:hover{
    background-color: #ccc;
}
.menbar .dropdown-menu{
    display: none;
    position:absolute;
    min-width: 200px;

}
dropdown-item{
    background-color: red;
}
.menbar .nav-item:hover .dropdown-menu{
    position: relative;
    display: block;
    z-index: 9999;
    margin-right: -100px;
    margin-left: 100px;

}
.menbar .nav-item:hover .nav-item{
    position:absolute;
}
.blok_cont{
    display: flex;
    position: relative;
}

.content{
    display: flex;
    margin: 25px;
    position: relative;
    border-color: aqua;
    text-align: justify;
    flex-direction: row;
    justify-content: center;
}
.content_blok{
    display: flex;
    flex-wrap: wrap;
    max-width: 70%;
    align-content: flex-start;
}
p {
    margin-top: 10px;
    font-size: 20px;
    text-align: justify;
}
ol li {
    margin-top: 10px;
    font-size: 20px;
}
h1 {
    font-size: 4.5em;
    list-style;
}
h2, h3, h4 {
    font-size: 1.8em;
}
.textcont{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: space-around;
}
.card_cont{
    display: flex;
    margin: 15px;
    max-width: 70%;
    flex-wrap: wrap;

}
footer{
    width: 100%;
    height: 150px;
   
    display: flex;
    flex-wrap: nowrap;
    /* align-content: center; */
    justify-content: center;
    align-items: center;
}

.forma{
    display: flex;
    width: 100vh;
    justify-content: center;
    align-items: flex-start;
    position: absolute;
}
.email_form{
    width: 70%;
    padding: 20px 30px 50px;
    background: rgba(91, 88, 88, 0.082);
    backdrop-filter: blur(3.4px);
    border: 1px solid rgba(255, 255, 255, 0.034);
    border-radius: 15px;
    box-shadow: 10px 10px 5px rgba(68, 68, 68, 0.438),-5px 5px 5px rgba(68, 68, 68, 0.438);

}
.new_form{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 35px;
    margin-top: 10px;
}

input{
    background: transparent;
    height: 40px;
    border: none;
    border-bottom: 1px solid #fff;
    padding-left: 20px;
    font-size: 24px;
    color: #242424;
    width: 45%;
}

input:focus::placeholder{
    color: darkslategrey;
}

input:focus{
    outline: none;
}

.meseg{
    margin-top: 40px;
    border: 1px solid #fff;
    border-radius: 13px;
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    min-height: 300px;

}

.message{
    font-size: 24px;
    color: gray;

}

textarea{
    margin-top: 20px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #242424;
}

textarea:focus{
    outline: none;
}

.but{
    width: 100%;
    text-align: right;
}

.button{
    padding: 10px 20px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 18px;
    color: #707070;
    border-radius: 5px;
    border: 1px solid #707070;
    background: rgba(0, 0, 0, 0.3);
    margin-top: 30px;
}

.button:hover{
    background: #0000008a;
}
.button:active{
    transform: translateY(2px);
}
.send_messag{
    position: fixed;
    opacity: 0;
}