/* Variables */

:root {
    --navLink-color1: #fff;
    --mainText-color1: #fff;
    --mainHeader-color: #FFF;
    --mainBackground-color: linear-gradient(
        45deg,
        #000FFF 0%,
        #FF000C 50%,
        #000FFF 100%
    );
    --card-color: #0000009a;
}

*  {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    min-height: 100%;
}

body {
    background: var(--mainBackground-color);
    font-family:'Gill Sans', 'Gill Sans MT', 'Calibri', 'Trebuchet MS', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.flex {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
    align-items: center;
    height: 100%;
    overflow: hidden;
}

/* Header */

#mainHeader {
    width: 100%;
    padding-top:1.5vh;
    padding-bottom: 1.5vh;
    background-color: var(--mainHeader-color);
}

#mainHeader .flex {
    flex-direction: column;
}

.websiteTitle {
    font-size: 4.6rem;
    background-image: linear-gradient(
        45deg,
        #FF000C 0%,
        #FF000C 15%,
        #000FFF 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.websiteSubTitle {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background-image: linear-gradient(
        45deg,
        #FF000C 0%,
        #FF000C 20%,
        #000FFF 100%
        );
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
}
/* Problem Sheets */
.introCard {
        background-color: var(--card-color);
        border-radius: 25px;
        color: var(--mainText-color1);
        padding: 15px;
        text-align: center;
        width: 50vw;
}
    
.introTitle {
        font-size: 1.5rem;
 }
    
.intro {
        font-size: 1.25rem;
}

.problemSheets {
        background-image: url(/IMG/crazyNumbersWhite.png);
        background-repeat: none;
        background-position: center;
        padding-top: 50px;
        padding-bottom: 50px;
        height: 80vh;
}

.problemSheets .flex{
    flex-direction: column;
    justify-content: space-around;
}

.problemSheet {
    font-size: 1.5rem;
    font-weight: 600;
    background-color: #0000009a;
    padding: 15px;
    border-radius: 25px;
}

.problemSheet a {
    text-decoration: none;
    color: var(--navLink-color1);
}

.problemSheet a:hover {
    transform: scale(1.1);
}


/* Footer */

.mainFooter {
    width: 100%;
    background-color: var(--mainHeader-color);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    padding: 15px;
}

/* Mobile | Smaller Phones */
@media(max-width: 415px) {
    .websiteTitle {
        font-size: 2.5rem;
    }
    .websiteSubTitle {
        font-size: 2rem;
    }
    .introCard {
        width: 80vw;
    }
}

/* Mobile */
@media(max-width: 615px) {
    #mainHeader {
        height: auto;
        text-align: center;
    }
    #mainHeader .flex{
        display: block;
    }
    .websiteTitle {
        font-size: 3rem;
    }
    .websiteSubTitle {
        font-size: 2.75rem;
        padding-bottom: 5px;
    }
    .introCard {
        padding: 10px;
        width: 80vw
    }
    .mainFooter {
        text-align: center;
    }
}

/* Tablet */
@media(max-width: 906px) {
    .websiteTitle {
        text-align: center;
    }
}