/* *********** */
/* style.css */


/* basic reset */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 20px;
    color: black;
    background: darkslateblue;
    background: radial-gradient(circle, green, blue, red, orange, yellow);
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    /* opacity: 0; */
    /* visibility: collapse; */
}

p{
    color: aliceblue;
}

/* GRID */
.grid{
    display: grid;
    /* grid-template-columns: 1fr 2fr 1fr; */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.grid img{
    width: 100px;
}

.grid figcaption{
    font-size: 0.75em;
}

/* class vs id */
#box{
    width: 100px;
    height: 100px;
    background-color: darkolivegreen;
}
.circle {
    width: 50px;
    height: 50px;
    background-color: darkslateblue;
    border-radius: 50%;
}
.circle.green {
    background-color: darkolivegreen;
}