html, body {
    height: 100%;
}

body {
    margin: 0;
    display: flex;
    justify-content: center;
    overflow: hidden;
    background: #c68e51;

    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

h2 {
    margin: 0;
    user-select: none;
}

.title {
    font-size: 1.5rem;
    white-space: nowrap;

    color: #232323;
}

.container {
    height: 600px;
    width: 600px;
    margin: auto;

    display: flex;
    gap: 10px;
}

.info {
    margin-left: 5px;
}

.info > * {
    margin-left: 10px;
}

#app {
    width: 400px;
    height: 500px;
    border-radius: 10px;
}

#fruit-info {
    width: 100px;
    height: 100px;
    border-radius: 10px;
}

.col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

@media (max-width: 700px) {
    .container {
        display: grid;
        grid-template-columns: 2fr 1fr;
        grid-template-rows: auto 2fr;
        height: 100%;
    }

    #app {
        grid-row: 2;
        grid-column: 1 / span 2;
        justify-self: center; 
    }

    .info {
        grid-row: 1;
        grid-column: 1;
        justify-self: center; 
        align-self: center;

        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto 2fr;
    }

    .next {
        grid-row: 1;
        grid-column: 2;
        justify-self: center;
    }

    #fruit-info {
        width: 100%;
        height: 100px;
    }
}