* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* height: 100vh; */
  background-image: linear-gradient(rgba(137, 43, 226, 0.7), rgba(0, 0, 0, 0.1)),
    url("../images/logo.png");
  background-size: cover, 50% 100vh;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  overflow-y: auto;
  overflow-x: hidden;
}
.copyright{
  height: auto;
  width: 100vw;
  text-align: center;
  background-color: #00d6eb;
  font-size: 20px;

}
header {
  display: none;
}
nav {
  display: flex;
  width: 100vw;
  justify-content: space-evenly;
  height: 12vh;
  align-items: center;
  background-color: #edf6f9;
}

nav a {
  color: #006d77;
  display: inline-block;
  width: 15vw;
  text-align: center;
  height: 13vh;
  line-height: 13vh;
  text-decoration: none;
  font-size: 2vw;
  /* border: 3px solid red; */
}
nav a:hover {
  background-color: rgb(182, 148, 105);
  transform: scaleX(1.1);
}
#main-nav {
  width: 100vw;
  height: 13vh;
}

section {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 90vh 90vh 90vh;
  margin: 3%;
  grid-gap: 40px;
}

.block {
  /* border: 3px solid blue; */
  padding: 10% 5%;
  display: flex;
  align-items: center;
  flex-direction: column;
  /* justify-content: space-evenly; */
  text-align: center;
  color: white;
  background-color: rgba(53, 53, 53, 0.8);
  border-radius: 20px;
}

.team {
  height: 20vh;
  width: 20vh;
  border-radius: 75px;
}

.block p {
  font-size: 18px;
  line-height: 20px;
}

@media only screen and (max-width: 705px) {
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 15vh;
    width: 100vw;
    background-color: #00d6eb;
  }
  .logo {
    width: 16vw;
    height: 15vh;
    font-size: 5vw;
    color: white;
    font-family: "Abril Fatface", cursive;
    background-image: url(../images/logo.png);
    background-size: 100% 100%;
    /* border: 2px solid blue;   */
    filter: contrast(200%);
  }
  .topnav {
    height: 100%;
    display: flex;
    /* width: 0%; */
    justify-content: space-evenly;
    align-items: center;
  }
  .topnav a {
    text-decoration: none;
  }
  #mob-nav {
    display: inline-block;
    background-color: rgba(0, 0, 0, 0);
  }
  #mob-nav .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    height: 70vh;
    width: 100vw;
    top: 10vh;
    left: 0;
  }

  #mob-menu {
    background-color: rgba(0, 0, 0, 0);
  }
  .ham-img {
    display: inline-block;
    height: 6vh;
    width: 10vw;
    background-image: url(../images/ham.png);
    filter: contrast(200);

    background-size: 100% 100%;
  }
  .ham {
    background-image: url(../images/ham.png);
  }
  .cross {
    background-image: url(../images/cross.png);
  }
  #main-nav {
    display: none;
  }

  nav {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    background-color: rgba(182, 149, 105, 0.281);
  }

  #mob-nav nav a {
    color: #006d77;
    /* border: 3px solid red; */
    border-bottom: 3px solid #006d77;
    height: 15%;
    width: 100%;
    font-size: 5vw;
    line-height: 8vh;
    text-align: center;
    font-weight: 600;
    background-color: rgba(245, 229, 208, 0.581);
  }

  .hidden {
    display: none;
  }

  /* header portion ends */
  section {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(9, 80vh);
    grid-gap: 10px;
  }
  #homeshort {
    display: block;
    height: 50px;
    width: 50px;
    background-image: url(../images/homeshort.png);
    background-size: 80% 80%;
    background-repeat: no-repeat;
    background-position: center center;
    position: fixed;
    bottom: 10vh;
    right: 10px;
    opacity: 0.4;
    border-radius: 100%;
  }

  #homeshort:hover {
    opacity: 1;
  }
}

@media only screen and (max-width: 610px) {
  section {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(9, 90vh);
  }
}
