body{
  margin: 0%;
  background-color: #f2f8ff;
}

#cuprins{
  font-family: Georgia;
  margin: 8% 10% 3% 10%;
  text-align: justify;
  color: #165182;
}

h1{
  color: #22649b;
  font-family:  space;
  text-align: center;
  font-size: 3.5vw;
  letter-spacing: 2px;
}

header{
    background-color: #cee8ff;
    padding: 5%;
    padding-top: 60px;
    border-bottom: 1px solid #8bc4f4;
}

nav{
  font-family: blankspace;
}

h4{
  font-size: 1.5em;
  color: #22649b;
  letter-spacing: 2px;
  font-family: blankspace;
}

/************* BARA DE SEARCH *******************/

#bar{
  font-weight: bold;
  color: #22649b;
  background-color: #eaf2ff;
  width: 100%;
  height: 35px;
  position: fixed;
  z-index: 2;
  border: 1px solid #8bc4f4;
}

#space-icon{
  height: 100%;
}

#text-bar{
    font-family: space;
    font-size: 1.1em;
    color: #22649b;
    position: absolute;
    top:7px;
    left:40px;
}

#last-vis{
  font-size: 0.8em;
  font-family: Georgia;
  position: absolute;
  right: 220px;
  top: 9px;
  color: #22649b;
}

#search-bar{
  width: 150px;
  border-radius: 10px;
  border: 1.3px solid grey;
  position: absolute;
  top:3px;
  right: 50px;
  padding: 5px;
}

#search-icon{
  position: absolute;
  top:5px;
  right: 20px;
  width: 25px;
  cursor: pointer;
}

/************* JOC INTERACTIV *******************/

#cuprins-joc{
  font-family: Georgia;
  margin: 10% 10% 5% 10%;
  text-align: center;
  color: #165182;
}

#flex-container-planets{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  justify-content: space-around;
  margin-top: 5%;
  align-items: center;
}

#flex-container{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 5% 0% 5%;
  align-items: center;
}

#verifica-sectie{
  margin-bottom: 3%;
  text-align: center;
}

.planet{
  margin: 1%;
  border: 1px solid #22649b;
  width: 112px;
  height: 150px;
}

#flex-container>#planet>img{
  width: 120%;
}

.planet_wrong{
  margin: 1%;
  border: 3px solid #ed3d3d;
  width: 112px;
  height: 150px;
}

.planet_correct{
  border: 3px solid #279153;
}

#sun{
  border-radius: 50%;
  margin-right: 2%;
  margin-left: 0;
}

/*buton*/

#verificaPlaneteButon{
    width: 100px;
    font-size: 0.5em;
    padding: 10px;
}


/************* PLANETE EXTERIOARE ***************/

#img_pluto{
  width: 70%;
  margin-left: 15%;
}


/************* PLANETE INTERIOARE **************/

#img_transform{
  transform: rotate(10deg);
  width: 70%;
  margin-left: 15%;
  cursor: pointer;
}
#img_header{
  width: 5%;
  margin-left: 0%;
  animation: move 50s infinite;
}

@keyframes move{
  0% {margin-left: 0%; transform: rotate(0deg); }
  50% {margin-left: 90%; transform: rotate(180deg); }
  100% {margin-left: 0%; transform: rotate(360deg); }
}

/************* TABEL COMETE *****************/

table{
  border-collapse: collapse;
}
td,th{
  border: 1px solid #5d98cc;
  text-align: left;
  padding: 1%;
  padding-right: 3%;
  background-color: #eff7ff;
}
th{
  background-color: #e5f2ff
}

/************* BUTON ****************/

input[type=button]{

  font-family: blankspace;
  color: #164b77;
  border-color: #4088c4;
  background-color: #c4e2ff;
  cursor: pointer;
  border-radius: 10px;

}

input[type=button]:hover{
  color: white;
  background-color: #8ac3f2;
}

#randomPlanet{
  padding: 0.5%;
}

#corpuri{
  margin-left: 13%;
  margin-right: 13%;
  margin-bottom: 7%;

}

#planets{
  background-color: black;
  border-radius: 20px;
}

/************* QUIZ ****************/

#cuprins-quiz{
  font-family: Georgia;
  margin: 130px 10% 3% 10%;
  color: #165182;
  font-size: 0.8em;
}

