/* Google Fonts https://fonts.google.com/ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;600&display=swap');
/* Weights: 200, 400, 600 */

/* Custom Properties */
:root {
    --red: hsl(0, 78%, 62%);
    --cyan: hsl(180, 62%, 55%);
    --orange: hsl(34, 97%, 64%);
    --blue: hsl(212, 86%, 64%);
    --very-dark-blue: hsl(234, 12%, 34%);
    --grayish-blue: hsl(229, 6%, 66%);
    --very-light-gray: hsl(0, 0%, 98%);
    --poppins: 'Poppins', sans-serif;
}

/* Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 75px 33px;
    background-color: var(--very-light-gray);
    font-family: var(--poppins);
    text-align: center;
}

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-sub {
    color: var(--very-dark-blue);
    font-weight: 200;
    font-size: 24px;
}

.main-title {
    color: var(--very-dark-blue);
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 15px;
}

.main-paragraph {
    color: var(--grayish-blue);
    font-weight: 400;
    font-size: 15px;
    margin-bottom: 75px;
}

.main-cards {
    display: grid;
    gap: 25px;
}

.cards-item {
    height: 220px;
    max-width: 350px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    box-shadow: 1px 10px 10px hsl(229, 40%, 94%);
    display: flex;
    flex-direction: column;
}

.card-border {
    border-top: 4px solid;
}

.supervisorBorder {
    border-top-color: var(--cyan);
}

.teamBuilderBorder {
    border-color: var(--red);
}

.karmaBorder {
    border-color: var(--orange);
}

.calculatorBorder {
    border-color: var(--blue);
}

.card-info {
    padding: 25px 30px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.info-title {
    color: var(--very-dark-blue);
    font-weight: 600;
    font-size: 19px;
    margin-bottom: 8px;
    line-height: 1;
}

.info-paragraph {
    color: var(--grayish-blue);
    font-weight: 400;
    font-size: 13px;
    line-height: 1.7;
}

.info-logo {
    width: 100%;
    line-height: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: flex-end;
}

.logo-img {
    width: 60px;
}

/* Media Queries */
@media (min-width: 720px) {
    .main-sub {
        width: 505px;
        font-size: 36px;
    }

    .main-title {
        width: 505px;
        font-size: 36px;
    }

    .main-paragraph {
        width: 505px;
    }

    .main-cards {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 30px;
    }

    .cards-item {
        height: 220px;
    }

    .supervisorCard {
        grid-row: 1/3;
        grid-column: 1/2;
        position: relative;
        top: 25%;
    }

    .teamBuilderCard {
        grid-row: 1/2;
        grid-column: 2/3;
    }

    .karmaCard {
        grid-row: 2/3;
        grid-column: 2/3;
    }

    .calculatorCard {
        grid-row: 1/3;
        grid-column: 3/4;
        position: relative;
        top: 25%;
    }
}
