* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Muli, Arial, Helvetica, sans-serif;
}
html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
    transition: 1s;
    width: 100vw;
    height: 100vh;
}
nav {
    display: grid;
    grid-template-columns: 4fr repeat(12,1fr);
    width: 100%;
    height: 5vh;
    position: fixed;
    z-index: 5;

}
.navelement {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;

}
#landing {
    height: 100vh;
    display: grid;
    grid-template-rows: 1fr 3fr 3fr 1fr;
    grid-template-columns: 5fr repeat(3,2fr) 5fr;
    width: 70vw;
    margin: 0 15vw;
}
#landingback {
    background-image: url("images/splash.jpg");
    background-size: cover;
    background-position: 50% 50%;
}
#landingtitle {
    grid-area: 2/1/3/6;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70vw;
    color: white;
    font-size: 4em;
    text-align: center;
    font-family: Oxanium, Muli, Arial, Helvetica, sans-serif;
}
#landingfacebook {
    grid-area:3/2/4/3;
}
#landingtwitter {
    grid-area:3/3/4/4;
}
#landinginstagram {
    grid-area:3/4/4/5;
}
#landingfacebook, #landingtwitter, #landinginstagram {
    display: flex;
    align-items: center;
    justify-content: center;
}
.sociallink {
    width: 23.3333vw;
    height: auto;
    -webkit-filter: invert(100%);
    filter: invert(100%);
}
.landingsocial{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30%;
    width: 30%;
}
#landingscroll {
    grid-area: 4/3/5/4;
}
#overview {
    height: auto;
    background-color: #ddd;
}
#overviewtext {
    grid-area: 1/1/2/2;
}
.overviewdiv {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
/* #img {
    grid-area: 1/2/2/3;
    width: 100%;
    height: 100%;
} */
#faculty {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: 1fr;
    height: 75vh;
    background-color: #570e0e;
    color: white;
}
#facultyinfo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
#facultypeople {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 3fr;
}
.facultyimg {
    width: 60%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
#facultyheader {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-area: 2/1/3/2;
    margin-bottom: 25px;
}
#facultydescription {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-area: 3/1/4/2;
    margin: 0px 50px 50px 50px;
}
.facultyblock {
    display: grid;
}
#facultybutton1 {
    grid-area: 1/1/2/2;
}
#facultybutton2 {
    grid-area: 1/2/2/3;
}
#facultybutton3 {
    grid-area: 1/3/2/4;
}
#facultybutton4 {
    grid-area: 1/4/2/5;
}
.facultysub {
    color: black;
}

