@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Text:wght@700&display=swap');


*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Red Hat Text', sans-serif;
}

:root {
    --Grayish-blue: hsl(237, 18%, 59%);
    --Soft-red: hsl(345, 95%, 68%);
    --White: hsl(0, 0%, 100%);
    --Dark-desaturated-blue: hsl(236, 21%, 26%);
    --Very-dark-blue: hsl(235, 16%, 14%);
    --Very-dark-blue-black: hsl(234, 17%, 12%);
}


body {
    background-image: url(./images/pattern-hills.svg), url(./images/bg-stars.svg), 
    linear-gradient(var(--Very-dark-blue-black), #2F2439);
    
    background-repeat: no-repeat;
    background-size: 100%;
    background-attachment: fixed;
    background-position: bottom;
    
    min-height: 75vh;

}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
}

.title {
    color: white;
    letter-spacing: 7px;
    font-size: 1.3rem;
    margin-bottom: 100px;
}


.timer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
}

.timer-box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 130px;
    width: 130px;
    background-image: linear-gradient(#2C2C44 50%, #34364F 50%);
    border-radius: 10px;
    font-size: 4.5em;
    box-shadow: 0px 10px 0px 0px #1A1A23;

}

.timer-box span{
    background: -webkit-linear-gradient(#D64F70 50%, #FF5E88 50%);
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.footer {
    margin-top: 300px;
    display: flex;
    justify-content: center;
    gap: 35px;
}

a:hover svg > path{
    fill: #FF5E88;
}

.attribution {
    font-size: 10px;
    color: white;
    text-align: center;
    margin-top: 20px;
}

.attribution a {
    color: #D64F70;
}

@media only screen and (max-width: 640px) {
    .timer-box {
        height: 100px;
        width: 100px;
        font-size: 3.5em;
    }
}

@media only screen and (max-width: 400px) {
    .timer-box {
        height: 80px;
        width: 80;
        font-size: 2.5em;
    }

    body {
        background-size: contain;
    }
}