@charset "utf-8";
/* CSS Document */

body {
  background: rgb(58, 58, 58);
  color: white;
  font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* HEADER */

header.frontpage {
  /* background-color: gray;
  background-image: url("images/Earth-title-you-are-here-sm.png"); */
  /* background-size: 80%; */
  background-position: center;
  height: 400px;
  padding: 20px;
  text-align: center;
}

header.subpage {
  background-color: #b3008c;
  background-image: none;
  background-size: 100%;
  background-position: center;
  height: 50px;
  padding: 20px;
  text-align: center;
}

header a {
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  margin-top: 40px;
}

header .mobile {
  display: none;
}

header .logo a {
  background-image: url("images/JOSE-1.png");
  background-size: 50px;
  background-repeat: no-repeat;
  display: inline-block;
  height: 80px;
  position: relative;
  text-indent: -9999999px;
  top: -30px;
  width: 50px;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

nav li {
  display: inline-block;
  margin-right: 20px;
}




/* CLOCK */
  
.clock {
  width: 150px;
  height: 150px;
  background-color: rgba(70, 70, 70, 0);
  border-radius: 50%;
  border: 5px solid black;
  position: relative;
  margin-top: 0%;
  left: 85%;
  bottom: 30%;
}

.clock .number {
  --rotation: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  text-align: center;
  transform: rotate(var(--rotation));
  font-size: 1.5rem;
}

.clock .number1 { --rotation: 36deg; }
.clock .number2 { --rotation: 72deg; }
.clock .number3 { --rotation: 108deg; }
.clock .number4 { --rotation: 144deg; }
.clock .number5 { --rotation: 180deg; }
.clock .number6 { --rotation: 216deg; }
.clock .number7 { --rotation: 252deg; }
.clock .number8 { --rotation: 288deg; }
.clock .number9 { --rotation: 324deg; }
.clock .number10 { --rotation: 360deg; }

.clock .hand {
  --rotation: 0;
  position: absolute;
  bottom: 50%;
  left: 50%;
  border: 1px solid white;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  transform-origin: bottom;
  z-index: 10;
  transform: translateX(-50%) rotate(calc(var(--rotation) * 1deg));
}

.clock::after {
  content: '';
  position: absolute;
  background-color: black;
  z-index: 11;
  width: 12px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.clock .hand.second {
  width: 2px;
  height: 45%;
  background-color: red;
}

.clock .hand.minute {
  width: 5px;
  height: 40%;
  background-color: black;
}

.clock .hand.hour {
  width: 7px;
  height: 25%;
  background-color: black;
} 

.tick {
  position: absolute;
  top: 0%;
  left: 10%;
  font-size: x-large;
}



/* SLIDE NAV */

  .overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
  }
  
  .overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
  }
  
  .overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block;
    transition: 0.3s;
  }
  
  .overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
  }
  
  .overlay .closebtn {
    position: absolute;
    top: 20px;
    left: 45px;
    font-size: 60px;
  }
  


/* LEFT HOVER BOX */

.leftbox {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 100;
  height: 20%;
  width: 20%;
  opacity: 0;
  transition: .5s ease;
  background-color: #008CBA;
}

.leftbox:hover {
  opacity: 0.75;
}

/* MIDDLE TEXT */

.uppertext {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20%;
  width: 90%;
  opacity: 0;
  transition: .5s ease;
}

.hint {
  opacity: 0.3;
}

.uppertext:hover {
  opacity: 1;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.lowertext {
  position: relative;
  bottom: 50%;
  opacity: 0;
}

.lowertext:hover {
  opacity: 0.5;
  background-color: #b3008c;
}

.lowertext.text:hover {
  opacity: 1;
}

.inside_title {
  color: rgb(21, 255, 0);
  opacity: 50%;
}


/* FEATURES */

.features {
  background: white;
  color: gray;
  padding: 20px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.features figure {
  margin: auto;
  padding: 5px;
  text-align: center;
  text-transform: uppercase;
  width: 200px;
}

.features figure img {
  border: 1px solid white;
  border-radius: 50%;
  box-shadow: gray 0 0 10px;
  width: 200px;
}

.location {
	border: 1px solid white;
	background-color: #FFF;
	box-shadow: gray 0 0 10px;
	font-family: Verdana, Geneva, sans-serif;
	color: darkgray;
	line-height: 200%;
}

.contact {
	border: 1px solid white;
	background-color: #FFF;
	box-shadow: gray 0 0 10px;
	font-family: Verdana, Geneva, sans-serif; 
	color: darkgray;
	line-height: 150%;
}

.text {
  margin-left: 5%;
  padding-bottom: 5%;
}

.video {
  background: white;
  color: gray;
  padding: 20px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.video figure {
  margin: auto;
  padding: 5px;
  text-align: center;
  text-transform: uppercase;
  width: 200px;
}

.video figure img {
  border: 1px solid white;
  border-radius: 50%;
  box-shadow: gray 0 0 10px;
  width: 200px;
}


article {
  margin: 10px;
}

/* ABOUT */

.about {
  padding-left: 5%;
  padding-right: 5%;
  color: lightgrey;
}


/* LINKS */

/* unvisited link */
a:link {
  color: darkgray;
  font-weight: bold;
  text-decoration: none;
}

/* visited link */
a:visited {
  color: darkgray;
}

/* mouse over link */
a:hover {
  color: blue;
}

/* selected link */
a:active {
  color: darkgray;
} 


li {
list-style-image: url(images/map-marker-bw.png);
padding: 2px 2px;
margin-left: 30px;
}


/* EARTH */

#info {
  position: absolute;
  top: 10px;
  width: 100%;
  text-align: left;
  z-index: 100;
  display: block;
}


/* FOOTER */

footer {
  background: black;
  color: gray;
  font-size: 12px;
  padding: 20px 20px;
  text-align: center;
}


/* RESPONSIVE RULES */

@media screen and (max-width: 715px) {
  header {
    height: 250px;
    background-position: 0 -30px;
  }
  header .mobile {
    display: inline-block;
  }
  header .desktop {
    display: none;
  }
}

@media screen and (max-width: 500px) {
  header {
    height: 200px;
    background-position: 0 -0px;
  }
}

