

*, ::after,::before {
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css?family=Karla:400|Spectral:400');

html {
    font-size: 100%;
} /*16px*/

/*fonts*/
:root {
    /*color*/
    --primary-100: #e6f9fc;
    --primary-200: #9ce7f5;
    --primary-300: #52d6ed;
    --primary-400: #08c4e5;
    --primary-500: #0689a0;
    --primary-600: #034e5c;
    --primary-700: #011417;
    /* grey */
    --grey-100: #f3fcfe;
    --grey-200: #e2e8f0;
    --grey-300: #cbd5e1;
    --grey-400: #94a3b8;
    --grey-500: #64748b;
    --grey-600: #475569;
    --grey-700: #334155;
    --grey-800: #1e293b;
    --grey-900: #0f172a;
    /*rest of colors*/
    --black: #222;
    --white: #fff;
    --clr-red-dark: hsl(360, 67%, 44%);
    --clr-red-light: hsl(360, 71%, 66%);
    --clr-green-dark: hsl(125, 67%, 44%);
    --clr-green-light: hsl(125, 71%, 66%);
    /*font*/
    --headingFont: "Comic Sans MS", cursive, sans-serif;;
    --bodyFont: "Century Gothic",Verdana,sans-serif;
    --smallText: 0.7em;
    /*rest of the vars*/
    --backgroundColor: var(--grey-100);
    --textColor: var(--grey-900);
    --borderRadius: 0.25rem;
    --letter-spacing: 1px;
    --transition: 0.3s ease-in-out all;
    --max-width: 1120px; /*optional 1170*/
    --fixed-width: 600px;
    /*box shadow*/
    --shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-2: 0 4px 6px -1px rgba(0, 0, 0, 0.1),  0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-3: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-4: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    background: var(--backgroundColor);
    font-family: var(--bodyFont);
    font-weight: 400;
    line-height: 1.75;
    color: var(--textColor);
}

p {
    margin-bottom: 1.25rem;
    color: var(--grey-500);
}

h1, h2, h3, h4, h5 {
    letter-spacing: var(--letter-spacing);
    margin: 0;
    margin-bottom: 1.38rem;
    font-family: var(--headingFont);
    font-weight: 400;
    line-height: 1.3;
    text-transform: capitalize;
}

h2 {
    font-size: 2.441rem;
}

h3 {
    font-size: 1.89rem;
}

h4 {
    font-size: 1.1rem;
}
@media screen and (min-width: 800px) {
    h1 {
        font-size: 4rem;
    }
    h2 {
        font-size: 2.5rem;
    }
    h3 {
        font-size: 2.45rem;
    }
    h4 {
        font-size: 1.3rem;
    }
    body {
        font-size: 1rem;
    }
    h1,
    h2,
    h3,
    h4 {
        line-height: 1;
    }
}
small, .text-small {
    font-size: var(--smallText);
}

a {
    text-decoration: none;
}

ul {
    list-style-type: none;
    padding: 0;
}

/* section */
.section-center {
    padding: 3rem 0;
}
.section-center {
    width: 90vw;
    margin: 0 auto;
    max-width: 1170px;
}


/*
===================
Countdown
===================
*/
.info {
    margin-bottom: 2rem;
}
.info h3 {
    text-transform: uppercase;
    color: var(--primary-400);
}
.info p {
    color: var(--grey-600);
    margin: 2rem 0;
}
.maserati-img {
    margin-bottom: 2rem;
}
.maserati-img .photo {
    height: 25rem;
    width: 100%;
    border-radius: var(--borderRadius);
    object-fit: cover;
}
@media screen and (min-width: 992px) {
    .section-center {
        display: grid;
        grid-template-columns: 1fr 1fr;
        place-items: center;
        gap: 3rem;
        width: 95vw;
    }
    .maserati-img {
        margin-bottom: 0;
    }
}
.deadline {
    display: flex;
}
.deadline-format {
    background: var(--primary-400);
    color: var(--white);
    border-radius: var(--borderRadius);
    margin-right: 1rem;
    width: 5rem;
    height: 5rem;
    display: grid;
    place-items: center;
    text-align: center;
}
.deadline-format span {
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}
.deadline-format h4 {
    font-size: 1.5rem;
    font-weight: 700;
}


