:root {
    --highlight-color: rgb(191, 235, 255);
}
header {
    width: clamp(70vw, 90vw, 1200px);
    margin: 190px auto 0 auto;
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: 1fr;
    column-gap: 10vw;
}
#griddesc {
    grid-column: span 1;
    grid-row: span 1;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 0.3fr 1fr 1.5fr;
    grid-row-gap: 1.5vw;
}
header h1 {
    font-size: clamp(2.4rem, calc(1rem + 3vw), 5rem);
    font-weight: 500;
    text-align: left;
    grid-row: span 1;
}
.line1 {
    grid-column: span 1;
    grid-row: span 1;
    width: 80%;
    height: 10px;
    background-color: rgb(80,80,238);
    border-radius: 10px;
}
#headerdesc {
    display: block;
    font-size: clamp(1.9rem, calc(0.3rem + 2vw), 5rem);
    font-weight: 500;
    grid-row: span 1;
    grid-column: span 1;
}
#startingprice {
    display: flex;
    background-color: rgb(80,80,238);
    font-size: clamp(1.6rem, calc(0.7rem + 2vw), 5rem);
    text-align: center;
    margin: auto;
    border-radius: 15px;
    max-height: 65%;
    min-height: 55%;
    width: 100%;
    justify-content: center;
    align-items: center;
    color: white;
    grid-row: span 1;
    grid-column: span 1;
    transition: transform 0.2s ease;
    will-change: transform;
    transform: scale(100%);
}
#startingprice a {
    color: white;
    text-decoration: none;
}
#startingprice:hover {
    transform: scale(120%);
}
#JoviUp {
    border-radius: 5px;
    border: 12px solid rgb(80,80,238);
    grid-column: span 1;
    grid-row: span 1;
    width: 100%;

    justify-self: center;
    transition: transform 0.2s ease;
    will-change: transform;
    transform: scale(100%);
}
#JoviUp:hover {
    border: 12px solid rgb(0, 162, 255);
    transform: scale(130%) translateX(5%) translateY(-10%) rotate(-3deg); 
}

#services {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: auto 40%;
    column-gap: 6vw;

    width: clamp(80vw, 90vw, 1200px);
    margin: 200px auto 0 auto;
}
#serviceimages {
    margin-top: 70px;
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr;

    grid-column: span 1;
    grid-row: span 1;
}
#detailgrid {
    background-color: rgb(80, 80, 238);
    color: white;
    border-radius: 15px;
    width: 85%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    padding: 35px 15px;
}
#detailgrid a {
    display: inline-block;
    text-decoration: none;
    color: white;
    transition: transform 0.2s ease;
    will-change: transform;
    transform: scale(100%);
}

#ratpicture, #plant {
    width: 60%;
    max-width: 45vw;
    min-width: 210px;
    max-height: 80%;
    height: auto;
    display: block;
    border: 12px solid rgb(80,80,238);
    border-radius: 3%;
    background-repeat: no-repeat;
    background-size: cover;
    transition: transform 0.2s ease;
    will-change: transform;
    transform: scale(100%); 
}
#ratpicture{
    background-image: url(3Rats.webp);
    background-position: center;
}
#plant{
    position: relative;
    bottom: 30px;
    left: 8vw;
    background-position: center;
    background-image: url(largeplant.webp);
}
#plant:hover, #ratpicture:hover {
    border: 12px solid rgb(0, 162, 255);
    transform: scale(130%) translateX(5%) translateY(-10%) rotate(-3deg); 
}
h2 {
    text-align: center;
    font-size: clamp(2rem, calc(1.9rem + 2vw), 5rem);
    font-family: Comfortaa;
    font-weight: 500;
}
#line3 {
    width: 80%;
    height: 10px;
    background-color: white;
    margin: auto;
    border-radius: 10px;
}
#services h3 {
    text-align: center;
    font-size: clamp(1.9rem, calc(0.3rem + 2vw), 5rem);
    width: 80%;
    margin: 50px auto 0 auto;
}
#services ul {
    margin: 0 auto 0 2%;
    width: 80%;
}
#services li {
    font-size: clamp(1.9rem, calc(0.4rem + 1.8vw), 5rem);
}
#aboutme {
    color: white;
    background-image: url(Green_background.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 75vh;
    width: 100%;
    margin: 300px auto 0 auto;
    padding-top: 210px;
    padding-bottom: 40px;
}
#aboutmetext {
    margin: auto;
    min-width: 0;
}
#aboutme h2 {
    width: 80%;
    text-indent: 0;
    padding: 50px 0 30px 0;
    margin: auto;
    font-size: clamp(2.5rem, calc(2.8rem + 2vw), 4.4rem);
}
#aboutmep {
    text-indent: 5vw;
    font-size: clamp(1.5rem, calc(0.4rem + 2vw), 1.8rem);
    color: rgb(245, 245, 245);
    width: clamp(250px, 40%, 90%);
    margin: 40px auto 0 auto;
}
@media only screen and (max-width: 799px) {
    header {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
        margin-top: 130px;
    }
    #services {
        grid-template-columns: auto;
        grid-template-rows: 1fr 1fr;
        row-gap: 120px;
    }
    #detailgrid {
        width: 88%;
        margin: auto;
        grid-row: 1/2;
        grid-column: 1;
        height: 103%;
    }
    #serviceimages {
        grid-row: 2/3;
        grid-column: 1;

        grid-template-rows: repeat(2, 480px);
    }
    #ratpicture, #plant {
        max-width: 80%;
    }
    #ratpicture {
        background-image: url(smallrats.webp);
    }
    #plant {
        background-image: url(smallplant.webp);
    }
    #aboutme {
        grid-template-columns: auto;
        grid-template-rows: auto auto;
        grid-row-gap: 60px;
        background-image: url(Green_background.webp);
    }
}