.facultylist {
    color: black;
}
/* .sub1 {
    margin-top: 0px;
} */
button {
    height: auto;
    margin: 40px;
}
.titler {
    grid-area: 1/1/2/5;
}
.descr {
    grid-area: 2/1/3/5;
}
#architectureimg {
    background-size: cover;
}
/* .rightimg {
    grid-area: 1/5/4/6;
} */
.class1r {
    grid-area: 3/1/4/2;
}
.class2r {
    grid-area: 3/2/4/3;
}
.class3r {
    grid-area: 3/3/4/4;
}
.class4r {
    grid-area: 3/4/4/5;
}
.architecturetext {
    display: flex;
    align-items: center;
    justify-content: center;
}
.class1r, .class2r, .class3r, .class4r, .class1l, .class2l, .class3l, .class4l, .faculty {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.architectureimg, .engineeringimg, .mechatronicsimg, .businessimg, .codingimg, .digitalimg, .webimg {
    height: 50px;
    width: 50px;
}
.rightpic {
    display: grid;
    grid-template-columns: repeat(4,2fr);
    grid-template-rows: 1fr 2fr 4fr;
    height: 75vh;
    /* background-color: rgb(125,0,0); */
    /* background-color: rgb(32, 32, 172); */
    /* color: white; */
}
.leftpic {
    display: grid;
    grid-template-columns: repeat(4,2fr);
    grid-template-rows: 1fr 2fr 4fr;
    height: 75vh;
    /* background-color: rgb(172, 32, 32); */
    /* color: black; */

}
.titlel {
    grid-area: 1/1/2/5;
}
.descl {
    grid-area: 2/1/3/5;
}
.class1l {
    grid-area: 3/1/4/2;
}
.class2l {
    grid-area: 3/2/4/3;
}
.class3l {
    grid-area: 3/3/4/4;
}
.class4l {
    grid-area: 3/4/4/5;
}
#engineeringimg {
    grid-area: 1/1/4/2;
}
.class1l, .class1r, .class2l, .class2r, .class3l, .class3r, .class4l, .class4r  {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}
.titlel, .titler, .descl, .descr {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 150px;
}
.titlel, .titler {
    margin-top: 50px;
    margin-bottom: 0px;
}
.titlel, .titler, #facultyheader, #overviewheader {
    font-size: 2em;
}
.descl, .descr, #facultydescription {
    font-size: 1.2em;
}
#overviewtext {
    margin: 50px 150px;
    font-size: 1.2em;
}
#overview, #faculty, .rightpic, .leftpic {
    width: 100%;
}
.rightpic, .leftpic {
    margin-top: -50px;
    margin-bottom: -70px;
}
#textmessage {
    height: 150px;
}
#closing {
    display: flex;
    height: 60vh;
    width: 100%;
    background-color: rgb(90,0,0);
    color: white;
    margin: auto;
    padding: 20px 100px;
}
#map {
    margin: auto;
    z-index: 1;
    margin-right: 150px;
}
iframe {
    z-index: 1;
}
#contact {
    grid-area: 1/1/2/2;
    width: 40%;
    margin: auto;
    margin-left: 0;
}
#contactform {
    display: grid;
    padding: 30px;
    grid-template-rows: repeat(5,1fr) 3fr;
    grid-template-columns: 1fr;
    height: 46vh;
}
#contactheader {
    text-align: center;
}
#textname {
    grid-area: 1/1/2/2;
    height: 3vh;
}
#textemail {
    grid-area: 2/1/3/2;
    height: 3vh;
}
#textsubject {
    grid-area: 3/1/4/2;
    height: 3vh;
}
#textmessage {
    grid-area: 4/1/5/2;
    resize: none;
}
.textbox {
    margin: 15px 0px;
    border-radius: 7px;
}
#contactsubmit {
    grid-area: 5/1/6/1;
    margin: 15px 0px;
}
.classimg {
    border: solid black 2px;
} 
/* .leftimg {
    margin-left: 50px;
}
.rightimg {
    margin-right: 50px;
} */
/* #digitalimg, #businessimg {
    grid-area: 1/1/4/2;
} */
footer {
    height: 4vh;
    background-color: rgb(90,0,0);
    border-top: 1px solid black;
    bottom: 0;
    color: white;
    display: flex;
    width: 100%;
}
.footeritem {
    margin: auto;
}
#worksbutton{
    background-color: black;
    color: white;
    border: none;
    border-radius: 9px;
    width: 10%;
    height: 60%;
    cursor: pointer;
}
nav {
    background-color: #000038;
    color: white;
}
.nava:hover {
    color: white;
}
.nava:hover {
    background-color: rgb(100,0,0);
}
.nava{
    transition: 0.3s;
    font-family: Oxanium, Muli, Arial, Helvetica, sans-serif;
}
#navtitlea {
    font-family: Oxanium, Muli, Arial, Helvetica, sans-serif;
}
a:active {
    color: white;
}
a:link {
    color: white;
}
a:visited {
    color: white;
}
a {
    text-decoration: none ;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#navtitle {
    display: flex;
    align-items: center;
}
#navtitlep {
    padding-left: 10px;
}
.facultyimgdiv {
    display: grid;
    justify-content: center;
    align-items: center;
}
.dialogtext {
    width: 100%;
    color: black;
    text-align: left;
}
.dialogclosebutton {
    width: 5%;
    height: 100%;
    color: white;
    margin: 0;
    float: right;
    background-color: #a00000;
    border: none;
    border-radius: 0px 6px 0px 0px;
    outline: none;
    cursor: pointer;
    font-size: 125%;
    display: flex;
    align-items: center;
    justify-content: center;
}
h3 {
    margin-right: 0;
}
#mapembed {
    margin-left: 20%;
}
.mainbutton {
    color: white;
    border-radius: 9px;
    width: 40%;
    height: 25px;
    transition: 0.3s;
    outline: none;
}
.redbutton {
    /* background-color: #0000a0; */
    background-color: #a00000;
    border: none;
}
.bluebutton {
    background-color: #0000a0;
    border: none
}
.redbutton:hover  {
    background-color: #600000;
    cursor: pointer;
}
.bluebutton:hover {
    background-color: #000060;
    cursor: pointer;
}
#contactsubmit {
    margin: 0px 15%;
    border-radius: 9px;
    background-color: #0000a0;
    border: #0000a0 solid 1px;
    color: white;
    transition: 0.3s;
}
#contactsubmit:hover {
    cursor: pointer;
    background-color: #000060;
}
#overviewimg {
    border: 2px black solid;
    margin-right: 50px;
    float: right;
    grid-area: 1/2/2/3;
}
#overviewheader {
    grid-area: 1/1/2/2;
    margin-left: 50px;
    margin-top: 40px;
}
.landingsocial {
    color: black;
}
.landingsocial:link {
    color: black;
}
.landingsocial:visited {
    color: black;
}
.landingsocial:hover {
    color: black;
}
.landingsocial:active {
    color: black;
}
.dialog {
    display: none;
    position: fixed;
    z-index: 8;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}
