/* Styling */

body {
  /* grid needs more work */
  /*   display: grid;
  grid-template:
    "header header header" 200px
    "side-menu main main" 200px
    "footer footer footer" 1px/
    20px 1fr 1fr; */

  background-color: #0f742050;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
  background-image: linear-gradient(
      rgba(255, 255, 0, 1),
      rgba(255, 255, 0, 0.4)
    ),
    url(https://static.toiimg.com/thumb/71348914.cms?width=680&height=512&imgsize=666073);
  background-repeat: space repeat;
  background-size: contain;
  background-position: top;
}

/* grid needs more work */
/* header {
  grid-area: header;
}

.side-menu {
  grid-area: side-menu;
  background-color: rgba(144, 238, 144, 0.8);
}

main {
  grid-area: main;
}

footer {
  grid-area: footer; 

}*/

/*   background-color: rgba(144, 238, 144, 0.8); */

/* logo from external source with styling and located top left */
.logo {
  width: 150px;
  border-radius: 100px;
  padding: 0px 0px 20px 15px;
  margin: 0px 500px 0px 10px;
  filter: drop-shadow(30px 10px 4px #085308);
}

.title {
  font-size: 45px;
  color: purple;
  background-color: #9acd32;
  width: 600px;
  border-radius: 30%;
  text-align: center;
  padding: 8px 0px 15px 20px;
  margin: 0px 10px 30px 530px;
  filter: drop-shadow(30px 10px 4px #085308);
}

/* sidebar navigation menu */
.sidebar {
  margin: 0;
  padding-top: 170px;
  width: 120px;
  background-color: #f1f1f1;
  position: fixed;
  height: 100%;
  overflow: auto;
  z-index: 1;
  top: 0;
  left: 0;
  overflow-x: hidden;
  transition: 0.5s;
}

/* Sidebar links */
.sidebar a {
  display: block;
  color: purple;
  padding: 16px;
  text-decoration: none;
  display: block;
  transition: 0.5s;
}

/* Active/current link */
.sidebar a.active {
  background-color: #04aa6d;
  color: white;
}

/* Links on mouse-over */
.sidebar a:hover:not(.active) {
  background-color: rgb(38, 161, 48);
  color: white;
}

/* button used to open the sidebar */
.openbtn {
  font-size: 14px;
  cursor: pointer;
  padding: 10px 6.5px;
  border: none;
  background-color: #9acd32;
  border-radius: 30px;
  filter: drop-shadow(3px 5px 2px #085308);
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
  transition: margin-left 0.5s; /* transistion effect */
  padding: 20px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidebar {
    padding-top: 15px;
  }
  .sidebar a {
    font-size: 18px;
  }
}

/* Page home. The value of the margin-left property should match the value of the sidebar's width property */
div.home {
  margin-left: 120px;
  padding: 1px 16px;
  height: 2280px;
}

footer {
  text-align: center;
  padding: 15px 0px 15px 0px;
  font-size: 15px;
  color: purple;
  text-decoration: none;
}

header nav {
  float: left;
  opacity: 0.66;
}

.navpage {
  display: block;
}

a {
  text-decoration: none;
  color: purple;
  font-weight: bold;
  font-size: 1rem;
  margin-right: 20px;
}

/* when hovering over nav & footer pages turn red */
a:hover {
  color: red;
}

.home {
  border: solid #085308;
  border-radius: 30px;
  padding: 0px 20px 0px 20px;
  margin: 0px 20px 0px 100px;

  width: 80vw;
}

/* content alignment */
.cont {
  text-align: center;
}

/* #drop-menu {
  width: 150px;
  cursor: pointer;
  display: block;
  border: 2px solid #a1a1a1;
  padding: 5px;
  height: 20px;
  max-height: 20px;
  background: #9acd32;
  border-radius: 5px;
  box-shadow: 5px 5px 5px #888888;
  font-family: oregonfont;
  font-weight: bold;
  font-size: 85%;
  color: #0000a0;
  text-align: center;
} */

#drop-menu:hover {
  cursor: pointer;
  border: 3px solid #d30b0b;
  border-radius: 10px;
  margin: 10px 0px 0px 0px;
  padding: 0px 0px 0px 10px;
}

#drop-menu:hover .sub-menu {
  display: inline-block;
}

h2 {
  color: purple;
}

.thumbnail {
  border: solid 3px purple;
  border-radius: 50px;
  width: 28vw;
}

/* Express interest form style */
.interest {
  border: solid #b91111;
  border-radius: 10px;
  padding: 0px 20px 0px 20px;
  margin: 20px 0px 20px 0px;
}
/*
.contact {
  border: solid #b91111;
  border-radius: 10px;
  padding: 0px 20px 0px 20px;
  margin: 20px 0px 20px 0px;
} */

input,
textarea {
  border: solid 1px #b91111;
  /*   border: solid 1px purple; */
  border-radius: 12px;
  padding: 10px;
}

/* changed email input size as placeholder not fully visible */
.email {
  width: 10rem;
}

/* screens <450px wide, change sidebar to topbar */
@media screen and (max-width: 450px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }
  .sidebar a {
    float: left;
  }
  div.home {
    margin-left: 0;
  }
}
/* screens <700px wide, change sidebar vertically */
@media screen and (max-width: 700px) {
  .sidebar a {
    text-align: center;
    float: none;
  }
}

/* title: screens <1920, ensure title remains in the middle */
@media screen and (max-width: 1920px) {
  .title {
    height: auto;
    width: 40%;
    text-align: center;
    padding: 8px 0px 15px 20px;
    margin: 0px 10px 30px 350px;
  }
}
