.gallery{
    background-color: black;
    color: white;
    margin-right: 20%;
    margin-left: 20%;
}

p2{
    color: white;
    font-size: 0.8vw;
}

.black{
    background-color: black;
}

#myP, #myB{
    font-family: 'oswald', sans-serif;
    font-size: 1.4vw;
      
}

.right{
    float: right;
   
}



#chem{
    margin-top: 13%;
    margin-bottom: 13%;
}

#myP{
    margin-top: 12.7%;
    margin-bottom: 12.7%;
}

#physics{
    margin-top: 12.7%;
    margin-bottom: 12.7%;
}

#geo {margin-top: 12.7%;
    margin-bottom: 12.7%;
}

#it{
    margin-top: 12.7%;
    margin-bottom: 12.7%;
}

.testcs{
    opacity: 1;
    transition: 1s;
    margin-left:12.3%;
    
}



.left{
    float: left;
   padding-left: 1%;
    width: 50%
}

.test{
    opacity: 1;
    transition: 1s;
    margin-left:5.3%;
    
}
.falsetest {
    opacity: 0;
    transition: 1s;
    margin-left: -200px;
}

.testphys{
    opacity: 1;
    transition: 1s;
    margin-left:5.3%;
    color: white;
    
}

.testright{
    opacity: 1;
    transition: 1s;
    margin-left: 66%;
    
}
.falsetestright {
    opacity: 0;
    transition: 1s;
    margin-left: 100%;
}


.definition{
    background-color: yellow;
}




.specialbutton{

    font-size: 1.7vw;
    font-family: 'oswald', sans-serif;
    padding: 0% 15%;
    border-radius: 10px;
    background-color: black;
    color:white;
    border-radius: 5px;
    border-color: black;

}


.specialbutton:hover{
    background-color: black;
    color: lawngreen;
}

.specialbutton2{

    font-size: 1.7vw;
    font-family: 'oswald', sans-serif;
    padding: 0% 15%;
    border-radius: 10px;
    background-color: black;
    color:white;
    border-radius: 5px;
    border-color: black;

}


.specialbutton2:hover{
    background-color: black;
    color: hotpink;
}

.specialbutton3{

    font-size: 1.7vw;
    font-family: 'oswald', sans-serif;
    padding: 0% 15%;
    border-radius: 10px;
    background-color: black;
    color:white;
    border-radius: 5px;
    border-color: black;

}


.specialbutton3:hover{
    background-color: black;
    color: mediumpurple;
}

.specialbutton4{

    font-size: 1.7vw;
    font-family: 'oswald', sans-serif;
    padding: 0% 15%;
    border-radius: 10px;
    background-color: black;
    color:white;
    border-radius: 5px;
    border-color: black;

}


.specialbutton4:hover{
    background-color: black;
    color: royalblue;
}

.specialbutton5{

    font-size: 1.7vw;
    font-family: 'oswald', sans-serif;
    border-radius: 10px;
    background-color: black;
    color:white;
    border-radius: 5px;
    border-color: black;

}


.specialbutton5:hover{
    background-color: black;
    color: royalblue;
}



form {border: 3px solid #f1f1f1;}

input[type=text], input[type=password] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

.loginbutton {
  background-color: #4CAF50;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
}

.loginbutton:hover {
  opacity: 0.8;
}

.cancelbtn {
  width: auto;
  padding: 10px 18px;
  background-color: #f44336;
}


img.avatar {
  width: 40%;
  border-radius: 50%;
}

.container {
  padding: 16px;
}

span.psw {
  float: right;
  padding-top: 16px;
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
  span.psw {
     display: block;
     float: none;
  }
  .cancelbtn {
     width: 100%;
  }
}





.parent{
    position: relative;
    top:0;
    left: 0;
}
.background{
    position: relative;
    top: 0;
    left: 0;
    clip: rect(150px, 0px, 50px, 0px) ;
    
}
.image2{
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%)
}
.topnav {
  overflow: hidden;
  background-color: #444;
  top: 0;
  width: 100%;
}

