/* Imports from other sheets */
@import url(./mainStyle.css);

/* Content style */
#content {
    position: absolute;
    padding: 0;
    margin: 0;
    top: 150px;
    left: 0;
    height: 100%;
    width: 100%;
    display: grid;
    grid-template-columns: 50% 50%;
    justify-items: center;
    align-items: start;
}
footer { grid-column: span 2; }

/* Program main info */
#programTop {
    display: grid;
    justify-items: center;
    align-items: center;
    grid-template-columns: 50% 50%;
    width: 90%;
    background-color: rgb(51, 129, 106);
    border-radius: 10px;
    box-shadow: 0px 0px 10px 1px rgba(0,0,0,1);
    margin-bottom: 30px;
}

#group, #individual {
    width: 90%;
    height: 100%;
    border: 1px solid rgb(52, 109, 92);
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    border-radius: 10px;
}

/* In-depth explanation on program parts */
#programExp {
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    width: 90%;
    background-color: rgb(51, 129, 106);
    border-radius: 10px;
    box-shadow: 0px 0px 10px 1px rgba(0,0,0,1);
    margin-bottom: 30px;
}

video {
    height: 500px;
    border-radius: 10px;
    margin: 0 10px 0 calc(50% - 150px);
}

/* Page title style */
.pageTitle {
    margin: 0;
    padding: 0 5%;
    font-size: 48px;
    text-align: center;
}
.pageSubtitle {  text-align: center; }

/* Text */
.pageText { padding: 0 5%; font-size: 20px; text-align: center; }
.pageList { margin: 5px 0; font-size: 20px; text-decoration: underline; }
.pageList:hover, .expLink:hover { font-weight: 500; cursor: pointer; }

.expList { margin: 0 20px; font-size: 20px; }
.expText { padding: 0 5%; font-size: 20px; }
.expLink { font-size: 20px; color: rgb(175, 175, 255); }

.span2 { grid-column: span 2; }

/* RESPONSIVENESS */
@media only screen and (max-width: 1100px) {
    #group { grid-column: span 2; }
    #individual { grid-column: span 2; margin-top: 20px; }
}
@media only screen and (max-width: 900px) {
    #content {
        grid-template-columns: 100%;
        height: auto;
    }

    footer { grid-column: span 1; }
}

@media only screen and (max-width: 500px) { video { margin-right: 50px; } }
@media only screen and (max-width: 450px) { video { margin-right: 25px; } }
@media only screen and (max-width: 400px) { video { margin-right: 5px; } }