:root{
    --color-base : rgb(0, 134, 101);
    --main-text-color : #ececec;
    --card-width : 200px;
    --my-card-bg : color-mix(in srgb,var(--color-base) 40%, rgb(0,0,0));
    --grid-cols : 4;
    --main-bg : color-mix(in srgb,var(--color-base) 60%, rgb(0,0,0));
}

@font-face {
    font-family: 'Yeshuah';
    src: url('./fonts/Yeshuah.ttf');
    font-weight: bolder;
    font-style: normal;
}

@font-face {
    font-family: 'Quicksand';
    src: url('./fonts/Quicksand-Light.ttf');
    font-weight: bolder;
    font-style: normal;
}

html{
    padding: 0px;
    margin: 0px;
}

body{
    background-color: var(--main-bg);
    color: var(--main-text-color);
    font-family: 'Quicksand' , 'Yeshuah';
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 0px;
    margin: 0px;
}

header{
    display: none !important;
}

.site-grid{
    margin: 0px;
    height: fit-content;
}

.main-logo{
    width: 80px;
    align-self: center;
    justify-self: center;
}

.main-grid{
    display: grid;
    grid-template-columns: repeat(var(--grid-cols), 1fr) ;
    grid-template-rows: auto;
    gap: 10px;
    justify-items: center;
    align-items: center;
    max-width: 80vw;
    row-gap: 50px;
}

.main-header{
    align-items: center;
    justify-content: center;
    padding-top: 50px;
    font-family: 'Yeshuah';
    letter-spacing: 3px;
    font-size: 1.5rem;
    text-align: start;
    grid-column: span var(--grid-cols);
    display: flex;
    gap : 10px;
}

.main-header img{
    width: 80px;
}

.slogan{
    font-family: 'Quicksand';
    font-size: 0.8rem;
    letter-spacing: 0.8px;
    margin-top: 0px;
}

.card{
    background-color: var(--my-card-bg);
    border-radius: 8px;
    padding: 10px;
    height: var(--card-width);
    width: var(--card-width);
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
    justify-items: center;
    align-items: center;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.5s;
    justify-content: center;
    justify-items: center;
    align-items: center;
    text-align: center;
    box-shadow: rgba(0,0,0,0.5) 1px 1px 5px ;
    cursor: pointer;
}

.card img{
    width: 50%;
}

.card_img{
    width: 30% !important;
}

.card:hover{
    transform: scale(1.1);
}


@media only screen and  (max-width: 960px) {


    .main-grid{
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 10px;
        justify-items: center;
        align-items: center;
        max-width: 100vw;
        width: 100%;
        justify-content: center;
    }

    .main-header{
        margin-bottom: 25px;
        grid-column: span 2;
    }

    .main-grid a{
        display: flex;
        width: 100%;
        justify-content: center;
    }
}


@media only screen and (max-width: 448px) {

    body{
        display: grid;
        grid-template-columns: 1fr;
        margin: 0px;
        justify-items: center;
        min-height: 100vh;
        height: fit-content;
    }

    .site-grid{
        min-height: 100vh;
        height: fit-content;
    }
    
    .main-grid{
        display: flex;
        grid-template-columns: 1fr ;
        grid-template-rows: auto;
        gap: 10px;
        justify-items: center;
        align-items: center;
        max-width: 100%;
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-grid a{
        display: flex;
        width: 100%;
        justify-content: center;
    }

    .main-header{
        margin-bottom: 25px;
    }

    .card{
        width: 90%;
        align-self: center;
        height: unset;
    }

    
}