.topnav a {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 10px 16px;
  text-decoration: none;
  border-radius: 4px;
  position: center;
}

.topnav a .logoicon{
    padding: 7px;
}



.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 16px;  
  border: none;
  outline: none;
  color: white;
  padding: 32px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: #669C59;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ddd;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  font-family: 'Oswald', sans-serif;
  font-weight: 100;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.definition{
   background-color: #FDF9C4;
   font-style: italic;
}

a {
    text-decoration: none;
}

table {
    font-family: sans-serif;
    border-collapse: collapse;

}

td, th {
    border: 1px solid #dddddd;
    
    padding: 8px;
}

td{
    text-align: left;
}


h1, h2, h3, h4, h5, h6 {
 font-family: 'Oswald', sans-serif;
 text-transform: uppercase;
}


.content {
    margin-left: 20%;
    margin-right: 20%;
}

.nomargin{
    margin: 0%;
}

p {
    font-size: 16px;
    font-family: 'Cardo', sans-serif;
    
}

p1 {
    font-size: 20px;
    font-family: 'Cardo', sans-serif;
    padding: 0px;
}

h1 {
    font-size: 40px;
}

.content img{
    margin-top: 50px;
    border-radius: 2px;
    
}

.row{
    
}

button {
    border: 0.15vw solid cadetblue;
    background-color: white;
    color: cadetblue;
    
    
    cursor: pointer;
    border-radius: 4px;
    -webkit-transition-duration: 0.4s;
    transition-duration: 0.4s;   
}

.content button:hover{
    background-color: cadetblue;
    color: white;
}

.content button{
    margin-top: 5px;
    font-size: 14px;
    height: 62px;
    width: 100%;
}

.content .imgcontainer img{
    height:150px;
}

@media (max-width: 600px){
 .content{
    margin-left: 10%;
    margin-right 10%;   
}

}

@media (max-width: 1300px){
 .content{
    margin-left: 15%;
    margin-right 15%;   
}

}



.binaryandhex {
    text-align: center;
}

.binaryandhex img{
    display: block;
}

.binaryandhex button{
    margin-top: 5px;
   

    width: 100%;
}



.communicationtechnologies {
    text-align: center;
}



.communicationtechnologies button{
    margin-top: 5px;
    width: 100%;
}

.imgcontainer {
    float: left;
    padding: 0.3%;
    width: 250px;
}








.msflogo{
    float: right;
    padding-top: 5px;
    padding-right: 5px;
}



.dropdown .dropbtn {
 font-family: 'oswald', sans-serif;
 font-size: 14px;
 text-transform: uppercase;
}



li{
    text-indent: 1%;
}

.subvalues{
    text-indent: 3%;
}





.clearfix{
    overflow: auto;
    margin: 0%;
}

.heatingcurve, statesofmatter, .puresubstances, #right{
    float: right;
    border-radius: 0px;
}

.heatingcurve1{
    float: right;
}
.heatingcurve2{
    float: right;
    padding: 1%;

}

ul {
    font-family: 'Cardo', sans-serif;
    
}

li {
    font-family: 'Cardo', sans-serif;
    margin-top: 0.8%;
}

.heatingcurve3{
    float: right;
    margin-bottom: 6%;
}

.definitionwarning{
    float: left;
    margin-top: .7%;
    margin-bottom: 2%;
    margin-left: 16%;
}

.flexcontainer{
    display: flex;
    align-items: center;
}




.importantlist li{
    font-size: 18px;
}



.livingbeings {
    text-align: center;
}



.livingbeings button{
    margin-top: 5px;
    font-size: 14px;
    height: 62px;
    width: 100%;
}


.cells {
    text-align: center;
}

.cells img{
    display: block;
}

.cells button{
    margin-top: 5px;
}

.cells button{
    margin-top: 5px;
    font-size: 14px;
    height: 62px;
    width: 100%;
}

