/*
Programmer: Matas Noreika 
Purpose: General utility stylesheet for base framework
*/
.container{
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.card{
    background-color: #fff;
    color: #333;
    border-radius: 10px;
    padding: 40px 40px;
    height: 300px;
    box-shadow: 0 10px rgba(0, 0, 0, .2);
    overflow-y: hidden;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.btn{
    display: inline-block;
    padding: 20px;
    margin: 30px 0;
    border-radius: 10px;
    text-align: center;
    width: 200px;
    background: var(--primary-color);
    color: #fff;
}

.btn:hover{
    transform: scale(.98);
}

.bg-primary{
    background: var(--primary-color);
    color: #fff;
}

.bg-secondary{
    background: var(--secondary-color);
    color:#fff;
}

.flex{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%; /*Have to define height in order to get align-items to scale correctly*/
}

.flex-row{
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.grid-3{
    grid-template-columns: repeat(3, 1fr);
}

.text-center{
    text-align: center;
}

/* Text sizes */
.sm{
    font-size: 1rem;
}

.md{
    font-size: 1.5rem;
}

.lg{
    font-size: 2rem;
}

.xl{
    font-size: 3rem;
}

/* Margins */

.my-1{
    margin: 1rem 0;
}

.my-2{
    margin: 1.5rem 0;
}

.my-3{
    margin: 2rem 0;
}

.my-4{
    margin: 3rem 0;
}

.my-5{
    margin: 4rem 0;
}

/* Padding */

.p-1{
    padding: 1rem;
}

.p-2{
    padding: 1.5rem;
}

.p-3{
    padding: 2rem;
}

.p-4{
    padding: 3rem;
}

.p-5{
    padding: 4rem;
}

.py-1{
    padding: 1rem 0;
}

.py-2{
    padding: 1.5rem 0;
}

.py-3{
    padding: 2rem 0;
}

.py-4{
    padding: 3rem 0;
}

.py-5{
    padding: 4rem 0;
}