
body {
    background-color:#746e69 ;
    color: #666666;
    font-family:Arial, Helvetica, sans-serif;
    background:linear-gradient(to top,#edc499,#e1ba9100); 
    background-attachment:fixed;
    margin:0px;
}
header {
 background-color: #edc499; 
 color: #000000;  
 font-family:Arial, Helvetica, sans-serif;
 grid-column: 2 / -2;
 margin: 20px;
 grid-row: 1 / 2;
}
h1 {
    line-height:20px; 
    color: #000000;
    text-align: left;
    font-family:fantasy;
    font-size: 3rem;
   font-weight: 900;
    padding: .5px;
   
    
}
nav {
    background-color: #ffffff;
    font-weight: bold;
    font-family: Noto Sans, sans-serif;
    grid-column: 2 / 8;
    grid-row: 2 / 3;
    position: sticky;
    top: 0;
}
nav ul {
    margin:0;
    padding:0;
    display:flex;
    flex-flow: nowrap;
    list-style-type:none;
}
nav ul li {
    width: 100%;
}
nav a { 
    text-decoration: none;
    color: #000000;
    font-size: 1.2rem;
    padding: 1rem 0rem;
    display:block;
    padding: 20px;
    text-align:center;
}
nav a:hover {
    background-color: #edc499;
}
h2 {
    color: #000000;
    font-family:American Typewriter, serif;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
font-size: x-large;
font-weight: 600;
}
.top-paragraph {
font-family:fantasy;
line-height: 25px;
font-weight: bolder;
}
h3{
color: #000000;
font-family: Optima, sans-serif;
font-size: x-large;
font-weight: 100;
margin-left: 150px;
text-align: left;
}


.main {
    text-align: center;
  }
  
  .flex-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .imgwoman,
  .imgnbc,
  .left-paragraph,
  .imgsafe 
 {
    flex: 1 1 45%; 
  }
  
  .imgwoman img{
    order: 1;
    width: 500px;
    height: auto;
    padding-bottom: 10px;
  }
  
  .imgnbc {
    order: 2;
    margin-top: 20px;
  }
  
  .left-paragraph {
    order: 3;
    width: 100%;
    line-height: 35px;
  }
  
  .imgsafe {
    width: 500px;
    height: auto;
    order: 4;
    margin-top: -90px;
    margin-right: -7px;
  }


h4{
    color: #000000;
    font-family: Optima, sans-serif;
    font-size: x-large;
font-weight: 100;
text-align: right;
margin-right: 60px;
margin-top: -50px;
}
footer {
    font-size: 1.8rem;
    font-family: Comic Sans MS, Comic Sans, cursive;
    font-style: bold;
    text-align: center;
    line-height: 25px;
    padding-bottom: 0px;
    padding-top: 20px;
    grid-row: 5 / 6;
    grid-column: 2 / 8;
    color: #000000;
dt {
    color: #2f2828;
    font-weight: bold;
}
}
.copyright{
    font-size: small;
    font-style: italic;
    color: #956c43;
}
#wrapper{ 
display: grid;
grid-auto-rows: minmax(0px, auto);
grid-template-columns:minmax(0px,1fr) repeat(6, minmax(0,175px)) minmax(0px,1fr);
}
#bluebar{
background-color: #edc499;
grid-row: 1 / 2;
grid-column: 1 / 9;
}
#greybar{
background-color: #ffffff;
grid-row: 2 / 3;
grid-column: 1 / 9;
}
h3 {
    color: #000000;
}
table {
border:1px solid #424242;
margin: 0% auto;
width: 100%;
border-collapse: collapse;
}
th, tr, td {
    padding: 5px;
    border: 1px solid #424242;
}
td {
    text-align: center;
}
td:nth-of-type(1) {
    text-align: left;
}
tr:nth-of-type(even){
    background-color: #f3f3f3
}
main {
    padding-left: 2rem;
    padding-right: 2rem;
    grid-row: 4 / 5;
    grid-column: 2 / 8;
    background-color: #ffffff;
}
#homehero {
    background-image: url(homehero.jpg);
    background-repeat: no-repeat;
    height: 450px;
    background-size: 1050px;
    background-position: center;
    grid-row: 3 / 4;
    grid-column: 1 / 9;
    max-width: 100%;
}
#studenthero{
    background-image: url(studenthero.jpg);
    height: 300px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    grid-row: 3 / 4;
    grid-column: 1 / 9;
}
#facultyhero {
    background-image: url(facultyhero.jpg);
    height: 300px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position:center;
    grid-row: 3 / 4;
    grid-column: 1 / 9;
}
#alumnihero{
    background-image: url(alumnihero.jpg);
    height: 300px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position:center;
    grid-row: 3 / 4;
    grid-column: 1 / 9;
}
* {
    box-sizing: border-box;
text-align: center;}
header a {
    text-decoration: none;
    color: #ffffff;
}