.column{
    float: left;
    width: 47.5%;
    
}
.comparisonrow:after{
    content: '';
    display: table;
    clear: both;
}

.column2{
    float: left;
    width: 47.5%;
    border-left: solid green;
    border-left-width: 1;
    margin-left: 2%;
    padding-left: 1.9%
    
}

.centered{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 60%;

}


.enzymes {
    text-align: center;
}

.enzymes img{
    display: block;
}

.enzymes button{
    margin-top: 5px;
    font-size: 14px;
    height: 62px;
    width: 100%;
}

.plantnutrition {
    text-align: center;
}

.plantnutrition img{
    display: block;
}

.plantnutrition button{
   margin-top: 5px;
    font-size: 14px;
    height: 62px;
    width: 100%;
}

.nutrition {
    text-align: center;
}

.nutrition img{
    display: block;
}

.nutrition button{
    margin-top: 5px;
    font-size: 14px;
    height: 62px;
    width: 100%;
}

.biomolecules {
    text-align: center;
}

.biomolecules img{
    display: block;
}

.biomolecules button{
    margin-top: 5px;
    font-size: 14px;
    height: 62px;
    width: 100%;
}

.themole {
    text-align: center;
}

.themole img{
    display: block;
}

.themole button{
    margin-top: 5px;
    font-size: 14px;
    height: 62px;
    width: 100%;
}

.chemicalreactions {
    text-align: center;
}

.chemicalreactions img{
    display: block;
}

.chemicalreactions button{
    margin-top: 5px;
    font-size: 14px;
    height: 62px;
    width: 100%;
}

.OS {
    text-align: center;
}

.OS img{
    display: block;
}

.OS button{
    margin-top: 5px;
    font-size: 14px;
    height: 62px;
    width: 100%;
}

.electrolysis {
    text-align: center;
}

.electrolysis img{
    display: block;
}

.electrolysis button{
    margin-top: 5px;
    font-size: 14px;
    height: 62px;
    width: 100%;
    
}

.periodictable {
    text-align: center;
}

.periodictable img{
    display: block;
}

.periodictable button{
   margin-top: 5px;
    font-size: 14px;
    height: 62px;
    width: 100%;
}

.bonding {
    text-align: center;
}

.bonding img{
    display: block;
}

.bonding button{
    margin-top: 5px;
    font-size: 14px;
    height: 62px;
    width: 100%;
}


.thermal {
    text-align: center;
}

.thermal img{
    display: block;
}

.thermal button{
    margin-top: 5px;
    font-size: 14px;
    height: 62px;
    width: 100%;
}

.inputoutput {
    text-align: center;
}

.inputoutput img{
    display: block;
}

.inputoutput button{
    margin-top: 5px;
    font-size: 14px;
    height: 62px;
    width: 100%;
}

.memory {
    text-align: center;
}

.memory img{
    display: block;
}

.memory button{
    margin-top: 5px;
    font-size: 14px;
    height: 62px;
    width: 100%;
    
}

.programminglanguages {
    text-align: center;
}

.programminglanguages img{
    display: block;
}

.programminglanguages button{
   margin-top: 5px;
    font-size: 14px;
    height: 62px;
    width: 100%;
}

.security {
    text-align: center;
}

.security img{
    display: block;
}

.security button{
   margin-top: 5px;
    font-size: 14px;
    height: 62px;
    width: 100%;
}


.metals {
    text-align: center;
}

.metals img{
    display: block;
}

.metals button{
    margin-top: 5px;
    font-size: 14px;
    height: 62px;
    width: 100%;
}


.acidsandbases {
    text-align: center;
}

.acidsandbases img{
    display: block;
}

.acidsandbases button{
    margin-top: 5px;
    font-size: 14px;
    height: 62px;
    width: 100%;
    
}


.motion {
    text-align: center;
}

.motion img{
    display: block;
}

.motion button{
    margin-top: 5px;
    font-size: 14px;
    height: 62px;
    width: 100%;
    
}

