/*reset*/

/* Box sizing rules */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Prevent font size inflation */
html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
    margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
    list-style: none;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
    line-height: 1.1;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
    text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
    color: currentColor;
}

/* Make images easier to work with */
img,
picture {
    max-width: 100%;
    display: block;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
    min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
    scroll-margin-block: 5ex;
}

/*Styly*/

body {
    font-family: "Roboto Slab", sans-serif;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.frame {
    max-width: calc(100rem + 3rem * 2);
    padding: 0 1rem;
    margin: 0 auto;

    @media screen and (min-width: 620px) {
        padding: 0 3rem;
    }
}

header {
    background: #ed6f3e;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    color: #fff;
    padding: 0.75rem;
}

.header-left-column {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;

    @media screen and (min-width: 880px) {
        width: auto;
    }
}

.header-logo {
    height: clamp(50px, 4vw, 100px);
}

.header-contact-wrapper {
    display: none;

    @media screen and (min-width: 880px) {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.5rem;
    }

    @media screen and (min-width: 1250px) {
        flex-direction: row;
    }
}

.header-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.header-contact:is(:hover, :focus) {
    a {
        text-decoration: none;
    }
}

main {
    width: 100%;
}

.Configurators {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
}

.Configurator {
    background: #fff;
}

.Configurator-heading {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(0.875rem, 2.5vw, 1.25rem);
    text-align: center;
    margin-top: 2rem;

    @media screen and (min-width: 1180px) {
        margin-top: 0;
    }
}

.Configurator-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin: 4rem 0;

    @media screen and (min-width: 680px) {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

.Configurator {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2.5rem;
    box-shadow: rgba(0, 0, 0, 0.16) 0 0.75rem 3.125rem 0;
    color: black;
    border-radius: 1rem;
    padding: 1.5rem;
    overflow: hidden;
    text-decoration: none;
    transition: 0.3s box-shadow ease-in-out;

    @media screen and (min-width: 680px) {
        gap: 1rem;
    }
}

.Configurator:is(:hover, :focus) {
    text-decoration: underline;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

.Configurator-description {
    margin-top: 0.25rem;
}

.Configurator-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.Configurator-inner {
    text-align: center;
}

.Configurator-inner-title {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    letter-spacing: 0.5px;
    font-weight: bold;
}

.Configurator-inner-description {
    font-size: clamp(0.875rem, 4vw, 1.05rem);
}