.dialogbox {
    margin: 15% auto;
    border: 1px solid #000;
    width: 50%;
    height: auto;
    border-radius: 8px;
    animation-name: animationin;
    animation-duration: 0.4s;
}
.dialogheader {
    height: 50px;
    width: 100%;
    background-color: #a00000;
    color: white;
    float: right;
    display: flex;
    border-radius: 8px 8px 0px 0px;

}
.dialogcontent {
    height: 100%;
    width: 100%;
    padding: 5%;
    padding-top: 75px;
    padding-bottom: 35px;
    background-color: #fff;
    border-radius: 8px;
    color: black;
}
.dialogtitle {
    width: 85%;
    margin: auto;
    float: left;
    text-align: left;
    margin-left: 2.5%;
}
img {
    margin: 25px 0px;
}
/* #bottommargin {
    width: 100%;
    height: 10vh;
    background-color: rgb(125,0,0);
    display: none;
} */
#mobilenav {
    display: none;
    height: 100%;
    width: 100%;
    position: fixed;
    background-color: white;
    z-index: 8;
    animation-name: animationin;
    animation-duration: 0.4s;
}
#mobilenavheader {
    background-color: rgb(90,0,0);
    color: white;
    height: 10%;
    display: flex;
    font-size: 27px;
    
}
#mobilenavheader h3 {
    margin: auto;
    margin-left: 15px;
}
#mobilenavbutton {
    display: none;
    z-index: 7;
    right: 25px;
    top: 25px;
    /* width: 140px;
    height: 140px; */
    width: auto;
    height: auto;
}
#mobilenavdiv {
    cursor: pointer;
}
#navclose {
    height: 100%;
    width: 15%;
    margin: auto;
    margin-right: 0;
    background-color: rgba(50,0,0,.4);
    border: none;
    color: white;
    cursor: pointer;
}
.mnava {
    height: 7vh;
    transition: 0.3s;
    font-size: 2em;
}
.mnava:link {
    color: black;
}
.mnava:active {
    color: black;  
}
.mnava:visited {
    color: black;
}
.mnava:hover {
    color: white;
    background-color: rgb(125,0,0)
}

#mobilenavsvg {
    z-index: 6;
    height: auto;
    width: 100px;
}
#mobilenava {
    z-index: 5;
    background-color: rgb(100,0,0);
    border-radius: 100%;
    color: white;
    position: fixed;
    width: 60px;
    height: 60px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
