/* Splash Page */

#splash-page {
    width: 100%;
    height: calc(100vh - 90px);
    min-height: 600px;
    background-size: cover;
    background-image: url("../Media/Images/box.webp");
}

#splash-page-shader {
    display: flex;
    align-items: center;
    width: 100%;
    height: calc(100vh - 90px);
    min-height: 600px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
}

#splash-page-shader div {
    padding: 20px;
}

#splash-page-shader p {
    line-height: 2;
    margin: 20px 0px 40px 0px;
}

#splash-page-shader a {
    border-radius: 100vh;
    padding: 10px 20px;
    text-decoration: none;
}

#place-order-splash {
    background-color: #FFA500;
    color: black;
    border: 2px solid #FFA500;
    margin-right: 20px;
}

#request-quote {
    color: white;
    border: 2px solid white;
}

/* Services */

#services, #time-frames {
    padding: 10px;
}

#services header, #time-frames header {
    font-size: 20px;
    font-weight: bold;
    border-bottom: 2px solid #142464;
    padding-bottom: 5px;
    margin: 10px 0px;
}

#service-container {
    display: grid;
    grid-template-columns: 100%;
    justify-items: center;
    row-gap: 20px;
}

.service {
    width: 95%;
    max-width: 500px;
    padding: 10px;
    box-shadow: 0px 0px 5px #888888;
}

.service img {
    width: 200px;
    height: auto;
    position: relative;
    left: 50%;
    transform: translate(-50%);
    margin: 0px 0px 20px 0px;
}

.service strong {
    font-size: 20px;
}

.service p:nth-child(1) {
    margin-bottom: 10px;
}

.service button {
    width: 100%;
    background-color: #142464;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 100vh;
    font-size: 20px;
    padding: 10px;
    margin-top: 10px;
}

/* Time Frames */

#time-frames {
    font-size: 36px;
    background-color: whitesmoke;
}

#time-frames-container {
    display: grid;
    grid-template-columns: 100%;
    justify-items: center;
    row-gap: 10px;
    text-align: center;
}

#time-frames-container div {
    width: 250px;
}

/* Media Queries */

@media screen and (max-width: 340px){

    #place-order-splash, #request-quote {
        display: block;
    }

    #place-order-splash {
        margin-bottom: 10px;
    }

}

@media screen and (max-width: 360px){
    
    #place-order-splash {
        margin-right: 0px;
    }

}

@media screen and (min-width: 515px){

    .service {
        display: flex;
        justify-content: start;
    }

    .service img {
        left: 0%;
        transform: translate(0%);
        margin: 0px 20px 0px 0px;
        align-self: center;
    }

    .service p:nth-child(2) {
        height: 150px;
    }

    #time-frames-container {
        grid-template-columns: 50% 50%;
    }

}

@media screen and (min-width: 900px) {

    #time-frames-container {
        grid-template-columns: 33.33% 33.33% 33.33%;
    }

}

@media screen and (min-width: 1002px){

    #splash-page-shader {
        width: 800px;
        height: calc(100% - 40px);
        max-width: 600px;
        background-color: #142464;
        padding: 20px;
        text-align: start;
    }

    #splash-page-shader div {
        padding: 0px;
    }

    #splash-page-shader header {
        font-size: 34px;
    }

    #splash-page-shader p {
        font-size: 20px;
    }

    #splash-page-header a {
        font-size: 22px;
    }

    #services, #time-frames {
        padding: 20px;
    }

    #services header, #time-frames header {
        font-size: 24px;
        margin-bottom: 20px;
    }

}

@media screen and (min-width: 1100px) {

    #service-container {
        grid-template-columns: 50% 50%;
    }

}

@media screen and (min-width: 1600px) {
    
    #service-container {
        grid-template-columns: 33.33% 33.33% 33.33%;
    }

}