/* Banner */

#banner {
    width: 100%;
    height: calc(50vh - 90px);
    min-height: 250px;
    background-image: url("../Media/Images/palm-trees.jpg");
    background-size: cover;
    background-position: 0% 55%;
}

#banner div {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
}

#banner header {
    text-align: center;
    color: white;
}

/* Shared */

#summary, #features, .service {
    padding: 10px;
}

#summary header, .service header {
    font-size: 20px;
    font-weight: bold;
    border-bottom: 2px solid #142464;
    padding-bottom: 5px;
    margin: 10px 0px;
}

/* Summary */

#summary p {
    line-height: 1.5;
}

/* Feature Section */

#features {
    background-color: #142464;
    color: white;
}

#features header {
    font-size: 20px;
    font-weight: bold;
    border-bottom: 2px solid white;
    padding-bottom: 5px;
    margin: 10px 0px;
}

#features-container {
    display: grid;
    grid-template-columns: 100%;
    justify-items: center;
    row-gap: 20px;
    text-align: center;
}

/* Service Section */

.service:nth-child(odd) {
    background-color: whitesmoke;
}

.service div {
    width: 100%;
}

.service p {
    line-height: 1.5;
}

.service ul {
    margin: 10px 0px 0px 15px;
}

.service li {
    line-height: 1.5;
}

.service img {
    width: 100%;
    height: auto;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    max-width: 600px;
    box-shadow: 0px 0px 5px #888888;
}

/* Media Queries */

@media screen and (min-width: 700px){

    #features div {
        grid-template-columns: 50% 50%;
    }

}

@media screen and (min-width: 1002px){

    #summary, #features, .service {
        padding: 20px;
    }

    #features div {
        grid-template-columns: 33.33% 33.33% 33.33%;
    }

    .service {
        display: flex;
        justify-content: space-between;
        flex-direction: row-reverse;
    }

    .service div {
        margin-right: 20px;
    }

    .service img {
        left: 0%;
        transform: translateX(0%);
    }

}