/* === GENERAL STYLES === */

a {
    color: inherit;
    text-decoration: none;
}

/* === HEADER STYLES === */

html, body {
    font-family: 'Roboto', sans-serif;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.header {
    background-image: url("../assets/header-background.png");
    background-color: #293555;
    background-size: 100% auto;
    height: 650px;
    padding: 20px 0 0 0 ;
    position: relative;
    width: 100%;
    margin: 0;
}

.header-container {
    margin-left: 17%;
    width: 50%;
}

.header-title {
    font-size: 36px;
    line-height: 50px;
    font-weight: 500;
    color: #ffffff;
    margin: 100px 0 40px;
    max-width: 615px;
}

.header-description {
    font-size: 18px;
    line-height: 25px;
    font-weight: 400;
    color: #ffffff;
    max-width: 700px;
}

.header-button-container {
    display: flex;
    flex-direction: row;
    margin-top: 75px;
}

.header-button {
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 200px;
    height: 60px;
    position: relative;
    border: none;
    outline: none;
    -webkit-transition: background-color 500ms linear;
    -moz-transition: background-color 500ms linear;
    transition: background-color 500ms linear;
}

.header-button-text {
    font-size: 20px;
    font-weight: 400;
    line-height: 36px;
    margin-left: 20px;
}

.header-button.button-google-play {
    background-color: #009cde;
    color: #ffffff;
    margin-right: 60px;
}

.header-button.button-google-play:hover {
    background-color: #0083BB;
}

.header-button.button-google-play::after {
    content: url("../assets/google-play.png");
    position: absolute;
    top: 17px;
    left: 15px;
}

.header-button.button-app-store {
    background-color: #ffffff;
    color: #009cde;
}

.header-button.button-app-store:hover {
    background-color: #E4E4E4;
}

.header-button.button-app-store::after {
    content: url("../assets/app-store.png");
    position: absolute;
    top: 17px;
    left: 15px;
}

.header-phone-image {
    content: url("../assets/header-phone-image.png");
    position: absolute;
    left: 50%;
    top: 125px;
    z-index: 1;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.app-info{
    background-image: url("../assets/header-background.png");
    background-color: #293555;
    color: #fff;}

.app-info p{
    line-height: 1.5;
}

.app-info li{
    line-height: 1.5;
}




/* === HEADER MEDIA QUERIES === */

@media only screen and (max-width: 1024px) {
    .header-container {
        margin-left: 29px;
    }
    .header-title, .header-description {
        max-width: 600px;
    }
    .header-phone-image {
        left: 27%;
    }
}

@media only screen and (max-width: 768px) {
    .header {
        height: auto;
        max-width: 100%;
        box-sizing: border-box;
    }
    .header-container {
        position: relative;
        margin: 0;
        width: 100%;
    }

    .header-content {
        padding-left: 20px;
        box-sizing: border-box;
    }
    .header-logo-image {
        min-width: 58px;
        min-height: 18px;
        width: 1%;
        height: 1%;
        margin-left: 20px;
    }
    .header-title {
        margin: 42px 0 39px;
        font-size: 18px;
        line-height: 28px;
        font-weight: 700;
    }
    .header-description {
        font-size: 16px;
        line-height: 24px;
        font-weight: 400;
        margin-bottom: 0;
    }
    .header-title, .header-description {
        margin-right: 10px;
    }
    .header-button-container {
        box-sizing: border-box;
        margin-top: 20px;
        padding-left: 20px;
        padding-right: 20px;
        width: 100%;
    }

    .header-button-text {
        font-size: 14px;
        font-weight: 400;
        line-height: 24px;
        margin-left: 15px;
    }
    .header-button.button-google-play {
        margin: 0 6% 27px 0;
        min-width: 130px;
        width: 47%;
        height: 45px;
        flex: none;
    }

    .header-button.button-google-play::after {
        content: url("../assets/google-play-mobile.png");
        position: absolute;
        top: 50%;
        margin-top: -9px;
        left: 50%;
        margin-left: -57px;
    }

    .header-button.button-app-store {
        margin: 0 0 27px 0;
        min-width: 130px;
        width: 47%;
        height: 45px;
        flex: none;
        background: #ffffff;
        color: #199dda;
    }

    .header-button.button-app-store::after {
        content: url("../assets/app-store-mobile.png");
        position: absolute;
        top: 50%;
        margin-top: -9px;
        left: 50%;
        margin-left: -57px;
    }

    .header-content {
        width: 100%;
        margin: 0;
    }

    .header-content::after {
        content: "";
        clear: both;
        display: table;
    }

    .header-phone-image {
        content: url("../assets/header-phone-image-mobile.png");
        position: static;
        margin-top: -70px;
        float: right;
        height: 288px;
    }
}

/* === MAIN STYLES === */

.main {
    margin: 0;
    background-color: #f5f5f5;
    background-size: 100% auto;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 1220px;
    justify-content: flex-start;
}

.main-background-image {
    height: 100%;
    width: 100%;
    opacity: 0.1;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.main-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    z-index: 1;
    height: 100%;
}

.main-title {
    align-self: center;
    text-align: center;
    color: #26304b;
    font-size: 38px;
    font-weight: 500;
    z-index: 1;
    margin-top: 105px;
}

.main-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
}

.main-slider-previous-button, .main-slider-next-button {
    display: none;
}

.left-section-list, .right-section-list {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    min-height: 450px;
    justify-content: space-between;
}


.left-section-list-item, .right-section-list-item {
    font-size: 21px;
    line-height: 35px;
    color: #26304b;
    position: relative;
    width: 418px;
    height: 124px;
    display: flex;
    flex: none;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    background: transparent;
    -webkit-transition: background 500ms linear;
    -moz-transition: background 500ms linear;
    -o-transition: background 500ms linear;
    transition: background 500ms linear;
}

.left-section-list-item.selected, .right-section-list-item.selected {
    background-color: #ffffff;
    box-shadow: 2px 3px 10px 4px rgba(116, 112, 112, 0.13);
    font-size: 23px;
    line-height: 35px;
    font-weight: 700;
    border-radius: 5px;
}

.right-section-list-item.selected:first-child {
    text-align: right;
    padding-right: 24px;
    padding-left: 5px;
}

.left-section-list-item {
    text-align: right;
    margin-right: 33px;
    padding: 0 36px 0 25px;
}

.left-section-list-item:not(:first-child) {
    padding-left: 5px;
    font-size: 22px;
}

.right-section-list-item {
    text-align: left;
    margin-left: 33px;
    padding: 0 15px 0 36px;
}

.right-section-list-item::after {
    content: '';
    position: absolute;
    top: 50%;
    margin-top: -4.5px;
    left: -18px;
    z-index: 1;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px 20px 9px 0;
    border-color: transparent;
    -webkit-transition: all 500ms linear;
    -moz-transition: all 500ms linear;
    -o-transition: all 500ms linear;
    transition: all 500ms linear;
}


.right-section-list-item.selected::after {
    border-color: transparent #ffffff transparent transparent;
    -webkit-transition: all 500ms linear;
    -moz-transition: all 500ms linear;
    -o-transition: all 500ms linear;
    transition: all 500ms linear;

}

.left-section-list-item::after {
    content: '';
    position: absolute;
    top: 50%;
    margin-top: -4.5px;
    right: -18px;
    z-index: 1;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px 0 9px 20px;
    border-color: transparent;
    -webkit-transition: all 500ms linear;
    -moz-transition: all 500ms linear;
    -o-transition: all 500ms linear;
    transition: all 500ms linear;
}

.left-section-list-item.selected::after {
    border-color: transparent transparent transparent #ffffff;
    -webkit-transition: all 500ms linear;
    -moz-transition: all 500ms linear;
    -o-transition: all 500ms linear;
    transition: all 500ms linear;
}

.main-button-container {
    display: flex;
    margin-top: 130px;
}

.main-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    width: 190px;
    height: 60px;
    position: relative;
    border: none;
    outline: none;
    box-sizing: border-box;
    -webkit-transition: background-color 500ms linear;
    -moz-transition: background-color 500ms linear;
    transition: background-color 500ms linear;
}

.main-button:not(:last-child) {
    margin-right: 60px;
}

.main-button-text {
    font-size: 20px;
    font-weight: 400;
    line-height: 36px;
    margin-left: 30px;
}

.main-button.button-google-play {
    background-color: #009cde;
    color: #ffffff;
}

.main-button.button-google-play:hover {
    background-color: #0083BB;
}

.main-button.button-google-play::after {
    content: url("../assets/google-play.png");
    position: absolute;
    top: 17px;
    left: 15px;
}

.main-button.button-app-store {
    background-color: #199dda;
    color: #ffffff;
}

.main-button.button-app-store:hover {
    background-color: #0083BB;
}

.main-button.button-app-store::after {
    content: url("../assets/app-store-white.png");
    position: absolute;
    top: 17px;
    left: 15px;
}

.main-button.button-website {
    background-color: #ffffff;
    color: #199dda;
    border: 2px solid #199dda;
}

.main-button.button-website:hover {
    background-color: #E4E4E4;
}

.main-button.button-website::after {
    content: url("../assets/worlwide.png");
    position: absolute;
    top: 15px;
    left: 13px;
}

/* === MAIN MEDIA QUERIES === */

@media only screen and (max-width: 1024px) {
    .left-section-list-item, .right-section-list-item {
        width: 80%;
    }

    .left-section-list, .right-section-list {
        min-height: 550px;
    }

    .left-section-list-item {
        margin-left: 20px;
        padding-top: 10px;
        padding-bottom: 10px;
        height: auto;
        width: 250px;
    }

    .right-section-list-item {
        margin-right: 20px;
        padding-top: 10px;
        padding-bottom: 10px;
        height: auto;
        width: 250px;
    }
}


@media only screen and (max-width: 768px) {
    .main {
        background-color: #f1f1f1;
        height: auto;
        box-sizing: border-box;
    }

    .main-content {
        box-sizing: border-box;
        width: 100%;
    }

    .main-background-image {
        display: none;
    }

    .main-title {
        font-size: 19px;
        line-height: 60px;
        margin: 30px 0 20px 0;
    }

    .main-slider-previous-button, .main-slider-next-button {
        display: block;
        cursor: pointer;
        position: absolute;
        top: 50%;
        width: auto;
        margin-top: -22px;
        padding: 16px;
    }

    .main-slider-previous-button {
        background: url("../assets/previous-button.png") no-repeat center;
        left: 15px;
    }

    .main-slider-next-button {
        background: url("../assets/next-button.png") no-repeat center;
        right: 15px;
    }

    .main-image {
        min-width: 161px;
        min-height: 314px;
    }

    .left-section-list-item, .right-section-list-item {
        display: none;
    }

    .left-section-list-item.selected, .right-section-list-item.selected {
        position: absolute;
        display: block;
        top: 100px;
        left: 0;
        text-align: center;
        padding: 0 10px;
        margin: 0;
        background: transparent;
        box-shadow: none;
        font-size: 16px;
        line-height: 24px;
        font-weight: 400;
        width: 100%;
        height: 45px;
    }

    .right-section-list-item.selected:first-child {
        text-align: center;
        padding: 0 10px;
    }

    .left-section-list-item.selected:not(:first-child) {
        padding: 0 10px;
    }

    .left-section-list-item.selected::after, .right-section-list-item.selected::after {
        content: none;
    }

    .main-button-container {
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 20px;
        margin: 0;
    }

    .main-button-text {
        font-size: 14px;
        font-weight: 400;
        line-height: 24px;
        margin-left: 15px;
    }

    .main-button.button-google-play {
        margin: 0 6% 0 0;
        min-width: 130px;
        width: 47%;
        height: 45px;
        flex: none;
    }

    .main-button.button-google-play::after {
        content: url("../assets/google-play-mobile.png");
        position: absolute;
        top: 50%;
        margin-top: -9px;
        left: 50%;
        margin-left: -55px;
    }

    .main-button.button-app-store {
        margin: 0 0 0 0;
        min-width: 130px;
        width: 47%;
        height: 45px;
        flex: none;
        background: #ffffff;
        color: #199dda;
        box-shadow: 1px 2px 5px 1px rgba(88, 88, 88, 0.37);
    }

    .main-button.button-app-store::after {
        content: url("../assets/app-store-mobile.png");
        position: absolute;
        top: 50%;
        margin-top: -9px;
        left: 50%;
        margin-left: -55px;
    }

    .main-button.button-website {
        min-width: 280px;
        width: 100%;
        height: 45px;
        flex: none;
        margin: 15px 0 0 0;
    }

    .main-button.button-website::after {
        content: url("../assets/worlwide-mobile.png");
        position: absolute;
        top: 50%;
        margin-top: -9px;
        left: 50%;
        margin-left: -60px;

    }
}

@media only screen and (max-width: 375px) {
    .main-image-container {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .main-image {
        max-width: 90%;
        max-height: 90%;
        object-fit: contain;
    }
    .main-slider-previous-button {
        left: 7px;
    }

    .main-slider-next-button {
        right: 7px;
    }
}


/* === FOOTER STYLES === */

.footer {
    background-color: #27304d;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5px;
}

/* === FOOTER MEDIA QUERIES === */

@media only screen and (max-width: 768px) {
    .footer {
        justify-content: flex-start;
        text-align: left;
        height: 65px;
    }

    .footer-text {
        font-size: 14px;
    }
}

.footer-text {
    color: #ffffff;
    font-size: 16px;
}
