/* ********* */
/* style.css */
/* ********* */

/* basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 20px;
    color: rgb(67, 15, 78);
    background: #833AB4;
    background: radial-gradient(circle, rgba(131, 58, 180, 1) 0%, rgba(131, 163, 163, 1) 27%, rgba(253, 70, 40, 1) 73%, rgba(252, 176, 69, 1) 100%);
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

p {
    color: azure;
}

/* GRID */
.grid {
    display: grid;
    /* grid-template-columns: 1fr 2fr 1fr; */
    /* grid-template-columns: repeat(4, 1fr); */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.grid img {
    width: 100%;
}

.grid figcaption {
    font-size: 0.75em;
}

/* class vs. id */
#box {
    width: 100px;
    height: 100px;
    background-color: aquamarine;
}
.circle {
    width: 70px;
    height: 70px;
    background-color: brown;
    border-radius: 50%;
}
.circle.green {
    background-color: green;
}