/*----Body properties----*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans&family=Roboto:ital,wght@0,300;0,500;1,300&display=swap');

body {
  background-color: #f5f5f5;
  font-family: "Open Sans", "Roboto";
}

/*----404 error page----*/

#error-page {
  height:auto;
  min-height:800px;                
  width: 100%;
  padding-bottom: 30px;
  padding-top: 20px;
  background-color: #ccc;
}

.black-header1-text {
  font-size: 2.5rem;
  padding-top: 50px;
}

.center-text{
  text-align: center;
}

/*----Navbar----*/

.navbar {
  background-color: #1f1f1f!important;
}

.navbar-brand {
  color: #ccc !important;
}

.navbar-light .navbar-toggler {
  color: #ccc;
  border-color: #ccc;
}

.dropdown-menu {
background-color: #ccc;
}

/*----Top Logo----*/

#top-logo {
  height: auto;
  width: 50px;
}

/*----Carousel----*/

.img-resize {
  width: 100%;
  height: 80%;
}

/*----Nav Links----*/

.nav-link {
  padding-right: 30px;
  font-size: medium;
  font-weight: 500;
  margin-right: 50px;
  color: #ccc !important;
 
}
.nav-link:hover {
  color: white !important;
  text-decoration: none;
}
.current {
	text-decoration: underline;
}

/*----Home jumbotron with a call to action and bg image----*/

.jumbotron {
  position:relative;
  overflow:hidden;
  text-align: center;
}

.jumbotron .mid-container {
  position:relative;
  z-index: 2;
}

.mid-jumbotron-background {
  object-fit:cover;
  font-family: 'object-fit: cover;';
  position:absolute;
  top:0;
  z-index:1;
  width:100%;
  height:100%;
  opacity:0.5;
}

img.blur {
  filter: blur(4px);
}

#btn-icon {
  margin-left: 5px;
}

#main-page-btn {
  padding: 10px;
}

/*----Home Cards----*/

#home-card-1 {
  padding-top: 100px;
  padding-bottom: 25px;
}

#home-card-2 {
  padding-top: 25px;
  padding-bottom: 100px;
}

.card-title-home {
  text-align: center;
}

/*----Footer----*/

.footer-style {
  padding:50px 0;
  background-color: #1f1f1f;
  color: #ccc;
  position: sticky;
  bottom: 0;
  width: 100%

}

.footer-style h3 {
  margin-top:0;
  margin-bottom:12px;
  font-weight:bold;
  font-size:16px;
}

.footer-style ul {
  padding:0;
  list-style:none;
  line-height:1.6;
  font-size:14px;
  margin-bottom:0;
}

.footer-style ul a {
  color:inherit;
  text-decoration:none;
  opacity:0.8;
}

.footer-style ul a:hover {
  opacity:1;
}

.footer-style .item.social {
  text-align:right;
}

@media (max-width:767px) {
  .footer-style .item {
    text-align:center;
    padding-bottom:20px;
  }
}

@media (max-width: 768px) {
  .footer-style .item.social {
    text-align:center;
  }
}

.footer-style .item.social > a {
  font-size:24px;
  width:40px;
  height:40px;
  line-height:40px;
  display:inline-block;
  text-align:center;
  border-radius:50%;
  border:1px solid #ccc;
  margin-left: 5px;
  margin-top:22px;
  color:inherit;
  opacity:0.75;
}

.footer-style .item.social > a:hover {
  opacity:0.9;
}

@media (max-width:991px) {
  .footer-style .item.social > a {
    margin-top:40px;
  }
}

@media (max-width:767px) {
  .footer-style .item.social > a {
    margin-top:10px;
  }
}

.footer-style .copyright {
  margin-top:14px;
  margin-bottom:0;
  font-size:13px;
  opacity:0.6;
}

/*----Footer btn----*/

.top-nav-button a {
  margin-top: 3rem;
  margin-bottom: 1rem;
  font-size: 20px;
  font-weight: 400;
  color: #ccc;
  border: 2px solid #ccc;
}

.btn i {
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.top-nav-button a:hover{
  color: #ccc;
  text-decoration: none;
}

.btn-align {
  text-align: center;
}

/*----Footer logo----*/

#granada_logo {
  height: 50%;
  width: 80%;
}

/*----Footer icon----*/

.footer-icon {
  margin-right: 10px;
}

/*----Cookies----*/