#mobilenavdiv {
    width: 60px;
    height: 60px;
    float: right;
}
.socialsvg {
    max-width: 60px;
    height: auto;
}
.sociala {
    max-width: 60px;
    height: auto;
}
.menubar {
    width: 35px;
    height: 5px;
    background-color: white;
    margin: 3px 0;
}
#facultybutton1, #facultybutton2, #facultybutton3, #facultybutton4 {
    height: 6%;
}
/* #closing {
    border-top: 1px solid black;
} */
.workslink:active {
    color: blue;
}
.workslink:link {
    color: blue;
}
.workslink:visited {
    color: purple;
}
.workslink:hover {
    text-decoration: underline;
}   
.workslink {
    display: block;
    /* height: auto;
    width: auto; */
    /* width: 500px; */
}        
#deweydialog {
    height: 85%;
    margin-top: 3%;
    margin-bottom: 0;
    height: auto;
}
#deweycontent {
    padding-top: 7%;
    border-radius: 8px 8px;
    /* margin-bottom: 10px; */
    height: auto;

}
.fas {
    margin-top: 30px;
    font-size: 8em;
}
.fa-times {
    font-size: 1em;
    margin: 0;
    margin-right: 5px;
    /* position: relative;
    top: -12px;
    margin: auto 0; */
}
#navtitlep {
    font-size: 140%;
}
#navtitlea:link {
    color: white;
}
#navtitlea:visited {
    color: white;
}
#navtitlea:hover {
    color: white;
    background-color: none;
}
#navtitlea:active {
    color: white;
}
#architecture {
    background-color: rgb(32, 32, 172);
    color: white;
}
#engineering {
    background-color: rgb(160, 26, 26);
    color: white;
}
#mechatronics {
    background-color: rgb(212, 212, 96);
    color: black;
}
#business {
    background-color: rgb(51, 136, 51);
    color: white;
}
#coding {
    background-color: rgb(86, 18, 95);
    color: white;
} 
#digital {
    background-color: rgb(50,50,50);
    color: white;
}    
#web {
    background-color: rgb(200,200,200);
    margin-bottom: -60px;
}
.architecturebutton {
    background-color:#AB9220 ;
    color: black;
}
.architecturebutton:hover {
    background-color:#5E4D00 ;
    color: white;
}
.engineeringbutton {
    background-color: rgb(48, 156, 79);
}
.engineeringbutton:hover {
    background-color: #005418;
}
.mechatronicsbutton {
    background-color:rgb(143, 82, 209) ;
}
.mechatronicsbutton:hover {
    background-color:#542287 ;
}
.businessbutton {
    background-color:rgb(86, 18, 95);;
}
.businessbutton:hover {
    background-color: rgb(66, 8, 75);
}
.codingbutton {
    background-color:#1B8C1B ;
}
.codingbutton:hover {
    background-color:#004000 ;
}
.digitalbutton {
    background-color:white ;
    color: black;
}
.digitalbutton:hover {
    background-color:#7c7c7c;
}
.webbutton {
    background-color: black;
}
.webbutton:hover {
    background-color:rgb(46, 46, 46) ;
}
.navanchor {
    display: block;
    position: relative;
    top: -850px;
    visibility: hidden;
}
.dividersvg {
    width: 100vw;
    height: auto;
    margin: 0;
    display: block;
    left: 0;
    stroke: none;
}


/* #faculty::before,
#faculty::after {
	left: 50%;
	width: 100px;
	height: 100px;
	-webkit-transform: translateX(-50%) rotate(45deg);
	transform: translateX(-50%) rotate(45deg);
}

#faculty::before {
	top: -50px;
	background: $color1;
}

#faculty::after {
	bottom: -50px;
	z-index: 10;
	background: inherit;
} */

.courseheader, #facultyheader, .titler h2, .titlel h2, #overviewheader, #contactheader {
    font-family: Oxanium, Muli, Arial, Helvetica, sans-serif;
}

@keyframes animationin {
    from {opacity: 0}
    to {opacity: 1}
}
@keyframes animationout {
    from {opacity: 1}
    to {opacity: 0}
}
@media only screen and (max-device-width: 1600px) {
    .leftpic {
        height: 100vh;
    }
    .rightpic {
        height: 100vh;
    }
    #closing {
        height: 70vh;
    }
}

