@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400&family=Roboto:wght@100;300;400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

nav {
    background-color: rgb(21, 12, 29);
    height: 3rem;
    color: #fff;
    font-size: 1.3rem;
    font-family: 'Roboto', sans-serif;
    display: flex;
    align-items: center;
}

nav ul {
    padding: 0 2rem;
    list-style: none;
    letter-spacing: 1px;
}

.box-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.container {
    position: relative;
    display: grid;
    grid-template-rows: repeat(3, 10vw);
    grid-template-columns: repeat(3, 10vw);
}

.line {
    position: absolute;
    height: 5px;
    width: 0;
    background-color: rgb(255, 20, 60);
    border-radius: 5px;
    transition: width 1s ease-in-out;
}

.box {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid black;
}

.box:hover {
    background-color: rgb(224, 215, 233);
    cursor: pointer;
}

.box-text {
    font-size: 6vw;
    font-family: 'Roboto', sans-serif;
}

.bt-0 {
    border-top: 0;
}

.br-0 {
    border-right: 0;
}

.bb-0 {
    border-bottom: 0;
}

.bl-0 {
    border-left: 0;
}

section {
    padding: 0 2rem;
}

section h1 {
    font-size: 2rem;
    font-family: 'Poppins', sans-serif;
}

section div {
    margin-top: 0.5rem;
}

.info {
    padding: 0 1rem;
    font-family: cursive;
}

button {
    padding: 0.5rem 1rem;
    cursor: pointer;
    border: none;
    outline: none;
    border-radius: 5px;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.imgbox img {
    width: 0;
    transition: width 1s ease-in-out;
}

@media screen and (max-width:750px) {
    .box-container {
        flex-wrap: wrap;
        gap: 3rem;
    }

    section div {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }
    section h1 {
        font-size: 1.2rem;
      }
}