@charset "utf-8";

*{margin: 0; padding: 0;}

html{
    height: 100%;
    overflow: hidden;
    min-width:320px;
}

body{
    height: 100%;
    overflow: hidden;
    min-width:320px;
}

h2 {
    font-size: 48px;
    margin-bottom: 40px;
    color: #fff;
    min-height: 128px;
}
button {
    color: #fff;
    height: 50px;
    width: 220px;
    border: 2px solid #fff;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}
button:hover {
    background-color: rgba(0, 0, 0, 0.4);
}
main {
    width: 100%;
    min-width:320px;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    overflow: hidden;
}
main section {
    width: 33.33%;
    height: 100%;
    min-width:320px;
}
section div {
    position: absolute;
    bottom: 230px;
    left: 85px;
}
div p {
    color: #dcdcdc;
    font-weight: bold;
    margin-left: 8px;
}
img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/******************************************* .solution */
.solution {
    transition: all .5s;
    position: absolute;
    left: 0;
    z-index: 2;
    box-shadow: 0 0  5px #333;
}
.solution:hover {
    width: 65%;
}

/******************************************* .robot */
.robot {
    transition: all .5s;
    position: absolute;
    left: 33.33%;
    box-shadow: 0 0 7px #000;
    z-index: 1;
}
.robot:hover {
    width: 65%;
}

/********************************************** .vazil */
.vazil {
    position: fixed;
    right: 0;
    /* text-align: center; */
}
.vazil h1 {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media screen and (max-width: 1180px) {
    h2 {
        font-size: 32px;
        min-height: 86px;
    }
    section div {
        left: 50px;
    }
}

@media screen and (max-width: 1024px) {
    h2 {
        font-size: 32px;
        margin-bottom: 40px;
        min-height: auto;
    }
    section div {
        left: 30px;
    }
    button {
        height: 45px;
        font-size: 14px;
    }
    section div {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        bottom: 95px;
    }

}/* max-width: 1024px */

@media screen and (max-width: 820px) {
    h2 {
        font-size: 32px;
        margin-bottom: 24px;
    }
    main {
        flex-direction: column;
        height: 100vh;
    }
    main section {
        width: 100%;
        height: calc(50% - 23px);
        
    }
    section > img {
        width: 100%;
        height: 100%;
    }
    section div {
        left: 50%;
        top: 47%;
        transform: translate(-50%, -50%);
        text-align: center;
    }
    .solution {
        top:46px;
        left: 0;
    }
    .solution:hover {
        width: 100%;
    }
    .robot {
        top:calc(50% + 23px);
        left: 0;
    }
    .robot:hover {
        width: 100%;
    }
    .vazil {
        order: -1;
        z-index: 99;
        position: relative;
        top: 0;
        left: 0;
        width: 100vw;
        height: 10%;
    }
    .vazil {
        height: 46px;
    }
    .vazil h1{
        margin-top: 8px;
    }
    .vazil h1 img {
        height: 30px;
        max-height: 30px;
        object-fit: scale-down;
    }
}/* max-width: 820px */
@media screen and (max-width: 466px) {
    h2 {
        font-size: 21px;
        margin-bottom: 20px;
    }
}