@media only screen and (min-aspect-ratio: 6/5) and (max-aspect-ratio: 4/3) {
    nav {
        display: none;
    }
    #mobilenavbutton {
        display: block;

        position: fixed;
    }
    .rightpic {
        display: grid;
        grid-template-columns: repeat(2,2fr) 3fr ;
        grid-template-rows: 1fr 2fr 2fr;
        height: 90vh;
        background-color: rgb(0,0,90);
        color: white;
    }
    .class1r {
        grid-area: 3/1/4/2;
    }
    .class2r {
        grid-area: 3/2/4/3;
    }
    .class3r {
        grid-area: 4/1/5/2;
    }
    .class4r {
        grid-area: 4/2/5/3;
    }
    .titler {
        grid-area: 1/1/2/3;
        margin-left: 50px;
        display: block;
    }
    .descr {
        grid-area: 2/1/3/3;
        margin-top: 0;
        margin: 0 50px;

    }
    /* .rightimg {
        grid-area: 1/3/4/4;
    } */
    .leftpic {
        display: grid;
        grid-template-columns: 3fr repeat(2,2fr);
        grid-template-rows: 1fr 2fr 4fr 4fr;
        height: 90vh;

        /* background-color: rgb(125,0,0); */
        color: white;
    }
    .class1l {
        grid-area: 3/2/4/3;
    }
    .class2l {
        grid-area: 3/3/4/4;
    }
    .class3l {
        grid-area: 4/2/5/3;
    }
    .class4l {
        grid-area: 4/3/5/4;
    }
    .titlel {
        grid-area: 1/2/2/4;
        display: block;
        margin-left: 50px;
    }
    .descl {
        grid-area: 2/2/3/4;
        margin-top: 0;
        margin-left: 50px;
        margin: 0 50px;
    }
    /* .leftimg {
        grid-area: 1/1/4/2;
    } */

    #facultyinfo {
        display: block;
        margin: auto;
    }
    #facultyheader {
        display: block;
        text-align: left;
        margin-left: 50px;
    }
    #facultypeople {
        display: grid;
        grid-template-columns: repeat(2,1fr);
        grid-template-rows: repeat(2,1fr);
    }
    #faculty1 {
        grid-area: 1/1/2/2;
        margin-top: 50px;
    }
    #faculty2 {
        grid-area: 1/2/2/3;
        margin-top: 50px;
    }
    #faculty3 {
        grid-area: 2/1/3/3;
    }
    #faculty4 {
        grid-area: 2/2/3/3;
    }
    #facultybutton3 {
        width: 20%;
    }

    .dialogbox {
        margin: 20% auto;
        height: 50%;
        width: 62%;
    }
    .dialogcontent {
        padding-left: 25px;
        padding-right: 25px;

    }
    .dialogtext {
        margin-top: 10px;
    }
    
    #map {
        margin-right: 50px;
    }
    #closing {
        padding-left: 25px;
    }
    #faculty3 {
        width: 50%;
        margin: auto;
    }
    #facultybutton3 {
        width: 40%;
    }
    .dialogcontent {
        padding-top: 9%;
    }
    #deweycontent {
        font-size: 3em;
    }
    .rightpic, .leftpic {
        margin-top: -50px;
        margin-bottom: 0;
    }
}
    

@media only screen and (max-height: 600px), (max-width: 600px) {
    #closing {
        height: 1300px;
    }
}