@media only screen and (max-width: 1100px) {
    #wrapper{ grid-template-columns:minmax(0px,1fr) repeat(6, minmax(0,150px)) minmax(0px,1fr);



        .flex-container {
            flex-direction: column; /* Stack items in a column on small screens */
          }
        
          .imgwoman,
          .left-paragraph,
          .imgnbc,
          .imgsafe {
            flex: 1 1 100%; /* Make items take up full width */
            order: unset; /* Reset the order */
            margin-top: 20px; /* Add space between items */
          }
        .imgwoman img{
            order: 1;
            width: 500px;
            height: auto;
            padding-bottom: 10px;
          }
          
          
          .left-paragraph {
            order: 2;
        text-align: center;
      width: auto;
           
          }
          .imgnbc {
            order: 3;
            margin-top: 20px;
          }
          .imgsafe {
            width: 500px;
            height: auto;
            width: auto;
            order: 4;
            margin-top: 20px;
            margin-bottom: 20px;
        
          }
}
@media only screen and (max-width: 900px) {
    nav{
        grid-row: 2 / 3;
        grid-column: 1 / 5;
        position: static;
     }
     h1{
        font-size: 2rem;
     }
    

     h3{
     display: none;
     }
     h4{
      display: none;
     }


     .flex-container {
        flex-direction: column; /* Stack items in a column on small screens */
      }
    
      .imgwoman,
      .left-paragraph,
      .imgnbc,
      .imgsafe {
        flex: 1 1 100%; /* Make items take up full width */
        order: unset; /* Reset the order */
        margin-top: 20px; /* Add space between items */
        padding: 0;
        margin: 0;
      }
    .imgwoman img{
        order: 1;
        width: auto;
        height: auto;
      }
      
      .left-paragraph {
        order: 2;
    text-align: center;
  width: auto;
  height: auto;
       
      }
      .imgnbc {
        order: 3;
        margin-top: 20px;
      }
      .imgsafe {
        height: auto;
        width: auto;
        order: 4;
        margin-top: 20px;
        margin-bottom: 20px;
    
      }

nav ul {
    flex-flow: column nowrap;
}
#homehero {
grid-row: 2 / 3;
grid-column: 5 / 8;
height: auto;
background-size: cover;
}
#studenthero {
    grid-row: 2 / 3;
    grid-column: 5 / 8;
    height: auto;
}
#facultyhero {
    grid-row: 2 / 3;
    grid-column: 5 / 8;
    height: auto;
}
#alumnihero {
    grid-row: 2 / 3;
    grid-column: 5 / 8;
    height: auto;
}
section {
    float: none;
    width: 100%;
    padding-right: 0px;
}
footer{
    font-size: 1.2rem;
}}
@media only screen and (max-width: 600px) {
h1 {
    background-image: none;
    text-align: center;
}
body {
    overflow-x: hidden; /* Try hiding horizontal overflow */
  }
footer{
    font-size: .75rem;}
nav {
    grid-row: 2 / 3;
    grid-column: 1 / 9;
}
#homehero {
display: none;
}
#studenthero {
    display: none;
}
#facultyhero{
    display: none;
}
#alumnihero{
    display: none;
}}
form{
display: grid;
grid-template-rows:auto;
grid-template-columns:200px 1fr;
gap: .75rem;
width: 100%;
}
input, textarea{
    font-size: 1rem;
    padding: 10px;
    color: #666666;
    background-color: #fafafa;
    border:none;
}
input, textarea{
outline: none;
background-color: #f0f0f0;
}
label{
    padding: 10px;
    text-align: right;
}
#mySubmit{
width: 10rem;
grid-column: 2 / 3;
}}