/* 
Style sheet for the Erris Gardening website
*/

/* Import google fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,900;1,700&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

/* css custom variables */
:root {
    --body-background-colour: rgb(240, 241, 234);
    --primary-font-family: Lato, Helvetica, sans-serif;
    --secondary-font-family: 'Roboto Condensed', Lato, Helvetica, sans-serif;
    --primary-font-colour: rgba(255, 255, 255, 0.95);
    --secondary-font-colour: rgba(255, 255, 255, 0.85);
}

html,
body {
    background-color: var(--body-background-colour);
    height: 100%;
    margin: 0;
}

/* Body styling */

body {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.body-container {
    height: 100%;
    /* Image sourced on www.pexels.com */
    background: url("../media/images/background-image.jpg") no-repeat center center fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}

.body-inner-container {
    height: 95%;
    width: 94%;
    border-radius: 3%;
    background-color: rgba(255, 255, 255, 0.5);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* Header and footer styling */

header,
footer {
    height: 13%;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}

.header-container,
.footer-container {
    width: 94%;
    height: 85%;
    border-radius: 30px;
    background-color: rgba(100, 145, 145, 0.85);
    box-shadow: 0px 0px 20px 1px rgba(51, 102, 102, 0.9);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    text-align: center;
}

h1,
h2 {
    margin: 0;
    width: 100%;
}

h1 {
    font-family: var(--primary-font-family);
    font-size: x-large;
    color: var(--primary-font-colour);
}

h2 {
    font-family: var(--secondary-font-family);
    font-optical-sizing: auto;
    font-size: large;
    color: var(--secondary-font-colour);
}

/* Main styling */

main {
    font-family: var(--primary-font-family);
    font-size: xxx-large;
    color: var(--secondary-font-colour);
    width: 100%;
    height: 74%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}

.main-container {
    width: 94%;
    height: 100%;
}

.service-container {
    text-transform: uppercase;
    width: 100%;
    height: 25%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;

}

.service-inner-container {
    height: 98%;
    width: 98%;
    max-width: 600px;
    border-radius: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}

.planting-container {
    background: url("../media/images/planting-image.jpg") no-repeat center center;
    background-size: cover;
}

.mowing-container {
    background: url("../media/images/mowing-image.jpg") no-repeat center center;
    background-size: cover;
}

.trimming-container {
    background: url("../media/images/trimming-image.jpg") no-repeat center center;
    background-size: cover;
}

.weeding-container {
    background: url("../media/images/weeding-image.jpg") no-repeat center center;
    background-size: cover;
}

/* Footer styling */

footer {
    text-transform: uppercase;
}

.contact-number {
    text-decoration: none;
    color: var(--secondary-font-colour);
    font-family: var(--secondary-font-family);
    font-optical-sizing: auto;
    font-size: large;
}

.contact-number:hover {
    color: rgb(43, 53, 53);
    text-shadow: 0px 0px 20px rgb(39, 65, 65);
}

/* Add media query for screens >= 435px */
@media screen and (min-width: 435px) {

    h1 {
        font-size: xx-large;
    }

    h2 {
        font-size: x-large;
    }
}

/* Add media query for screens >= 555px */
@media screen and (min-width: 555px) {

    h1 {
        font-size: xxx-large;
    }

    h2 {
        font-size: xx-large;
    }
}

/* Add media query for wide screens */
@media screen and (min-width: 1200px) {

    .body-container {
        width: 1200px;
    }
}