/* Imports from other sheets */
@import url(./mainStyle.css);

/* Content style */
#content {
    position: absolute;
    padding: 0;
    margin: 0;
    top: 150px;
    left: 0;
    height: auto;
    width: 100%;
    display: grid;
    grid-template-columns: auto auto auto;
    justify-items: center;
    align-items: start;
}

#content div img {
    margin: 0;
    padding: 0;
    transform: scaleX(-1);
    height: 600px;
    width: auto;
    border-radius: 20px;
    box-shadow: 0px 0px 10px 1px rgba(0,0,0,1);
}
footer { grid-column: span 3; }

#overDiv1, #overDiv2 {
    width: 75%;
    height: auto;
    padding: 50px;
    background-color: rgb(51, 129, 106);
    border-radius: 10px;
    box-shadow: 0px 0px 10px 1px rgba(0,0,0,1);
}

.imgDiv p {
    margin-top: 5px;
    text-align: center;
}

/* Page title style */
.pageTitle {
    margin: 0;
    padding: 0 5%;
    font-size: 48px;
    text-align: center;
}

/* Text */
.pageText {
    padding: 0 5%;
    font-size: 20px;
}

/* Change content grid */
@media only screen and (max-width: 1600px) { #overDiv1, #overDiv2 { padding: 40px; } }
@media only screen and (max-width: 1400px) { #overDiv1, #overDiv2 { padding: 20px; } }
@media only screen and (max-width: 1200px) { #overDiv1, #overDiv2 { padding: 5px; } }
@media only screen and (max-width: 1000px) {
    #overDiv1, #overDiv2 { grid-column: span 3; margin-bottom: 50px; }
    #content { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
}
@media only screen and (max-width: 400px) {
    #overDiv1, #overDiv2 { width: 90%; }
}