*{
    padding: 0;
    margin: 0;
    font-family: 'Roboto Condensed', sans-serif;
}
body, html{
    overflow-x: hidden;
}
nav{
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
}
#checkbox-menu,
.toggle{
    display: none;
}
.menu{
    padding: 0;
    margin: 0;
    height: 50px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    list-style-type: none;
}

.menu li a {
    color: #000;
    text-decoration: none;
    align-self: center;
    font-size: 13px;
    padding: 10px 15px;
    transition: background .2s linear;
}

.menu li a:hover{
    background: #ffcc01;
    border-radius: 3px;
}

.menu li a.logo{
    font-size: 25px;
    margin-right: 100px;
}
.menu li a.contacts{
    margin-right: 100px;
}

.wrapper{
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
}

.intro{
    margin-top: 25px;
    display: flex;
    justify-content: flex-end;
}

.intro-img{
    background: #ffcc01 no-repeat right url("../img/1.png");
    width: 965px;
    height: 240px;
}
.intro .intro-text{
    position: absolute;
    font-size: 25px;
    right: 750px;
    /*left: 10px;*/
    top: 150px;
}
.intro-contacts{
    background-color: #ffcc01;
    max-width: 590px;
    position: absolute;
    right: 300px;
    top: 274px;
    display: flex;
    justify-content: space-between;
    padding: 10px 15px;
}
.intro-contacts i{
    color: #fff;
    margin-right: 10px;
}
.intro-contacts p{
    font-size: 18px;
    margin-right: 20px;
}

@media screen and (max-width: 765px) {
    .toggle{
        clear: both;
        display: block;
        text-align: center;
        font-size: 18px;
        line-height: 40px;
        width: 100%;
        color: #000;
        background: #ffcc01;
        transition: all .1s linear;
    }
    .toggle:hover{
        background: #d3a900;
    }

    #checkbox-menu:checked + label .touch li{
        opacity: 1:
        visibility: visible;
        transition: all .7s linear;
    }
    #checkbox-menu:checked + label .touch{
        height: 350px;
    }

    .menu{
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        height: 0;
        transition: height .3s linear;
    }

    .menu li{
        display: flex;
        align-self: center;
        width: 95%;
        opacity: 0;
        visibility: hidden;
    }

    #checkbox-menu:checked + label .menu li {
        opacity: 1;
        visibility: visible;
    }

    .menu li a{
        width: 95%;
        text-align: center;
        align-self: center;
        align-content: center;
    }
    .menu li a.logo{
        font-size: 41px;
        margin-right: 0px;
    }
    .menu li a.contacts{
        margin-right: 0px;
    }

    .intro{
        margin-top: 0;
        display: block;
        max-width: 100%;
    }
    .intro-img{
        background-position: bottom 0px right 630px;
    }
    .intro .intro-text{
        position: relative;
        font-size: 18px;
        right: -10px;
        top: 95px;
    }
    .intro .intro-contacts{
        position: relative;
        right: 0px;
        top: -5px;
    }
    .intro-contacts i{
        margin-right: 10px;
    }
    .intro-contacts p{
        font-size: 13px;
        margin-right: 0px;
    }
}

