/* --------------------------- */
/*           Module            */
/* --------------------------- */

section.module{
    width: 90%;
    max-width: 1200px;
    margin: auto;
    margin-top: 2rem;
}
section.module > .head{
    font-size: xx-large;
    font-weight: bold;
    color: #00573d;
    position: relative;
}
section.module > .head > button{
    height: 38px;
    width: 38px;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 6px;
    border: none;
    background-color: #00573d;
    color: white;
    font-size: xx-large;
}
section.module > .head > hr{
    background-color: #006446;
    height: 6px;
}

/* --------------------------- */
/*         MODULE_BOX          */
/* --------------------------- */

section.module-box{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    border-radius: 15px;
    background-color: rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}
section.module-box > *{
    box-sizing: border-box;
    flex: 1 0 100%;
}
section.module-box > .module-box-title{
    width: 100%;
    height: 4rem;
    background-color: rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: xx-large;
    font-weight: bold;
    text-align: center;
    padding: 0.5rem 0;
    color: #00573d;
    margin-bottom: 1rem;
}
section.module-box > .module-box-sub-title{
    background-color: rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: left;
    align-items: center;
    text-align: left;
    font-size: x-large;
    font-weight: bold;
    padding: 0.5rem 1rem;
    color: #000;
    margin: 1rem 0;
}

/* --------------------------- */
/*           Links             */
/* --------------------------- */

section.module > .module-image-link-container{
    height: 22rem;
    width: 100%;
    padding-bottom: 1rem;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: scroll;
}
section.module > .module-image-link-container > a{
    height: calc(inherit - 2rem);
    width: 18rem;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative
}
section.module > .module-image-link-container > a > img{
    height: 100%;
    width: auto;
}
section.module > .module-image-link-container > a > p{
    position: absolute;
    bottom: 0;
    width: calc(100% - 2rem);
    min-height: 3rem;
    padding: 1rem;
    color: white;
    font-size: large;
    font-weight: bold;
    display: flex;
    justify-content: left;
    align-items: end;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
    overflow-wrap: break-word;
}

/* --------------------------- */
/*           Files             */
/* --------------------------- */

section.module-box > .module-box-filestore{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    overflow-x: scroll;
    max-width: 100%;
}

section.module-box > .module-box-filestore > a{
    height: 8rem;
    width: 8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    word-wrap: break-word;
    flex-wrap: wrap;
    text-decoration: none!important;
    border: 1px solid #00573d;
    border-radius: 15px;
    background-color: rgba(0, 0, 0, 0.05);
}
section.module-box > .module-box-filestore > a > *{
    box-sizing: border-box;
    flex: 1 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #00573d
}
section.module-box > .module-box-filestore > a > p{
    display: inline-block;
    width: 100%;
    text-align: center;
    word-wrap: break-word;
}

/* --------------------------- */
/*            Text             */
/* --------------------------- */

section.module > .module-paragraph-container{
    width: calc(100% - 4rem);
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    margin: 1rem;
    flex-wrap: wrap;
    padding: 1rem;
}
section.module > .module-paragraph-container > table{
    width: 100%;
    font-size: medium;
}
section.module > .module-paragraph-container > .image-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: auto;
    gap: 1rem;
}
section.module > .module-paragraph-container > .image-container > img{
    height: 12rem;
    width: auto;
    border-radius: 15px;
}
section.module > .module-paragraph-container > .image-container > img:hover{
    transform: scale(1.1);
}
section.module > .module-paragraph-container > *{
    flex-basis: 100%;
}
section.module > .module-paragraph-container > p.header{
    font-size: xx-large;
    font-weight: bold;
    text-align: center;
    padding: 0.5rem 0;
    color: #00573d;
}
section.module > .module-paragraph-container > p.bold{
    font-weight: bolder;
}
section.module > .module-paragraph-container > hr{
    background-color: #006446;
    height: 6px;
    margin: 0 2rem 1rem 2rem;
}
section.module > .module-paragraph-container > p{
    font-size: large;
    font-weight: normal;
    padding: 0.25rem 0;
}


/* --------------------------- */
/*          Queries            */
/* --------------------------- */


@media only screen and (max-width: 1024px) {
    section.module > .module-image-link-container{
        height: 12rem!important;
    }
    section.module > .module-image-link-container > a{
        width: 10rem!important;
    }
    section.module > .module-paragraph-container > p.header{
        font-size: large;
    }
    section.module > .module-paragraph-container > p{
        font-size: medium;
    }
}

