body{
  font-family: 'Trebuchet MS', sans-serif;
  background-color: white;
  /* overflow: hidden; */

}

.loader {
  border: 16px solid #f3f3f3; /* Light grey */
  border-top: 16px solid rgb(109, 109, 109);
  border-radius: 50%;
  width: 90px;
  height: 90px;
  animation: spin 2s linear infinite;

  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -75px;
  margin-left: -75px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*---------- REGISTER AND LOGIN PAGE ---------*/
#bannerSetup, #login-form{
  display: none;
}

#register-form,#login-form, #join-form{
  padding: 30px;
  position: absolute;
  left: 50%;
  transform: translate(-50%);
}
 
#register-form input, #login-form input, #join-form input{
  width: 300px;
  padding: 5px;
}

#switchToLogin{
  display: none;
}

h1{
  font-size: 25pt;
  margin: 0px;
  text-align: center;
}

h2{
  font-style: italic;
  font-size: 10pt;
  margin-top: 0px;
  margin-bottom: 20px;
  text-align: center;
}

label{
  display: block;
  margin: 5px;
}

input,select{
  margin-bottom: 5px;
}

.btn, .select{
  width: 310px;
  padding: 3px;
  margin-top: 5px;
  font-size: 13pt;
}

.btn{
  border: 1pt solid black;
  border-radius: 5px;
  color: black;
  background-color: hsl(44, 98%, 59%);
  padding: 5px;
}

.btn:hover{
  background-color:hsl(44, 70%, 53%);
  transition: 0.02s;
}


#register-form{
  display: none;
}

#homePage{
  display:none;
}

#topBanner{
  position: relative;
  top: 0px;
  border: 2pt solid (214, 212, 212);
  /* border-bottom: 2pt solid black; */
  /* background-color: #adc8d9; */
  background-color: #88b9d7;
  width: 100%;
  height:100px;
  opacity: 95%;
  z-index: 1;
}

#VClass{
  position: absolute;
  font-style: italic;
  font-style: oblique;
  font-size: 30pt;
  left: 45px;
  top: 30%;
}

#newToVclass{
  position: absolute;
  right: 14%;
  top: 40%;
  font-size: 13pt;
  z-index: 2;
}

#btnRegisterPage,#btnLoginPage{
  position: absolute;
  top: 30%;
  right: 5%;
  font-size: 13pt;
  width: 100px;
  z-index: 2;
}

#line3{
  position: absolute;
  top: 200px;
  border: 2pt solid rgb(95, 94, 94);
  width: 100%;
}

/*---------- HOME PAGE ---------*/

#titleHomePage{
  position: absolute;
  left: 45px;
  font-size: 25pt;
  text-align: center;
  margin-top: 15px;
}

#welcome{
  position: absolute;
  left: 45px;
  top: 160px;
  font-style: italic;
  font-size: 13pt;
  margin-top: 0px;
  margin-bottom: 20px;
}

#greyScreen{
  left: 0px;
  height: 100%;
  width: 100%;
  z-index: 3;
  background-color: #929090;
  top: 0px;
  position: fixed;
  opacity: 70%;
  display: none;
}

#createClass, #addClass{
  display:none;
  font-size: 20pt;
  border: 2pt solid #ADC8D9;
  width: 500px;
  margin: 20px;
  z-index: 4;
  position: fixed;
  left: 30%;
  height: 179px;
  padding: 25px;
  background-color: white;
  border-radius: 10px;
}

#createClass1, #createClass2{
  display: none;
}

#generateClassCode{
  text-align: center;
  margin-top: 26px;
  color: hsl(44, 98%, 59%);
  font-size: 38pt;
  font-weight: bold;
}

#classCodeInstructions{
  text-align: center;
}
.classMakerHeadings{
  text-align: left;
  margin-bottom: 20px;
}

#classCodeHeader{
  text-align: center;
}

#className, #recieveClassCode {
  width: 60%;
}

#btnCreateClass, #btnAddClass{
  width: 180px;
  margin-top: 20px;
}

.fontControl{
  font-weight: bold;
  font-size: 12pt;
}

.newClass{
  top: 100px;
  cursor: pointer;
}

.notComplete{
  color: red;
  font-size: 12pt;
  text-align: center;
}

#btnExitAdd, #btnExitCreate{
  position:absolute;
  top:0;
  right:0;
  margin: 5px;
}

.classroomDisplay{
  position: absolute;
  display: flex;
  flex-wrap: wrap;
  top:200px;
  padding: 20px;
}

.classImg{
  border-radius: 10px;
  margin: 30px;
  text-align: center;
}

.classImglbl{
  text-align: center;
  font-weight: bold;
  font-size: 12pt;
  margin-top: -15px;
}

.classCodeDisplay{
  margin: 0px;
  font-weight: 100;
  color: grey;
  font-size: 10pt;
  text-align: center;
}

#mathClassroomlbl{
  text-align: center;
  margin-top: 0px;
}

/*---------- LOGGING IN PAGE---------*/

.joinClass{
  display:none;
}

.videoContainer{
  border: 2pt solid black;
  background-color: #ADC8D9;
  border-radius: 5px;
  width: 120px;
  height: 120px;
  position: relative;
  left: 30%;
  text-align: center;
}
#myVideo{
  width: 120px;
  border-radius: 5px;
  height: 120px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}