/*wiki link */

#link{
  cursor: pointer;
}

#link:hover{
  color: #22649b;
  font-weight: bold;
}

/*buton*/

#verificaQuizButon{
    width: 150px;
    font-size: 1.2em;
    padding: 10px;
}

/*form*/

form{
  margin-top: 40px;
  font-size: 1.3em;
}

input[type="radio"]{
  visibility: hidden;
  z-index: -1;
}

.labelRadio{
  position: relative;
  display: inline-block;
  cursor: pointer;
  margin-bottom: 10px;
  padding: 5px 30px 0px 30px;
}

.cerc{
  position: absolute;
  border: 2px solid #6da6d6;
  width: 20px;
  height: 20px;
  display: block;
  border-radius: 18px;
  z-index: -1;
  left: 0;
  top: 3px;
}

input[type="radio"]:checked+.labelRadio{
  color:white;
  padding-left:10px;
  padding-right: 10px;
}

input[type="radio"]:checked+.labelRadio>.cerc{
  width: 96%;
  height: 76%;
  background-color: #8ac3f2; /*blue*/
}

.checkLabel{
  width: 96%;
  height: 76%;
  border-radius: 15px;
  color: white;
}

.correctLabel{
  border: 2px solid #279153; /*green*/
  background-color: #99d8b3 !important;
}

.wrongLabel{
  border: 2px solid #7a2525; /*red*/
  background-color: #ed3d3d !important;
}

/* Transition*/
.labelRadio,
.cerc {
  transition: .4s;
}


/************ MENIU DROPDOWN ************/

#meniuMic{
  display: none;
}

a{
  text-decoration: none;
  color: white;
}

.meniu_dropdown{
  display: block;
  list-style-type: none;
  font-size: 1vw;
  margin: auto;
  position: absolute;
  right: 15%;
}

.dropdown_content{ /*meniul din drop down */
  display: none;
  z-index: 1;
  position: relative;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);

  list-style-type: none;
  color: white;
  background-color: #bbddf9;
  text-align: center;
  padding: 0%;
  border: 1px solid #85bcea;
}


ul>li:hover >ul{
  display: block;
}

nav>ul>li{
  vertical-align: top;
  display: inline-block;
}

nav>ul>li>ul>li{ /* fiecare item din meniul drop down */
  padding: 2%;
  border: 1px solid #a8d1f4;
}

nav>ul>li>ul>li:hover{
  background-color: #85c1f2;
}

ul>li:nth-child(even){
  background-color:#9ecef7;
}

ul>li:nth-child(odd){
  background-color:#afdaff;
}

.item{
  color: white;
  border: 1px solid #91c1ea;
  padding: 20px;
  font-size: 1.1vw;
}

.item:hover{
  background-color: #85bcea;
}


/********** GALERIE ************/

#galerie{
  margin-left: 6%;
  margin-bottom: 5%;
}

figure{
  border: 1px solid #97c5ed;
  width: 100%;
  background-color: #dbeeff;
}

.poza_dreapta{
    width: 20%;
    padding: 1%;
    float: right;
    margin: 1%;
    border-radius: 10px;
}

.img_dr{
  width: 100%;
  border: 1px solid #a2d1f9;
  border-radius: 10px;
}

figcaption{
  color: #22649b;
  padding: 5%;
  text-align: center;
  font-family: louisCafe;
}

.img{
  width: 80%;
  margin: 5% 10% 3% 10%;
  border: 1px solid #a2d1f9;
  border-radius: 7px;
}

.figBox{
  width: 20%;
  display: inline-block;
  padding: 1%;
  vertical-align: top;
}

/*************** MODAL GALERIE *************/

.modal{
  background-color: rgba(0,0,0,0.5);
  z-index: 3;
  left: 0;
  top: 0;
  position: fixed;
  width: 100%;
  height: 100%;
  padding-top: 2%;
  overflow: auto;
}

#modal-galerie{
  display: none;
}

#modal-content{
  display: block;
  border:1px solid #97c5ed;
  padding: 1%;
  padding-top: 3%;
  width: 50%;
  background-color: #dbeeff;
  margin: auto;
  border-radius: 10px;
}

