/*===========  Generalni  ==========*/
:root {
    --theme: #f0a0c8;
}

body {
    background: url(../img/pattern.png) center center;
    background-size: 12%;
    background-position: 12.5%;
    color: #6d6d6d;
}

h2, h3 {
    font-family: Redressed;
    font-weight: 400;
}

h5 {
    font-family: 'Sorts Mill Goudy';
    font-weight: 400;
}

/*=======  Custom elements  ========*/
a.btn-blue {
	background: #7bbaf4;
    font-family: Sora;
}

/*=============  Hero  =============*/
#hero {
    height: 75%;
    padding: 8rem 3rem 0;
}

#hero > div {
	background: #fffcfc;
    padding: 1.75rem 1.75rem 0;
	border-radius: 1rem 1rem 0 0;
}

#hero > div > div {
    gap: 6rem;
    padding: 6rem;
	border: 2px dashed #fdcdd6;
	border-bottom: none;
	border-radius: 1rem 1rem 0 0;
}

#hero div.column {
    gap: 2.5rem;
    justify-content: center;
}

#hero img {
    width: 40%;
	height: 100%;
    border: 2px dashed #fdcdd6;
	border-radius: 1rem;
	object-fit: cover;
}

/*===========  Services  ===========*/
#services {
    background: #fff6f8;
    margin: 0 3rem;
    padding: 0 1.75rem;
}

#services > div {
    gap: 2.5rem;
    padding: 5rem 6rem;
    border: 2px dashed #ffeaee;
}

#services > div > div {
    align-items: center;
}

#services > div > div > div {
    gap: 1.75rem;
}

:is(#services, #shop) h3 {
    font-size: 2.25rem;
}

#services h3 + h5 {
    width: 80%;
}

#services a {
	width: min(15rem, 70%);
    height: max-content;
}

#services .cards {
    display: grid;
	grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
	grid-template-rows: 1fr;
    gap: 2rem;
}

#services .cards > div {
	height: 85%;
	gap: 1.5rem;
	background: #fff;
	padding: 2rem;
	text-align: center;
	border: 2px dashed #fdcdd6;
	border-radius: 1rem;
	justify-content: start;
}

#services .cards > div > div {
	width: 5.5rem;
	height: 5.5rem;
	background: #f3b6d5;
	border-radius: 100%;
}

#services .cards img {
    width: 3rem;
    position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -60%);
}

#services .cards h4 {
    margin: 0 0 0.5rem;
}

/*=============  Shop  =============*/
#shop {
    background: #fffcfc;
    margin: 0 3rem 1.75rem;
	padding: 0 1.75rem 1.75rem;
    border-radius: 0 0 1rem 1rem;
    text-align: center;
}

#shop div {
    gap: 2rem;
    padding: 5rem;
    border: 2px dashed #fdcdd6;
    border-top: none;
    border-radius: 0 0 1rem 1rem;
}

#shop a {
    width: 9rem;
    background: #979797;
	text-align: center;
}

/*==========  Responsive  ==========*/
@media screen and (min-width: 1450px) {
    /*==========  Gallery  =========*/
    #services .cards {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }
}

@media screen and (max-width: 1200px) {
    /*===========  Hero  ===========*/
    #hero > div > div, #services > div, #shop > div {
        padding: 2rem;
    }
}

@media screen and (max-width: 1000px) {
    /*===========  Hero  ===========*/
    #hero > div > div, #services .cards {
        flex-flow: column;
    }

    #hero > div > div {
        gap: 3rem;
    }

    #hero img {
        width: 100%;
	    height: 50%;
    }
}

@media screen and (max-width: 500px) {
	
	/*===========  Hero  ===========*/
    #hero {
        height: unset;
        padding: 6.5rem 1rem 0;
    }

    #hero > div > div {
        padding: 2rem;
    }

    #hero img {
        display: none;
    }

    /*=========  Services  =========*/
    #services {
        margin: 0 1rem;
    }

    #services > div {
        padding: 2rem;
    }

    #services > div > div {
        flex-flow: column;
    }

    #services a {
        margin: 2rem 0 0;
    }

    #services .cards {
	    gap: 1.5rem;
        margin: 0 -1rem;
    }

	/*===========  Shop  ===========*/
    #shop {
        margin: 0 1rem 1.75rem;
    }

    #shop > div {
        padding: 2rem;
    }
}