.page-container {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: 400px 60px auto;
}

.facilities {
    font-size: large;
    font-family: 'Lato', sans-serif;
    padding: 20px;
}

.aboutus-photo {
    position: relative;
}

.aboutus-photo-photo {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
}

.aboutus-photo-photo img {
    width: 100%;
    height: 400px;
}

.aboutus-photo-text {
    position: absolute;
    top: 25%;
    left: 45%;
}

.aboutus-photo-text p {
    font-weight: bolder;
    font-size: 55px;
    color: #333eb1;
    font-family: 'Lato', sans-serif;
}

.about-us-navbar {
    height: auto;
    color: #737374;
    background-color: #282829;
    padding: 20px;
}

.about-us-navbar ul {
    list-style-type: none;
    padding-left: 0px auto;
    margin: 0px auto;
    border: none;
}

.about-us-navbar li {
    display: inline-block;
}

.about-us-navbar li a {
    text-decoration: none;
    text-align: center;
    color: #e8eef1;
    margin: 5px;
    padding: 5px;
    font-family: 'Lato', sans-serif;
}

#about-underline {
    border-bottom: 1px solid #e8eef1;
}

.about-us-navbar li a:hover {
    border-bottom: 1px solid #e8eef1;
}

.about-us-heading {
    padding-left: 40px;
    padding-right: 40px;
    width: 100%;
    font-family: 'Lato', sans-serif;
}

.about-us-heading h1 {
    color: #394096;
    border-bottom: 1px solid #394096;
}

#aboutuscontainer {
    display: grid;
    grid-template-columns: 60% 40%;
    grid-template-rows: auto;
}

#aboutus {
    font-size: large;
    font-family: 'Lato', sans-serif;
    padding: 10px 40px 40px 40px;
    text-align: justify;
}

#aboutus h1 {
    color: #394096;
}

#aboutus h2 {
    color: #394096;
}

#aboutus ul {
    list-style-type: none;
}

#aboutusslide {
    width: 100%;
    margin: 0px;
    padding-top: 100px;
    padding-right: 80px;
    padding-left: 40px;
    border: none;
}

.slideshow-container {
    position: relative;
    margin: 0;
    padding: 0;
    height: auto;
}

.mySlides {
    display: none;
    width: 100%;
}

.mySlides img {
    width: 100%;
    height: 400px;
}

.prev {
    cursor: pointer;
    position: absolute;
    top: 45%;
    left: 0%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.5s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    cursor: pointer;
    position: absolute;
    top: 45%;
    right: 0%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.5s ease;
    user-select: none;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: #717171;
}

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1s;
    animation-name: fade;
    animation-duration: 1s;
}

@-webkit-keyframes fade {
    from {
        opacity: 0.8
    }
    to {
        opacity: 1
    }
}

@keyframes fade {
    from {
        opacity: 0.8
    }
    to {
        opacity: 1
    }
}

@media screen and (max-width:322px) {
    .aboutus-photo-text {
        left: 20%;
    }
    .page-container {
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: 400px auto;
    }
    .about-us-navbar {
        display: none;
    }
    .aboutus-photo-photo img {
        width: 100%;
        height: 400px;
    }
    .about-us-heading {
        padding-left: 10px;
        padding-right: 10px;
        width: 100%;
    }
    #aboutuscontainer {
        display: flex;
        flex-flow: column-reverse wrap;
        justify-content: center;
        margin: 20px;
    }
    #aboutus {
        padding: 10px 10px 10px 10px;
    }
    #aboutusslide {
        padding: 10px 10px 10px 10px;
    }
    .mySlides img {
        width: 100%;
        height: 400px;
    }
}

@media screen and (max-width:378px)and (min-width: 323px) {
    .aboutus-photo-text {
        left: 25%;
    }
    .page-container {
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: 400px auto;
    }
    .about-us-navbar {
        display: none;
    }
    .aboutus-photo-photo img {
        width: 100%;
        height: 400px;
    }
    .about-us-heading {
        padding-left: 10px;
        padding-right: 10px;
        width: 100%;
    }
    #aboutuscontainer {
        display: flex;
        flex-flow: column-reverse wrap;
        justify-content: center;
        margin: 20px;
    }
    #aboutus {
        padding: 10px 10px 10px 10px;
    }
    #aboutusslide {
        padding: 10px 10px 10px 10px;
    }
    .mySlides img {
        width: 100%;
        height: 400px;
    }
}

@media screen and (max-width:430px)and (min-width: 379px) {
    .aboutus-photo-text {
        left: 26%;
    }
    .page-container {
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: 400px auto;
    }
    .about-us-navbar {
        display: none;
    }
    .aboutus-photo-photo img {
        width: 100%;
        height: 400px;
    }
    .about-us-heading {
        padding-left: 10px;
        padding-right: 10px;
        width: 100%;
    }
    #aboutuscontainer {
        display: flex;
        flex-flow: column-reverse wrap;
        justify-content: center;
        margin: 20px;
    }
    #aboutus {
        padding: 10px 10px 10px 10px;
    }
    #aboutusslide {
        padding: 10px 10px 10px 10px;
    }
    .mySlides img {
        width: 100%;
        height: 400px;
    }
}

@media screen and (max-width:769px)and (min-width: 431px) {
    .aboutus-photo-text {
        left: 40%;
    }
    .page-container {
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: 400px auto;
    }
    .about-us-navbar {
        display: none;
    }
    .aboutus-photo-photo img {
        width: 100%;
        height: 400px;
    }
    .about-us-heading {
        padding-left: 10px;
        padding-right: 10px;
        width: 100%;
    }
    #aboutuscontainer {
        display: flex;
        flex-flow: column-reverse wrap;
        justify-content: center;
        margin: 20px;
    }
    #aboutus {
        padding: 10px 10px 10px 10px;
    }
    #aboutusslide {
        padding: 10px 150px 10px 150px;
    }
    .mySlides img {
        width: 100%;
        height: 400px;
    }
}