@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&family=Playfair:ital,wght@0,300;1,300&display=swap');
body{
    font-family: 'Open Sans', sans-seri;
    background-image: url(2918381.jpg);
    background: linear-gradient(rgba(0, 0, 0, 0.70), rgba(0, 0, 0, 0.70)), url(2918381.jpg);
    background-attachment: fixed;
    color: whitesmoke;
    letter-spacing: 1px;
 
}
*{
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}
nav{
    height: 100px;
    background: black;
}
nav img{
    width: 280px;
    position: absolute;
    left: 3%;
    
}
nav ul{
    float: right;
    margin-right: 25px;
    margin-top: 10px;
}
nav ul li{
    display: inline-block;
    line-height: 80px;
    margin: 0 15px;
}
nav ul li a{
    position: relative;
    color: whitesmoke;
    font-size: 20px;
    text-transform: uppercase;
    padding: 5px 0;
}
nav ul li a:before{
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: darkgoldenrod;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .3s linear;
}
nav ul li a:hover:before{
    transform: scaleX(1);
    transform-origin: left;
}
label #btn, label #pryc{
    color: whitesmoke;
    font-size: 30px;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}
#check{
    display: none;
}
@media (max-width:1118px){
    nav img{
        left: 3%;
    }
}
@media (max-width:944px){
    nav img{
        left: 2%;
       top: 10px;
        width: 200px;
    }
    nav ul li a{
        font-size: 17px;
    }
}
@media (max-width:860px){
    label #btn{
        display: block;
    }
    ul{
        position: fixed;
        width: 100%;
        height: 100vh;
        background: black;
        top: 80px;
        left: -100%;
        text-align: center;
        transition: all .5s;
    }
    nav ul li{
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }
    nav img{
        left: 1%;
       top: 10px;
        width: 200px;
    }
    nav ul li a{
        font-size: 20px;
    }
    #check:checked ~ ul {
        left: 0;
    }
    #check:checked ~ label #btn{
        display: none;
    }
    #check:checked ~ label #pryc{
        display: block;
    }
}
footer{
    background-color: black;
    position: fixed;
    bottom: 0;
    width: 100%;
}
.footernav{
    width: 100%;
    padding: 20px 20px 20px;
}
.social{
    display: flex;
    justify-content: center;
}
.social a{
text-decoration: none;
padding: 5px;
background-color: whitesmoke;
margin: 5px;
border-radius: 50%;
margin: 0 20px;
}
.social a i{
    font-size: 2em;
    color: black;
    opacity: 0,9;
 
}
.social a:hover{
    background-color: darkgoldenrod;
    transition: 1s;
}
.con{
width: 100%;
max-width: 420px;
text-align: center;
  background: rgb(3, 3, 3);
  padding: 28px;
  margin: 0 28px;
  border-radius: 10px;
margin-top: 10%;
float: left;
}
.con label{
    width: 95%;
    color: whitesmoke;
    font-size: 15px;
    margin: 5px 0;
}
.con input{
    height: 20px;
    width: 90%;
    border-radius: 7px;
    padding: 0 10px;
}
.con .butt input{
    width: 40%;
    height: 30px;
    background: rgb(224, 223, 223);
}
.con .butt input:hover{
  background: darkgoldenrod;
  color: whitesmoke;
}
@media(max-width: 600px){
    .con{
        min-width: 280px;
    }
    .con input{
        margin-bottom: 12px;
        width: 100%;
    }
    .con label input textarea i {
        max-height: 380px;
        overflow: auto;
    }
}
.rez{
width: 100%;
float: left;
max-width: 500px;
text-align: center;
background: rgb(3, 3, 3);
padding: 40px;
margin: 0 28px;
border-radius: 10px;
margin-top: 5%;
margin-left: 5%;
}
.rez label{
    width: 95%;
    color: whitesmoke;
    font-size: 15px;
    margin: 5px 0;
    font-size: 20px;
}
.rez input{
    height: 20px;
    width: 80%;
    border-radius: 7px;
    padding: 0 10px;
}
.rez .butto input{
    width: 70%;
    height: 40px;
    background: rgb(224, 223, 223);
}
.rez .butto input:hover{
  background: darkgoldenrod;
  color: whitesmoke;
}
@media(max-width: 600px){
    .con{
        min-width: 280px;
    }
    .con input{
        margin-bottom: 12px;
        width: 100%;
    }
    .con label input textarea i {
        max-height: 380px;
        overflow: auto;
    }
}
.mapa{
    margin-top: 5%;
margin-left: 6%;
}