:root {
    /* Colors */
    --colorOne: #5e8aa6;
    --colorTwo: #d3dfed;
    --colorThree: #87ceeb;
    --colorFour: #a1b8a5;
    --colorFive: #f9f9f9;

    /* text sizes */
    --smallTxt: 0.7rem;
    --mediumTxt: 1.3rem; 
    --lagretext: 2.5rem;
}

body {
    background-color: var(--colorFive);
}

.static-hero {
    display: flex;
    width: 100%;
    height: 70vh;
    justify-content: center;
    align-items: center;
}

.content {
    width: 140%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 30px;
    z-index: 3;
}

/*-------------------------------------------------------------*/
.card {
    width: 300px;
    height: 350px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    overflow: visible;
}

.front, .back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: visible;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.front {
    background-color: white;
    text-align: center;
    padding: 20px;
}

.front img {
    width: 250px;
    height: 250px;
    border-radius: 5px;
}

.price {
    margin-top: 15px;
    font-size: 1.5em;
}

.info-circle {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #87CEEB;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    cursor: pointer;
    z-index: 50;
}

.back {
    background-color: white;
    color: black;
    text-align: center;
    padding: 20px;
    transform: rotateY(180deg);
}

.card.flip .front {
    transform: rotateY(180deg);
}

.card.flip .back {
    transform: rotateY(0);
}

.back-btn {
    border: none;
    color: white;
    background-color: var(--colorThree);
    padding: 5px 10px;
    border-radius: 3px;
    margin-top: 20px;
    cursor: pointer;
}

/*--------------------------------------------------------*/

.card-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap:2rem;
    padding: 20px;
    margin-top: 10vh;
    margin-bottom: 10vh;
}

/*---------------------------------------------------------*/

.qoute {
    display: flex;
    justify-content: center;
    justify-items: center;
    flex-direction: column;
    width: 60%;
    margin: 0 auto 20vh auto;
    text-align: center;
}

.qoute h1 {
    font-family: "Sevillana", cursive;
    font-weight: 400;
    font-style: normal;
}

.contact-button {
    position: relative;
    width: max-content;
    margin: 40px auto;
}


/*-----------------------------------------------------------------------------------------*/

@media only screen and (max-width: 900px) {
    .static-hero img {
        position: absolute;
    }

    .static-hero {
        position: relative;
        color: white;
    }

    .transparentBlock {
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: black;
        z-index:0;
        opacity: 0.5;
    }

    .contact-button {
        position: relative;
        width: max-content;
        margin: 40px auto;
    }
}

@media only screen and (max-width: 800px ){
    .contact-button{
        position: absolute;
        margin-top: 250px;
        width: min-content;
        white-space: nowrap;
    }
}