#poza_pluto{
  width: 50%;
  margin-left: 25%;

}
#poza{
  width: 94%;
  margin: 3%;
  border-radius: 7px;
  border: 1px solid #a2d1f9;
}

.closeButton{
  background-color: #a9d0f2;
  padding: 0.6%;
  color: #12538c;
  font-family: louisCafe;
  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
  float: right;
  margin-right: 25%;
  border: 1px solid #5d98cc;
}

.closeButton:hover{

 background-color: #86c4f9;
  color: #12538c;
  font-weight: bold;
}


/************* ABONARE **************/

#modal-content-abonare{
  display: block;
  border:3px solid #5d98cc;
  padding: 2%;
  padding-top: 0%;
  background-color: #e5f2ff;
  margin: auto;
  position: relative;
  text-align: center;
  width: 400px;
  height: 250px;
  color: #12548c;
  font-size: 0.8em;
  border-radius: 10px;
}

#closeButtonModalAbonare{
  margin-right: 0%;
  margin-top: 0%;
}

#email{
  border-radius: 10px;
  border: 1px solid grey;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
  margin-left: 15%;
  padding: 0.8%;
}

input[type="checkbox"]{
  cursor: pointer;
}

#policyCheck{
    margin-left: 15%;
}

#policyLink{
  font-weight: bold;
  color: #134d7c;
}

#policyLink:hover{
  text-decoration: underline;
}

#labelCheck{
  cursor: pointer;
  font-size: 0.8em;
}

#letter{
  width: 90px;
  position: absolute;
  left: 10%;
  top: 30%;
}

h5{
  font-size: 0.9em;
  font-weight: lighter;
  padding-left: 15%;
}

#modal-abonare{
  display: none;
  padding-top: 13%;
}

#subButon{
  width: 47%;
  padding: 2%;
  font-size: 0.8em;
  display: block;
  margin-left: 34%;
  margin-top: 1.5%;
}

#subText{
  font-size: 0.7em;
  color: green;
}

.errorText{
  color: #d60c0c;
  font-size: 0.8em;
  margin-left: 15%;
}


/***********  FONTS **********/

@font-face{
  font-family:space;
  src: url("fonts/A-Space Light Demo.otf");
}

@font-face{
  font-family:blankspace;
  src: url("fonts/KGBlankSpaceSolid.ttf");
}

@font-face{
  font-family:louisCafe;
  src: url("fonts/Louis George Cafe.ttf");
}


/*********** MEDIA QUERY ***************/

@media screen and (max-width: 1250px) {

  .meniu_dropdown{
    right: 10%;
  }

  #modal-content{
    width: 60%;
  }

  .modal{
      padding-top: 4%;
  }

  .closeButton{
    margin-right: 20%;
  }

}

@media screen and (max-width: 850px) {

  .meniu_dropdown{
    right: 1%;
  }

  #galerie{
    margin-left: 2%;
    margin-bottom: 5%;
  }

  #modal-content{
    width: 80%;
  }

  .modal{
      padding-top: 6%;
  }

  .closeButton{
    margin-right: 10%;
  }

  h4{
      font-size: 1.3em;
  }

  form{
    margin-top: 40px;
    font-size: 1em;
  }

}

@media screen and (max-width: 680px) {

  #last-vis{
    visibility: hidden;
  }

  h4{
    font-size: 1em;
  }

  .poza_dreapta{
      width: 93%;
      float:none;
      padding: 3%;
  }

  .figBox{
    width: 40%;
  }

  #modal-content{
    width: 95%;
  }

  .modal{
      padding-top: 15%;
  }

  .closeButton{
    margin-right: 5%;
  }

  #meniuMic{
    display: inline-block;
    width: 5%;
    padding: 1%;
    background-color:#9ecef7;
    color: white;
    border: 1px solid #91c1ea;
    cursor: pointer;
    vertical-align:top;
  }

  .meniu_dropdown{
    display: none;
    left: 0;
    font-size: 0.8em;
    margin: 0;
    background-color: rgba(0,0,0,0);
    padding: 0;
    text-align: left;
    width: 36%;
  }

  .item{
    border: 2px solid #91c1ea;
    font-size: 1.2em;
    padding: 10px;
    width: auto;
  }

  #cuprins-quiz{
    margin-top: 50px;
  }

}
