*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
}

body{
    overflow-x: hidden;
}

.main-width{
    width: 1280px;
    max-width: 95%;
    margin: 0 auto;
    padding: 0px 20px;
}

.hero{
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background:  linear-gradient(to left bottom, rgba(255, 44, 44, 0.15), rgba(0, 0, 0, 0.2)),
                linear-gradient(to left top, rgba(0, 0, 255, 0.1), rgba(0, 0, 0, 0.2)), url(obrazky2/back.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
}

header{
    padding: 40px 0 30px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}

.logo i{
    height: 55px;
    width: 55px;
    background: transparent;
    border: 2px solid #40c3ff;
    color: #40c3ff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
}

nav .hamb{
    width: 35px;
    height: 24px;
    right: 3%;
    top: 60px;
    z-index: 5;
    background: transparent;
    position: absolute;
    cursor: pointer;
    display: none;
}

nav .hamb span{
    display: block;
    background: #40c3ff;
    width: 100%;
    height: 3px;
    transition: .3s;
    transition-property: transform,opacity;

}

nav .hamb span:nth-child(2){
    margin: 7px 0px ;
}

nav .nav-list{
    list-style: none;
}

nav .nav-list li{
    display: inline-block;
}

nav .nav-list li a{
    display: inline-block;
    color: #eee;
    margin-left: 55px;
    font-size: 15px;
    font-weight: 600;
}

nav .nav-list li:not(:last-child) a:hover{
    color: #40c3ff;
    transition: .4s;

}

nav .nav-list li.btn a{
    display: inline-block;
    background: transparent;
    border: 2px solid #40c3ff;
    padding: 9px 28px;
    border-radius: 30px;
    line-height: 1.3;
    color: #40c3ff;
    font-weight: 500;
}

nav .nav-list li.btn:hover a{
    background: #40c3ff;
    color: #eee;
    border: 2px solid transparent;
    transition: .4s;
}

.container{
    padding-top: 190px;
}

.container .hero-text{
    margin-bottom: 40px;
}

.container .hero-text h1{
    color: #eee;
    font-size: 47px;
    font-weight: 900;
    line-height: 1.2;
    margin: 20px 0px 20px; 
}

span{
    color: #40c3ff;
}

.container .hero-text h3{
    color: #eee;
    font-weight: 400;
    font-size: 17px;
}
.container .hero-text p{
    width: 440px;
    max-width: 100%;
    color: #eee;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 30px;
}

.social a {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #eee;
    cursor: pointer;
    margin-right: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 35px;
}

.social a:hover{
    transform: scale(1.1);
    background: #40c3ff;
    transition: .4s;
}

.container .hero-text button{
    color: #eee;
    background: #40c3ff;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    padding: 8px 30px;
    border-radius: 30px;
    cursor: pointer;
}
.container .hero-text button:hover{
    background: transparent;
    border: 2px solid #40c3ff;
    color: #40c3ff;
    transition: .4s;
}

.bottom{
    margin-top: 243px;
    padding-bottom: 40px;

}

.bottom p {
    color: #eee;
    letter-spacing: 2px;
    font-size: 15px;
}

@media screen and (max-width:930px) {
    nav .hamb{
        display: initial;
    }
    .click{
        top: 46px;
    }
    .click span{
        position: absolute;
        margin-top: 12px;
    }
    .click span:first-child{
        transform: rotate(-40deg);
    }
    .click span:nth-child(2){
        opacity: 0;
        margin: 0;
    }
    .click span:last-child{
        transform: rotate(40deg);
        top: 0;
    }
    nav .nav-list{
        position: absolute;
        top: 90px;
        right: -65%;
        bottom: 0;
        width: 60%;
        height: 50%;
        background: black;
        z-index: 2;
        padding: 6% 9%;
        transition: .3s right;
        border-radius: 10px;
    }
    nav .nav-list li{
        display: block;
    }
    nav .nav-list li a{
        display: block;
        text-align: center;
        font-size: 18px;
        font-weight: 400;
        margin-left: 0;
        margin-bottom: 40px;
    }
    nav .nav-list li.btn a{
        position: absolute;
        bottom: 0%;
        right: 20%;
        left: 20%;
        padding: 7px 15px;
        font-size: 14px;
    }
    nav .nav-list.open{
        right: 0;
    }
}