@media only screen and (max-width: 1400px) {
    nav {
        display: none;
    }
    #mobilenavbutton {
        display: block;
        position: fixed;
    }
}
@media only screen and (max-height: 730px) {
    #closing {
        height: auto;
    }
}
@media only screen and (max-width: 1400px), (max-height: 600px) {
    nav {
        display: none
    }
    #mobilenavbutton {
        display: block;
        position: fixed;
        right: 25px;
        top: 25px;
    }
    /* #overviewimg, .leftimg, .rightimg {
        display: none;
    } */
    #overview {
        height: auto;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr;
    }
    #faculty {
        height: auto;
    }
    #facultyheader {
        margin-top: 25px;
    }
    .rightpic {
        grid-template-columns: repeat(4,2fr);
        grid-template-rows: 1fr 2fr 2fr;
        height: auto;
    } 
    .leftpic {
        grid-template-columns: repeat(4,2fr);
        grid-template-rows: 1fr 2fr 2fr;
        height: auto;
    }
    .class1l, .class1r {
        grid-area: 3/1/4/2;
    }
    .class2l, .class2r {
        grid-area: 3/2/4/3;  
    }
    .class3l, .class3r {
        grid-area: 3/3/4/4;
    }
    .class4l, .class4r {
        grid-area: 3/4/4/5;
    }
    .titlel, .titler {
        grid-area: 1/1/2/5;
    }
    .descl, .descr {
        grid-area: 2/1/3/5;
    }

    #closing {
        height: 650px;
    }
    footer {
        height: auto;
        bottom: 0;
    }
    .dialogbox {
        width: 100%;
        height: 100vh;
        margin: 0;
        border-radius: 0px;
        overflow: auto;
        position: fixed;
        border: none;
    }
    .dialogheader {
        border-radius: 0px;
        height: 10%;
        width: 100%;
    }
    .dialogcontent {
        border-radius: 0px;
    }
    .dialogtext {
        margin-top: 40px;
    }
    #facultybutton1, #facultybutton2, #facultybutton3, #facultybutton4 {
    height: 15%;
    }
    #deweydialog {
        height: 100vh;
        margin: 0;
        overflow: hidden;
    }
    #deweycontent {
        font-size: .75em;
        overflow: hidden;
        padding-top: 0%;
        border-radius: 0px;
    }
    #deweytext {
        margin: 0;
    }
    #facultydialog1 {
        overflow: hidden;
    }
    .rightpic, .leftpic {
        margin-top: 0px;
        margin-bottom: 0;
    }
    .facultysub {
        margin-top: 15px;
    }
    #deweycontent { 
        height: 100%;
        overflow-y: scroll;
    }
    #web {
        margin-bottom: -35px;
    }
}
@media only screen and (max-width: 1400px) and (max-height: 600px) {
    .rightpic, .leftpic {
        margin-top: -50px;
        margin-bottom: 0;
    }
}
@media only screen and (max-aspect-ratio: 6/5) {
    body {
        font-size: 2vw;
    }
    /* .classimg, #overviewimg {
        display: none;
    } */
    nav {
        display: none;
    }
    #mobilenavbutton {
        display: block;
        position: fixed;
    }
    .leftpic, .rightpic {
        display: grid;
        grid-template-rows: 1fr 2fr 2fr 2fr 2fr 2fr;
        grid-template-columns: 1fr;
    }
    .descl {
        grid-area: 2/1/3/1;
    }
    .titlel {
        grid-area: 1/1/2/1;
    }
    .class1r, .class1l, #faculty1 {
        grid-area: 3/1/4/1;
    }
    .class2r, .class2l, #faculty2 {
        grid-area: 4/1/5/1;
    }
    .class3r, .class3l, #faculty3 {
        grid-area: 5/1/6/1;
    }
    .class4r, .class4l, #faculty4 {
        grid-area: 6/1/7/1;
    }
    #overview {
        grid-template-columns: 1fr;
        height: 50vh;
    }
    .sociallink {
        height: 25vh;
    }
    .leftpic, .rightpic, #faculty {
        height: auto;
    }
    #faculty {
        display: grid;
        grid-template-rows: 1fr 8fr;
        grid-template-columns: 1fr;
    }
    #facultyinfo {
        grid-area: 1/1/2/1;
        height: auto;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 2fr;
    }
    #facultyheader {
        grid-area: 1/1/2/1;
    }
    #facultydescription {
        grid-area: 2/1/3/1;
    }
    #facultypeople {
        grid-area: 2/1/3/1;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4,1fr);
    }
    #faculty1 {
        grid-area: 1/1/2/1;
    }
    #faculty2 {
        grid-area: 2/1/3/1;
    }
    #faculty3 {
        grid-area: 3/1/4/1;
    }
    #faculty4 {
        grid-area: 4/1/5/1;
    }

    .mainbutton {
        width: 80%;
        height: 4em;
        border-radius: 30px;
        font-size: 1em;
    }
    #facultybutton1, #facultybutton2, #facultybutton3, #facultybutton4 {
        height: 40px;
    }
    #closing {
        display: grid;
        grid-template-rows: 6fr 4fr;
        grid-template-columns: 1fr;
        padding: 0;
    }
    #contact {
        grid-area: 1/1/2/1;
        width: 100%;
        margin: auto;
    }
    #contactform {
        width: 100%;
    }
    #contactsubmit {
        height: 500%;
    }
    input {
        font-size: 2em;
    }
    textarea {
        font-size: 2em;
    }
    #overviewheader {
        margin-left: 0;
    }
    .dialogbox {
        width: 100%;
        height: 100vh;
        margin: 0;
        border-radius: 0px;
        overflow: auto;
        position: fixed;
        border: none;
    }
    .dialogheader {
        border-radius: 0px;
        height: 10%;
        width: 100%;
    }
    .dialogcontent {
        border-radius: 0px;
    }
    #textname {
        height: 50px;
    }
    #textemail {
        height: 50px;
    }
    #textsubject {
        height: 50px;
    }
    #closing {
        height: 1100px;
    }
    .dialogtitle {
        font-size: 27px;
        width: 85%;
        margin-left: 15px;
    }
    .dialogclosebutton {
        width: 15%;
        font-size: 275%;
        margin: auto;
    }
    .dialogtext {
        font-size: 1.4em;
        margin-top: 40px;
    }
    #contactheader {
        margin-top: -30px;
    }
    .footeritem {
        font-size: 1.5em;
        width: 20vw;
        margin: auto 5vw;
        text-align: center;
    }
    #worksbutton {
        width: 25vw;
        margin: auto 7.5vw;
    }
    #mapframe {
        width: 80vw;
        border: white solid 2px;
    }
    #mapembed {
        margin: 75px 0 0 0;
    }
    #map {
        margin-top: -50px;
        margin-bottom: 50px;
        height: 100%;
        display: flex;
        margin-right: auto;
    }
    footer {
        height: 10vh;
    }
    iframe {
        height: 90%;
    }
    #mapframe {
        height: 100%;
    }
    #mapembed {
        height: 90%;
    }
    .descl, .descr, #facultydescription, #overviewtext {
        font-size: 1.4em;
        margin: 50px;
    }
    .titlel, .titler, #contactheader, #facultyheader, #overviewheader {
        font-size: 2em;
    }
    #landing {
        height: 100vh;
    }
    #overview {
        height: auto;
    }
    #landingtitle {
        font-size: 3em;
        text-align: center;
    }
    #facultyheader {
        margin: 50px 150px;
    }
    #closing, .rightpic, .leftpic, #faculty, #overview {
        width: 100%;
    }
    .engineeringtext {
        margin: 50px;
    }
    .courseheader {
        font-size: 2.5em;
    }
    #deweycontent {
        font-size: 1em;
        top: 10px;
    }
    #deweytext {
        margin-top: 0;
    }
    .mainbutton {
        margin-right: auto;
        margin-left: auto;
    }
    .titlel {
        margin: auto;
    }
    .titlel, .titler {
        text-align: center;
    }
    #architecture {
        margin-top: -65vh;
    }
    .rightpic, .leftpic {
        /* margin-top: -50px; */
        margin-bottom: 0;
    }
    /* .dialogcontent {
        height: auto;
        overflow-y: scroll;
    }
    #mechatronics4 .dialog .dialogbox .dialogcontent {
        font-size: 
    } */
    /* .fa-times {
        top: -15px;
    } */
}
@media only screen and (max-aspect-ratio: 14/16) {
    .dialogcontent {
        font-size: 1.4em;
    }
}
@media only screen and (max-aspect-ratio: 9/16) {
    .dialogcontent {
        font-size: 1.8em;
    }
    .dialogtext {
        font-size: 1em;
    }
} 
/* @media only screen and (max-aspect-ratio: 4/3) {
    .leftpic, .rightpic {
        margin-top: -35px;
    }
} */