@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body {
    background: rgb(2, 0, 36);
    background: radial-gradient(circle, rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 1) 35%, rgba(0, 212, 255, 1) 100%);
    color: #000000;
    font-size: medium;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
}

:root {
    --p1: #a2d2ff;
    --p2: #219ebc;
    --p3: #caf0f8;
    --p4: #003049;
    --pt1: #006d77;
    --pt2: #fdf0d5;
}

header,
footer {
    width: 100%;
    height: 10vh;
    background: var(--p1);
    display: flex;
    color: var(--p4);
    align-items: center;
    justify-content: space-around;
}

button {
    padding: 5px 10px;
    border-radius: 7px;
    background-color: var(--p3);
    cursor: pointer;


    border-color: var(--p4);

    &:hover {
        background-color: var(--p2);
        color: var(--p1);
    }
}

main {
    width: 100%;
    height: 80vh;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
    overflow-y: auto;
    align-items: center;
}

@media screen and (max-width: 800px) {
    main {
        width: 100%;
        height: 80vh;
        display: flex;
        flex-direction: column;
    }
}

main div {
    background-color: var(--p3);
    border-radius: 10px;
    padding: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    color: var(--p4);
    font-size: 12px;

    box-shadow: 0 2px 15px rgba(255, 255, 255, 0.5);

    & h2 {
        font-size: 15px;
        color: var(--p4);
    }
}


main div img {
    width: 90%;
    border-radius: 5px;
    margin-bottom: 10px;
    object-fit: cover;
    transition: transform 0.3s ease;
    transform: scale(1);
}