#learn-more {
  color: #ccc;
  padding-left: 5px;
  text-decoration: none !important;
}

/*----People Page beginning----*/

.card-leader {
  max-width: 25rem;
}

.card-staff {
  max-width: 25rem;
}

.card-distance {
  padding-top: 25px;
  padding-bottom: 25px;
}

.card-distance-3 {
  padding-top: 25px;
  padding-bottom: 50px;
  font-size: 24px;
}

.h3-cards-people {
  text-align: center;
  padding-top: 25px;
  padding-bottom: 15px;
  color: #1a1a1ae6;
  font-weight: 900;
}

.p-people-cards {
  font-size: 15px;
}

.p-people-cards-muted {
  font-size: 15px;
}

.people-title-component {
  font-size: 25px;
  font-weight: bolder;
}

/*----Gallery people----*/

#slider-container {
	background-color: #f5f5f5;
	font-family: sans-serif;
}

.slider {
	max-width: 700px;
	border: 5px solid  #D19d00;
	margin:80px auto;
	position: relative;
	overflow: hidden;
}

.slider .left-slide,.slider .right-slide {
  position: absolute;
  height: 40px;
  width: 40px;
  background-color: #444444;
  border-radius: 50%;
  color:#ffffff;
  font-size: 20px;
  top:50%;
  cursor: pointer;
  margin-top: -20px;
  text-align: center;
  line-height: 40px;
}

.slider .left-slide:hover,.slider .right-slide:hover {
 box-shadow: 0px 0px 10px #f5f5f5;
 background-color: #D19d00;
}

.slider .left-slide {
	left: 30px;
}

.slider .right-slide {
	right: 30px;
}

.slider .slider-items .item img {
	max-width: 100%;
	display: block;
	animation:zoom 1s ease;
}

@keyframes zoom{
	0%{transform: scale(2);opacity: 0}
	50%{transform: scale(2);}
	100%{transform: scale(1);opacity:1}
}

.slider .slider-items .item {
	display: none;
	position: relative;
}

.slider .slider-items .item.active {
	display: block;
}

/*-----People Page ends-----*/

/*----About Page beginning----*/

#about-text-1 {
  padding-top: 75px;
  padding-bottom: 25px;
}

#direction-icon {
  margin-right: 10px;
}

#group_image_about {
  padding-top: 50px;
}

#intro_about {
  text-align: center;
  padding-bottom: 25px;
}

/*----Form----*/

#form-title {
  text-align: center;
}

.centered-button {
  text-align: center;
}

.field {
  margin-bottom: 10px;
}

.field label {
  display: block;
  font-size: 12px;
  color: black;
}

.field input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
}

input[type="submit"] {
  background-color: black;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
}

#form-container {
  margin: auto;
  width: 50%;
  border: 3px solid #1a1a1ae6;
  padding-top: 25px;
  padding-bottom: 25px;
}

textarea {
  min-height: 10vh;
  max-height: 40vh;
  margin: auto;
  border-radius: 5px;
  width: 100%;
}

/*----Embedded map----*/

#embedded-map {
  padding-top: 75px;
  padding-bottom: 75px;
}

#map-title {
  padding-top: 25px;
  padding-bottom: 25px;
}

#map-spacing {
  margin-right: 15px;
}

/*----About Page ends----*/

/*----Publications Page beginning----*/

.publications-grid {
  background-color: #f5f5f5;
  padding-bottom: 25px;
  padding-top: 25px;
}

.publications-grid-last {
  background-color: #f5f5f5;
  padding-top: 25px;
  padding-bottom: 75px;
}

.publication-year {
  color: #1a1a1ae6;
  text-align: center;
  font-size: 24px;
  font-weight: 900;
}

#publications-container a {
  color: blue;
}

#container-pub-covers {
  padding: 50px;
}

#row-2-publications-cover {
  padding-top: 25px;
}

.elements-publications-spacing {
  padding: 2px;
}

.list-group-flush {
  text-align: center;
}

#publications-container ul {
  padding-left: 5px !important;
}

/*----Percentages Bar----*/

#bars-box {
  text-align: center;
  padding-top: 25px;
  padding-bottom: 100px;
}

.areatitle {
  text-align: center;
  font-size: 1.5em;
}

.areabar {
  margin: 10px;
  width: 100%;
  border-radius: 10px;
  background-color: #d19d00;
}

