.five-s {
    position: relative;
    background-color: rgb(241, 241, 241);
    width: 100%;
    height: 1200px;
}

.five-up-s{
    position: relative;
    width: 100%;
    height: 650px;
    background-color: rgb(241, 241, 241);
}

.five-up-s img {
    width: 90%;
    height: 600px;
    padding-top: 100px;
    padding-left: 150px;
}

.five-down-s {
    position: relative;
    width: 100%;
    height: 400px;
    background-color: rgb(241, 241, 241);
    text-align: center;
    padding: 70px;
    color: black;
}

.five-down-s p {
    font-size: 25px;
}

.button-square2 {
    position: relative;
    width: 60%;
    height: 100px;
    left: 20%;
    padding-top: 60px;
    display: flex;
    justify-content: space-evenly;  
}

.button-square2 button {
    width: 500px;
    height: 80px;
    background-color: rgb(65, 209, 253);
    text-transform: uppercase;
    font-size: 30px;
    font-weight: 900;
    cursor: pointer;
}

@media screen and (max-width:1100px){
    .five-s {
        height: 1350px;
    }
}


@media screen and (max-width:1000px){
    .five-s {
        height: 1200px;
    }
    .five-up-s{
        height: 550px;
    }
    .five-up-s img {
        height: 60vw;
        padding-left: 10vw;
    }
    .five-down-s {
        height: 500px;
    }
}

@media screen and (max-width:900px){
    .five-s {
        height: 1250px;
    }
}

@media screen and (max-width:850px){
    .five-s {
        height: 1200px;
    }
    .five-up-s {
        height: 450px;
    }
}

@media screen and (max-width:760px){
    .five-s {
        height: 1000px; 
    }
    .five-up-s {
        top: 50px;
        height: 400px;
    }
    .five-up-s img {
        padding-top: 0px;    
    }
    .five-down-s p {
        font-size: 20px;
    }
}

@media screen and (max-width:700px){
    .five-s {
        height: 1100px; 
    }
    .five-up-s {
        top: -100px;
        height: 400px;
    }
    .five-up-s img {
        padding-top: 50px;    
    }
}



@media screen and (max-width:620px){
    .five-s {
        height: 1050px;
    }
    .five-up-s {
        height: 300px;
    }
    .five-up-s img {
        height: 60vw;
        padding-left: 10vw;
    }
}

@media screen and (max-width:550px){
    .five-s {
        height: 850px; 
    }
    .five-up-s {
        top: -300px;
        height: 300px;
    }
    .five-up-s img {
        padding-top: 50px;    
    }
    .five-down-s {
        top: -300px;
    }
}

@media screen and (max-width:460px){
    .five-s {
        height: 960px;
    }
}

@media screen and (max-width:400px){
    .five-s {
        height: 1200px;
    }
    .five-up-s {
        height: 300px;
        top: -250px;
    }
    .five-down-s {
        top: -250px;
    }

}


@media screen and (max-width:370px){
    .five-s {
        height: 1250px;
    }
}