/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

#homeImgJoin{
  display:none;
  z-index: 3;
  position: absolute;
  top: 30%;
  right: 5%;
  cursor: pointer;
}


/*---------- IN CLASS ---------*/
#inClassUser{
  position: fixed;
  top:calc(50% - 50px/2); /* height divided by 2*/
  left:calc(50% - 50px/2); /* width divided by 2*/
  z-index: 3;
  text-align: center;
}

.furniture{
  display:none;
  position: relative;
}

html, body {margin:0; padding:0;}  

#classroomName{
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translate(-50%);
  color: rgb(224, 221, 221);
  font-size: 16pt;
  z-index: 3;
}

#backgroundImg{
  margin: 0;
  padding: 0;
  width: 2800px;
  height: auto;
}

#background{
  width: 3000px;
}

#zoomIn{
  position: fixed;
  top: 10px;
  right: 5px;
  border: 2pt solid white;
  border-radius: 10px;
  background-color: rgb(214, 212, 212);
  opacity: 80%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 4;
}

#zoomOut{
  position: fixed;
  top: 80px;
  right: 5px;
  border: 2pt solid white;
  border-radius: 10px;
  background-color: rgb(214, 212, 212);
  opacity: 80%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 4;
}

#toolBar{
  position: fixed;
  bottom: 0px;
  border: 2pt solid (214, 212, 212);
  background-color: rgb(214, 212, 212);
  width: 100%;
  height: 60px;
  opacity: 95%;
  z-index: 5;
}

#homeImgInClass{
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translate(0,-50%);
  cursor: pointer;

}

.switchInClass{
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translate(0,-50%);
}



.parent{
  position: relative;
  left: 200px;
  bottom: 200px;
  width: 80px;
  height: 80px;
}

.fish{
  position: relative;
  left: 36%;
  top: 33px;
  z-index: 2;
  cursor: pointer;
}

.fishBowl{
  position: absolute;
  cursor: pointer;
  height: 100%;
  width: 100%;
}

#fishPrompt{
  left: 172px;
  bottom: 313px;
  position:absolute;
  display: none;
  
}


#progressbar{
  position: absolute;
  left: -5px;
  top: -30px;
  border: 2pt solid black;
  width: 90px;
  height: 10px;
}
#progress{
  position: relative;
  background-color: pink;
  width: 10px;
  height: 10px;
  left: 0px;
  right: 0px;
}

#pinboard{
  position: absolute;
  left: 1110px;
  top: 90px;
  cursor: pointer;
}

#pinboardPrompt{
  left: 1150px;
  top: 103px;
  position:absolute;
  display: none;
}

#forum{
  display: none;
  border: 2pt solid black;
  background-color: rgb(255, 255, 255);
  border-radius: 10px;
  width: 80%;
  height: 70%;
  position: fixed;
  top: 10%;
  left: 10%;
  margin-left: auto;
  margin-right: auto;
  z-index: 4;
}

#btnExitPinboard{
  position: absolute;
  top: 0px;
  right: 0px;
  border: 2pt solid black;
  border-radius: 5px;
  margin: 5px;
  cursor: pointer;
}

#banner2{
  position: relative;
  top: 0px;
  border: 2pt solid (214, 212, 212);
  border-bottom: 2pt solid black;
  background-color: #88b9d7;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  width: 100%;
  height: 90px;
  opacity: 95%;
}

#pinboardName{
  position: absolute;
  font-size: 25pt;
  left: 40px;
  top: 30px;
}

.pinboardBtn{
  width: 517px;
  top: 87px;
  height: 44px;
  z-index: 5;
}

#btnCreatePost{
  position: absolute;
  left: 508px;
  cursor: pointer;
}

#btnPosts{
  position: absolute;
  left: -1px;
  cursor: pointer;

}

#noPosts{
  top: 63px;
  position: absolute;
  left: 36%;
}

#postsContainer, #createPostContainer{
  position: absolute;
  height: 68%;
  width: 100%;
  top: 130px;
  font-family: monospace;
  padding-top: 15px;
}

.pinboardInput{
  font-family: monospace;
  background-color: #eceff1;
  border-radius: 5px;
}

#postTitle{
  width: 82%;
}

#postText{
  height: 30%;
  width: 82%;
}

#createPostContainer{
  display: none;
  padding-inline: 89px;
  padding-top: 10px;
}
#createPostContainer label{
  font-weight: bold;
  font-size: 12pt;
}

#postsContainer{
  padding-inline: 76px;
  overflow-x: scroll;
}

.postDisplay{
  display: flex;
  flex-direction: row;
  border: 2pt solid black;
  height: auto;
  width: 82%;
  padding: 10px;
  border-radius: 5px;
  margin: 10px;
  background-color: #eceff1;
}

.postContent{
  margin: 5px;
  display: flex;
  flex-direction: column;
}

.postTitleDisplay{
  font-weight: bold;
  font-style: italic;
  font-size: 12pt;
}
.postNameDisplay{
  border: 2pt solid black;
  border-radius: 5px;
  width: auto;
  height: auto;
  padding: 5px;
  margin: 5px;
  margin-right: 26px;
  font-weight: bold;
  font-style: italic;
  background-color: #88b9d7;
}

