.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 10px;
}

/* default - small devices*/

[class*="col"] {
    grid-column-end: span 12;
}

/* below 601px typically tablet*/


@media only screen and (min-width:601px) {

    .sm1 {
        grid-column-end: span 12;
    }

    .sm2 {
        grid-column-end: span 6;
    }

    .sm3 {
        grid-column-end: span 4;
    }

    .sm4 {
        grid-column-end: span 3;
    }

    .sm6 {
        grid-column-end: span 2;
    }

    .sm12 {
        grid-column-end: span 1;
    }
}


/* above 601px typically tablet*/


@media only screen and (min-width:601px) {


    .md1 {
        grid-column-end: span 12;
    }

    .md2 {
        grid-column-end: span 6;
    }

    .md3 {
        grid-column-end: span 4;
    }

    .md4 {
        grid-column-end: span 3;
    }

    .md5 {
        grid-column-end: span 1;
    }

    .md6 {
        grid-column-end: span 2;
    }

    .md12 {
        grid-column-end: span 1;
    }
}


/* above 1025px typically desktop*/

@media only screen and (min-width:1025px) {
    .grid {
        max-width: 1300px;
        margin: 0 auto;
    }

    .col1 {
        grid-column-end: span 12;
    }

    .col2 {
        grid-column-end: span 6;
    }

    .col3 {
        grid-column-end: span 4;
    }

    .col4 {
        grid-column-end: span 3;
    }

    .col5 {
        grid-column-end: span 1;
    }

    .col6 {
        grid-column-end: span 2;
    }

    .col12 {
        grid-column-end: span 1;
    }
}

body {
    background-color: black;
}

h2 {
    font-family: "Epilogue";
    font-weight: 600;
    font-size: 1.6rem;
    text-align: end;
    color: white;
    margin-top: 35px;
}

.logo {
    margin-top: 15px;
    height: 40px;
    width: auto;
}

p {
    font-family: "Epilogue";
    font-weight: 400;
    font-size: 1.2rem;
    text-align: center;
}

.generateb {
    width: 70vw;
    max-width: 1120px;
    border: 1.5px solid #ffffff;
    border-radius: 5px;
    height: 50px;
    font-family: "Epilogue";
    font-weight: 400;
    font-size: 1.2rem;
    cursor: grab;
    background: #212121;
    color: white;
}

.generate {
    width: 70vw;
    max-width: 1120px;
}

.top {
    margin-top: 20px;
}

.undo {
    text-align: center;
}

.undob {
    background: none;
    border: none;
    color: #9cc800;
    padding: 15px 32px;
    text-decoration: underline;
    font-size: 1.2rem;
    cursor: grab;
    font-family: "Epilogue";
}

.redo {
    align-content: center;
    text-align: center;
}

.redob {
    background: none;
    border: none;
    color: #9cc800;
    padding: 15px 32px;
    text-decoration: underline;
    font-size: 1.2rem;
    cursor: grab;
    font-family: "Epilogue";
}

.redob:hover {
    color: #bef400;
}

.undob:hover {
    color: #bef400;
}

.generateb:hover {
    background-color: #2c2c2c;
}

.colours {
    display: flex;
    height: 70vh;
    margin-bottom: 20px;
    max-width: 1300px;
    margin: 0 auto;
    margin-top: 20px;
    font-family: "Epilogue";
    font-weight: 400;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-align: center;
}

.columns {
    display: flex;
    max-width: 1300px;
    margin: 0 auto;
    margin-top: 20px;
    height: auto;
}

.column {
    flex: 1;
    justify-items: center;
}

.copy {
    height: 45px;
    width: auto;
}

.lock {
    height: 45px;
    width: auto;
}


.column button {
    background: none;
    border: none;
    cursor: grab;
}

.c1 {
    background-color: #9cc800;
    color: black;
}

.c2 {
    background-color: #719100;
}

.c3 {
    background-color: #4c6200;
}

.c4 {
    background-color: #3a4b00;
}

.c5 {
    background-color: #314000;
}
