@import "./style.css";

.sec1 {
    position: relative;
    height: 100% !important;
    overflow: hidden;
    overflow-x: visible;
}
.sec1 .content.centered {
    position: relative;
    height: 100% !important; 
    overflow: visible !important;
}
.sec1 .text-wrapper {
    margin: 50px 0px;
}
.text-wrapper {
    text-align: center;
}
.sec1 .phone {
    position: relative;
    width: calc(100% - 30px);
    height: 350px;
    border-radius: 25px;
    box-shadow: 2px 2px 20px lightgrey;
    overflow: hidden;
}
.sec1 .phone img {
    width: 100%;
}
#sec2 .content.centered.flex.row, #sec3 .content.centered.flex.row {
    justify-content: space-around;
    align-items: center;
}

#sec2, #sec3 {
    height: 100%;
}
#sec2 .content.centered, #sec3 .content.centered {
    height: 100%;
    justify-content: space-evenly;
}
#sec2 img, #sec3 img {
    width: 100%;
    height: auto;
}

@media screen and (max-width: 375px) {
    #sec2, #sec3, #sec4 {
        height: 150% !important;
    }
    .section {
        height: 200% !important;
    }
}

@media screen and (min-width: 568px) and (max-width: 853px) and (max-height: 393px) {
    .sec1 {
        height: calc(125% - 50px);
    }
    .sec1 .content.centered {
        justify-content: flex-start;
        height: 100%;
    }
    .sec1 .text-wrapper {
        margin: 12.5px 0px;
    }
}

@media screen and (min-width: 1100px) {
    .sec1 .content.centered {
        justify-content: space-between;
        align-items: center;
    }
    .sec1 .text-wrapper {
        width: 600px;
        height: fit-content;
    }
    .text-wrapper {
        text-align: left;
    }
    .sec1 .title {
        margin-top: 0;
    }
    .phone {
        width: 325px !important;
        height: 75%;
        min-height: 600px;
    }
    .phone img {
        width: 100%;
    }

    #sec2 {
        height: 100%;
    }
    #sec2 .content.centered.flex.row, #sec3 .content.centered.flex.row {
        justify-content: space-between;
        align-items: center;
    }
    #sec2 .text-wrapper, #sec3 .text-wrapper {
        width: 600px;
    }

    #sec2 .phone {
        height: 400px;
        min-height: unset;
        overflow: hidden;
    }

    #sec2 .phone img {
        width: 100%;
    }

    #sec3 .img-wrapper {
        width: 550px;
        overflow: hidden;
    }
    #sec3 img {
        width: 125%;
    }
}