@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

/*General CSS*/

.body {
    font-family: 'Poppins', sans-serif;
}

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

/*Index.html (Homepage)*/
/*Main Content*/
.mainBody {
    background-color: rgb(253, 237, 240);
    overflow: auto;
    height: 100vh;
}

.header {
    display: flex;
    margin-top: 10px;
    align-items: baseline;
}

.generalBackground {
    background-color: white;
    border-radius: 10px;
    margin: 20px 100px;
    padding: 25px 50px 75px;
}

.moduleHeader {
    margin-left: 30px;
}

.moduleBackgrounds {
    background-color: antiquewhite;
    border-radius: 10px;
    padding: 10px;
    width: 250px;
    cursor: pointer;
}

.modulePhoto {
    border-radius: 10px;
    margin: 0;
    padding: 0;
}

.genericImg {
    width: 225px;
    margin-top: 5px;
    margin-left: 4px;
    border-radius: 10px;
}

.moduleName {
    color: black;
    border-radius: 10px;
    margin-top: 10px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px 50px;
    margin-left: 3%;
}

.modulePreview {
    background-color: antiquewhite;
    width: 70%;
    border-radius: 10px;
    padding: 30px;
    display: none;
}

.flexContainer {
    display: block;
}

/* Module Preview */
/* Style the button that is used to open and close the collapsible content */
.collapsible {
    background-color: antiquewhite;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    margin-top: 10px;
    border-bottom: 1px solid black;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .collapsible:hover {
    background-color: rgb(236, 212, 182);
}

/* Style the collapsible content. Note: hidden by default */
.content {
    color: #fff;
    padding: 10px 15px;
    display: none;
    overflow: hidden;
    background-color: rgb(236, 212, 182);
}

/* Create module button*/
.createMods {
    display: flex;
    /* to be changed to none */
    align-items: baseline;
    background-color: antiquewhite;
    padding: 15px 10px;
    padding-bottom: 10px;
    border-radius: 10px;
    margin-left: auto;
    cursor: pointer;
}

#editModuleDiv {
    display: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: grey;
    border-radius: 10px;
}

/* End of scrollbar */

/* disable inner scrollbar */
body::-webkit-scrollbar {
    display: none;
}

/* Resizing screen */
/* @media only screen and (max-width: 1418px) {
    .grid-container {
        display: grid;
        grid-template-columns: 250px 250px 250px;
        gap: 75px;
        margin-left: 5vw;
    }
}

@media only screen and (max-width: 1250px) {
    .grid-container {
        display: grid;
        grid-template-columns: 250px 250px;
        gap: 20px 80px;
        margin-left: 15vw;
        margin-right: auto;
    }
}

@media only screen and (max-width: 1005px) {
    .grid-container {
        display: grid;
        grid-template-columns: 250px;
        gap: 20px 80px;
        margin-left: 25vw;
        margin-right: auto;
    }
} */

/* End of index.html (Homepage)------------------------------*/