.rightmiddle{
    float: right;
    text-align: center;
}


.formula{
    float: right;
    margin-right: 26%;
    
}

p3{
    float: right
}

.rightmargin{
    float: right;
    margin-right: 4%
}



.migration {
    text-align: center;
}

.migration img{
    display: block;
}

.migration button{
    margin-top: 5px;
    font-size: 14px;
    height: 62px;
    width: 100%;
   
    
}

.migratio {
    text-align: center;
}

.migratio img{
    display: block;
}

.migratio button{
    margin-top: 5px;
    font-size: 14px;
    height: 62px;
    width: 100%;
   
    
}

.rightbig{
    float:right;
    margin-bottom: 2%;
}

.popdistribution {
    text-align: center;
}

.popdistribution img{
    display: block;
}

.popdistribution button{
    margin-top: 5px;
    font-size: 14px;
    height: 62px;
    width: 100%;
   
    
}





.reproduction{
    text-align: center;
}

.reproduction img{
    display: block;
}

.reproduction button{
    margin-top: 5px;
    font-size: 14px;
    height: 62px;
    width: 100%;
   
    
}

.response{
    text-align: center;
}

.response img{
    display: block;
}

.response button{
    margin-top: 5px;
    font-size: 14px;
    height: 62px;
    width: 100%;
   
    
}

.gasexchange{
    text-align: center;
}

.gasexchange img{
    display: block;
}

.gasexchange button{
    margin-top: 5px;
    font-size: 14px;
    height: 62px;
    width: 100%;
   
    
}


.transport{
    text-align: center;
}

.transport img{
    display: block;
}

.transport button{
    margin-top: 5px;
    font-size: 14px;
    height: 62px;
    width: 100%;
   
    
}


.atomic{
    text-align: center;
}

.atomic img{
    display: block;
}

.atomic button{
    margin-top: 5px;
    font-size: 14px;
    height: 62px;
    width: 100%;
   
    
}

.agriculture{
    text-align: center;
}

.agriculture img{
    display: block;
}

.agriculture button{
    margin-top: 5px;
    font-size: 14px;
    height: 62px;
    width: 100%;
   
    
}


.organic{
    text-align: center;
}

.organic img{
    display: block;
}

.organic button{
    margin-top: 5px;
    font-size: 14px;
    height: 62px;
    width: 100%;
   
    
}

th {
    text-align: center;
    
    padding: 2.5%;
    background-color: #C2F5EA;
    
    
}

td b {
    text-align: center;
}


.pastpapers{
    text-align: center;
    background-color: black;
    color: white;
    border-color: black;
    text-decoration: none;
    padding: 2%;
    font-size: 1.1vw;
}

.pastpapers a{
    color: inherit;
}

.pastpapers a:hover{
    color: inherit;
}
.pastpapers:hover{
    background-color: white;
    color: black;
}

.center{
    float: center;
}

.centertable{
    text-align: center;
}

.consequences{
    text-align: center;
    float:left;
}

.consequences img{
    display: block;
}


.consequences button{
    margin-top: 5px;
    font-size: 14px;
    height: 62px;
    width: 100%;
   
    
}


@media screen and (max-width: 600px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
      padding-top: 6%;
      padding-bottom: 6%;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
   
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
    .msflogo{
        display: none;
    }
}

.topnav .icon {
  display: none;
}

@media print{
    .topnav{
        display:none;
    }
    .content{
        margin-right: 10%;
        margin-left: 10%;
    }
    title{
        display: none;
    }
}

.fade-in {
  animation: fadeIn ease 5s;
  -webkit-animation: fadeIn ease 5s;
  -moz-animation: fadeIn ease 5s;
  -o-animation: fadeIn ease 5s;
  -ms-animation: fadeIn ease 5s;
}
@keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-moz-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-o-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-ms-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
}
    
    .iframe{
        width: 100%;
    }
    

    /*phone navigation bar*/
    
    .container{
        display: grid;
        flex-wrap: wrap;
        
    
    }
