@import url('https://fonts.googleapis.com/css2?family=Carlito:ital,wght@0,400;0,700;1,400;1,700&family=Unbounded:wght@200..900&display=swap');

* {
    box-sizing: border-box;
    font-weight: normal;
}
body{
    padding: 0;
    margin: 0;
    font-size: 15px;
    font-family:  "Carlito", serif;
    font-weight: 100;
    color:#F5F6F1;
    background-color: #1A1A1A;
}

h1,h2,h3,p,ul,b,i,ol{
    margin: 0;
    padding: 0;
}
p,ul,b,i,ol{
    line-height: 1.8;
}
ul{
    list-style-type: square;
}
a{
    text-decoration: none;
    color: #a280ef;
}
ol,ul{
    padding-left: 20px;
}
button, .button{
    display: block;
    font-family: "Unbounded", serif;
    font-weight: 600;
    background-color: #6947b8;
    color: #F5F6F1;
    padding: 20px;
    border: 2px solid black;
    cursor: pointer;
    outline: inherit;
    transition: 0.1s;
    width: 100%;
}
button:hover, .button:hover{
    background-color: #49317a;
    box-shadow: 4px 4px 0 black;
}
h1{
    font-family: "Unbounded", serif;
    font-weight: 800;
    font-size: 8.8rem;
}
h2{
    margin-bottom: 20px;
    font-family: "Unbounded", serif;
    font-size: 26pt;
    font-weight: 600;
}
h3{
    font-family: "Unbounded", serif;
    font-weight: 600;
}
h4{
    font-weight: 200;
    font-size: 18pt;
}

.grid {
    display: flex;
    gap: 20px;
    width: 80%;
    margin: 30px auto;
    flex-wrap: wrap;
}

.grid-kid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.2s;
    flex: 1 0 25%;
    text-align: center;
    overflow:hidden;
    border: 2px solid #F5F6F1;
    height: 220px;
    background-color: #F5F6F1;
}
.grid-kid h2{
    margin: 0;
}
.grid-kid a{
    color: black;
    transition: color 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
}
.grid-kid:hover a{
    color: white;
}
.grid-kid:hover{
    box-shadow: 4px 4px 0 #F5F6F1;
    background-color: #6947b8;
}
.cover{
    transition: scale 0.2s;
}
.cover:hover{
    scale: 2.1;
    transition: scale 0.2s;
}

.grid img {
    width: 100%;
    height: 100%;

}
.page-title{
    margin: 30px;
    font-size: 10rem;
    text-align: center;
}
.page-description{
    margin-left: 1.5em;
}
.gridBreak {
    flex-basis: 100%;
    height: 0;
}
h2{
    margin-bottom: 0;
    margin-top: 40px;
}
article section{
    text-align: center;
    margin-top: 80px;
}
article section img{
    width: 450px;
}
.about{
    display: flex;
    margin: 40px;
    gap: 20px;
    text-align: left;
    justify-content: center;
    align-items: flex-end;
}
h3{
    padding-bottom: 20px;
}

@media only screen and (max-width: 900px) {
    html,body{
        width: 100%;
    }
    h1{
        font-size: 3rem;
    }
    .grid{
        display: block;
        text-align: center;
        margin: 0 auto;
        width: 100%;
    }
    article section{
        margin: 40px;
    }
    .page-title{
        font-size: 2rem;
        margin: 20px;
    }
    .about{
        flex-direction: column;
        overflow: hidden;
        margin: 0;
    }
    .about img{
        width: 100%;
    }
}