center h2{
    margin-top: 30px;
}
.first,.second{
    display: flex;
    justify-content: space-around;
    padding: 5%;
}
.first h2,.second h2{
    background-color: rgb(11, 80, 145);
    text-align: center;
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-bottom: 10px;
    padding: 5px;
    padding-bottom: 10px;
}
.first img,.second img{
    height: 300px;
}
.left,.right{
    width: 40%;
    height: 410px;
    overflow: hidden;
}
.main {
    width: 100%;
    position: relative;
}

.slide,.slide1,.slide2,.slide3{
    position: absolute;
    width: 100%;
    height: 100%;
}
.butt{
    text-align: center;
    position: relative;
    display: flex;
    top:300px;
    justify-content: space-between;
}
.butt button{
    font-size: 24px;
    background-color: transparent;
    padding: 6px;
    margin-top: 5px;
    width: 70px;
    border: 0.1px solid rgb(162, 162, 162);
    font-weight: bolder;
}
.butt button:hover{
    background-color: rgb(82, 82, 82);
    color: white;
}

@media only screen and (max-width: 840px) {

    .first,.second{
        display: block;
        align-items: center;
        justify-items: center;
        justify-content: center;
        text-align: center;
    }
    .left,.right{
        width: 80%;
        margin-left: 10%;
    }
    .main{
        width: 100%;
    }
}