.areabar .progress {
  font-weight: 900;
  font-size: 0.7em;
  text-align: right;
  padding: 1em;
  width: 10%;
  color: #fff;
  border-radius: 10px;
  position: relative;
}

.areabar .progress .subjectName {

  position: absolute;
  left: 50%;
}

.areabar .blue {
  background-color: #4169E1;
}

.green {
  background-color: #9ACD32;
}

.azure {
  background-color: #ADD8E6;
}

/*----Projects Page beginning----*/

#projects-icon {
  margin-left: 15px;
}

#projects-icon2 {
  margin-left: 15px;
}

#quiz-title {
  text-align: center;
}

#quiz-p {
  text-align: center;
  padding-top: 20px;
}

#game-wrapper {
  padding-top: 25px;
  padding-bottom: 50px;
}

.game-container{
  max-width: 700px;
  min-height: 500px;
  background-color: white;
  margin: 30px auto;
  border-radius: 8px;
  padding: 30px;
  border: 5px solid #D19d00;
}

.ask-number h3 {
  color: navy;
  border-bottom: 1px solid #ccc;
  margin: 0;
  padding-bottom: 10px;
}

.question{
  font-size: 24px;
  color: black;
  padding:15px 0;
  margin-bottom: 20px;
}

.options div{
  background-color: #ccc;
  font-size: 16px;
  color: black;
  margin-bottom: 10px;
  border-radius: 5px;
  padding:15px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.options div.disabled{
  pointer-events: none;
}

.options div.correct{
  z-index: 1;
  color: white;
}

.options div.correct::before {
  content:'';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color:#98FB98;
  z-index: -1;

  animation: animateBackground 1s ease;
  animation-fill-mode: forwards;
}

@keyframes animateBackground{
  0%{
      transform: translateX(-100%);
  }
  100% {
      transform: translateX(0%);
  }
}

.options div.wrong{
  z-index: 1;
  color: white;
}

.options div.wrong::before {
  content:'';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color:red;
  z-index: -1;

  animation: animateBackground 1s ease;
  animation-fill-mode: forwards;
}

.button .btn{
  padding: 10px 30px;
  background-color: navy;
  font-size: 18px;
  color: white;
  border:none;
  cursor:pointer;
  border-radius: 5px;
  display: inline-block;
  margin:10px 0;
}

.answers-result div{
  height: 40px;
  width: 40px;
  background-color: #ccc;
  display: inline-block;
  border-radius: 50%;
  margin-right: auto;
}

.answers-result div.correct{
  background-color: #98FB98;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 40%;  
}

.answers-result div.wrong{
  background-color: #FF0000;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 40%;
}

.quiz-over{
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 10;
  display:none;
  align-items: center;
  justify-content: center;
}

.show{
  display:flex;
}

.quiz-over .box{
  background-color: navy;
  padding:30px;
  border-radius: 10px;
  text-align: center;
  flex-basis: 700px;
  max-width: 700px;
  color: white;
}

.quiz-over .box  h1{
  font-size: 36px;
  margin:0 0 20px
}

.quiz-over .box button{
  padding: 15px 50px;
  border:none;
  background-color: #f7b53c;
  border-radius: 5px;
  font-size: 16px;
  margin:15px 0 20px;
  color: white;
}

/*----Clock----*/

#bodyclock {
	font-size: 16px;
	padding-top: 20px;
  padding-bottom: 5px;
	background: #f5f5f5;
	color: black;
	display: flex;align-items: center;
	justify-content: space-around;
	height: 5vh;
  box-sizing: border-box;
  font-family: "roboto";
}

.digi_clock{
	font-family: "roboto";
    font-size: 150px;
}

.digi_clock span{
	display: inline-block;
}

#second{
	width: 250px;
}

#ampm{
	font-family: "roboto";
	font-size: 70%;
	font-weight: 800;
}

/*----Weather----*/

#weather-body {
  background: #ced1d6;
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-height: 35vh;
  margin-bottom: 100px;
  border: 5px solid #D19d00;
}

#search-weather {
  background-color: #fff;
  border: none;
  border-radius: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  font-family: inherit;
  font-size: 1rem;
  padding: 1rem;
  min-width: 300px;
}

#search-weather:focus {
  outline: none;
}

.weather {
  font-size: 2rem;
  text-align: center;
}

.weather h2 {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

.weather-text-style {
  text-align: center;
}

/*----Projects Page Ends----*/


