* {
  box-sizing: border-box;
}
@font-face {
  font-family: 'Raleway';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: local('Raleway Italic'), local('Raleway-Italic'), url(https://fonts.gstatic.com/s/raleway/v16/1Ptsg8zYS_SKggPNyCg4TYFqL_KWxQ.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local('Raleway'), local('Raleway-Regular'), url(https://fonts.gstatic.com/s/raleway/v16/1Ptug8zYS_SKggPNyC0IT4ttDfA.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Raleway Bold'), local('Raleway-Bold'), url(https://fonts.gstatic.com/s/raleway/v16/1Ptrg8zYS_SKggPNwJYtWqZPANqczVs.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  @font-face {
    font-family: 'Hind Madurai';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Hind Madurai Regular'), local('HindMadurai-Regular'), url(https://fonts.gstatic.com/s/hindmadurai/v5/f0Xx0e2p98ZvDXdZQIOcpqjX9ocCU-MkOA.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  @font-face {
    font-family: 'Hind Madurai';
    font-style: normal;
    font-weight: 700;
    src: local('Hind Madurai Bold'), local('HindMadurai-Bold'), url(https://fonts.gstatic.com/s/hindmadurai/v5/f0Xu0e2p98ZvDXdZQIOcpqjfTaIXfsEpEp4L_w.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  }
  .fa {
    padding: 20px;
    font-size: 30px;
    width: 50px;
    text-align: center;
    text-decoration: none;
  }

  .fa:hover {
    opacity: 0.7;
  }


/* Twitter */
.fa-twitter {
  background: #55ACEE;
  color: white;
}

.fa-linkedin {
  background: #007bb5;
  color: white;
}

.fa-youtube {
  background: #bb0000;
  color: white;
}

.fa-instagram {
  background: #125688;
  color: white;
}

  body {
margin: 5%;
}

header {
  height:150px;
  background-color: hsl(196, 87%, 60%);
  margin-bottom: 20px;
  border: 2px solid black;
  display:flex;
}

#profile {
  width:25%;
  margin:auto;
  text-align: center;
}

#security {
  width:25%;
  margin:auto;
  text-align: center;
}

#title {
  width:50%;
  margin:auto;
  text-align: center;
}

nav {
  background-color: hsl(196, 87%, 60%);
  height: auto;
  width: 100%;
  margin-bottom: 20px;
  text-align: center;
  border: 2px solid black;
}

.navtile {
  width: 9rem;
  height: 4rem;
  padding-top: 1rem;
  display: inline-block;
  background-color: hsl(55, 93%, 71%);
  text-align: center;
  border-radius: 5px;
  text-decoration: none; 
}

.navtile:hover {
  background-color: hsl(355, 75%, 71%);
}

.topictile {
  height: 8rem;
  width: 15rem;
  border-radius: 5px;
  margin-left: 1.5rem;
  padding: 1.5rem 1rem;
  background-color: hsl(55, 93%, 71%);
  text-align: center;
}

.topictile:hover {
  background-color: hsl(355, 75%, 71%);
}

.topiccontainer {
  height: auto;
  width: 55rem;
  margin: auto;
  display: grid;
  grid-template-columns: 18rem 18rem 18rem;
  
}

@media only screen and (max-width: 1070px)

{.lessontile{ 
  width: 16rem;
}

.topiccontainer{
width: 40rem;
display: grid;
grid-template-columns: 18rem 18rem;
}
}

@media only screen and (max-width: 856px)
{.topiccontainer {
width: 20rem;
display: block;
}

.navtile {
display: block;
width: 15rem;
margin: 1rem auto;
}
}

.container {
  height: auto;
  width: 100%;
  border: 2px solid black;
  margin-bottom: 10px;
  padding: 2rem;
  background-color:  hsl(303, 84%, 94%);
}
.box1 {
  width: 45%;
  display: inline-block;
}
.box2 {
  width: 45%;
  vertical-align: top;
  display: inline-block;
}
.centre {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 60%;
}

.centre20 {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 20%;
}

.centre30 {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 30%;
}

#highlight {
  background-color: hsl(355, 75%, 71%);
}

#foetus, #placenta, #umbilical, #amniotic {
  position: absolute;
  z-index: 9;
  background-color: #f1f1f1;
  border: 1px solid black;
  text-align: center;
  width: 200px;
  height: 100px;
}

#penis, #testes, #spermduct, #ureathra, #oviduct, #uterus, #vagina, #ovary {
  position: absolute;
  z-index: 9;
  background-color: #f1f1f1;
  border: 1px solid black;
  text-align: center;
  width:35%;
}

#Stage, #FFD, #RFD, #Mirror, #Eyepiece {
  position: absolute;
  z-index: 9;
  background-color: #f1f1f1;
  border: 1px solid black;
  text-align: center;
  width: 250px;
  height: 100px;
} 

#Stageheader, #FFDheader, #RFDheader, #Mirrorheader, #Eyepieceheader {
  padding: 10px;
  cursor: move;
  z-index: 10;
  background-color: white;
  color: black; 
}

#penisheader, #testesheader, #spermductheader, #ureathraheader, #oviductheader, #uterusheader, #vaginaheader, #ovaryheader, #foetusheader, #placentaheader, #umbilicalheader, #amnioticheader   {
  padding: 10px;
  cursor: move;
  z-index: 10;
  background-color: white;
  color: black;
}

.centretext {
  text-align: center;
}

table, th, td {
  border: 1px solid black;
  border-collapse: collapse;
  padding: 5px;
  background-color: hsl(55, 93%, 71%);
}


h1 {
  font-family: "Hind Madurai";
  padding-left: 2rem;
  font-weight: 700;
  font-size: 3rem;
}

h2 {
  font-family: "Hind Madurai";
  font-weight: 700;
  font-size: 2rem;
  
}

p, li, h3, th, td {
  font-weight: 400;
  font-size: 1.5rem;
  font-family: "Raleway";
}

.b1, .b2 {
  background-color: black;
  width: 50px;
  height: 30px;
}

#second {
  display: none
}

button {
  outline: none;
}