*{
  padding: 0;
  margin: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
}

html {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: larger;
    font-weight: 300;
}

body {
    background-color: rgb(244, 244, 244);
    /*background-image: url("logo_reformas_benomar.png");*/
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-blend-mode: normal;
    background-position: bottom right;
    background-size:25% auto;
    margin: 0;
    padding: 0;
}

#content {
    margin:auto;
    text-align: center;
    padding: 74px 32px 32px;
    line-height: 1.6em;
    margin-left:15%;
    margin-right:15%;
}

nav{
  position: fixed;
  z-index: 999;
  background: #333;
  height: 42px;
  width: 100%;
}

nav ul{
  float: right;
}

nav ul.home{
  float: left;
}

nav ul li{
  display: inline-block;
  margin: 0;
  line-height: 41px;
}

nav ul li a{
  color: #f2f2f2;
  text-align: center;
  padding: 10px 26px;
  text-decoration: none;
  font-size: 17px;
}

nav ul li a:hover {
    background-color: #901d28;
    color: #f2f2f2;
}

/* Add a color to the active/current link */
nav ul li a.active {
    font-weight: bold;
    text-decoration: underline;
}
/*
.checkbtn{
  font-size: 30px;
  color: #f2f2f2;
  float: right;
  padding: 2px 15px 2px 15px;
  cursor: pointer;
  display: none;
}

#check{
  display: none;
}*/

a {
    text-decoration: none;
    color: #1565c0;
}

a:hover {
    color: #217ee7;
}

.title {
	margin: 0 0 50px;
	color: #901d28;
	font-weight: bold;
	font-size: 60px;
}

.form-box{
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  margin: 50px auto 0;
  padding: 30px 0;
  color: #fff;
  box-shadow: 0 0 20px 2px rgba(0, 0, 0, 0.5);
  border-radius: 20px;
}

.form-box h3{
  text-align: center;
  margin-bottom: 40px;
}

.slides-btn{
	background: #fff;
  color: black;
  width: 40%;
  margin: 40px auto 20px;
  padding: 10px 0;
  font-size: 16px;
  border: none;
  border-radius: 12px;
  display: inline-block;
  outline: none;
  cursor: pointer;
  transition-duration: 0.3s;
}

.slides-btn:hover {
  background: #901d28;
  color: white;
}

.slide {
  display: none;
}

.show {
  display: block;
}

.language-btn{
  background: #fff;
  color: black;
  width: 40%;
  margin: 40px auto 20px;
  padding: 10px 0;
  font-size: 16px;
  border: none;
  border-radius: 12px;
  display: block;
  outline: none;
  cursor: pointer;
  transition-duration: 0.3s;
}

.language-btn:hover {
  background: #901d28;
  color: white;
}

.title-task{
  background: #fff;
  width: 70%;
  color: black;
  margin: 10px auto;
  padding: 10px 10px;
  font-size: 14px;
  border: none;
  outline: none;
  display: block;
}

.trabajo-box{
  border: 2px solid #fff;
  border-radius: 8px;
  margin: 40px 10px;
}

.add-task{
  background: #fff;
  color: black;
  font-size: 14px;
  border: none;
  border-radius: 20px;
  padding: 10px 10px;
  outline: none;
  cursor: pointer;
  transition-duration: 0.3s;
}

.add-task:hover {
  background: #901d28;
  color: white;
}

/* Loading Overlay Styles */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);  /* Semi-transparent black background */
    display: none; /* Initially hidden */
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
}

@media screen and (max-width: 800px) {

  .title {
		margin: 0 0 30px;
		color: #901d28;
		font-weight: bold;
		font-size: 40px;
	}

}

/* Responsive navigation menu - display links on top of each other instead of next to each other (for mobile devices) */
@media screen and (max-width: 600px) {

  html {
      font-size: small;
  }

  body {
      background-size: 50% auto;
  }

  #content {
    margin: 0 10px;
    padding: 74px 16px 32px;
  }
/*
  nav ul:not(.home){
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #333;
    top: 42px;
    left: -100%;
    text-align: center;
    transition: all .5s;
  }

  nav ul:not(.home) li{
    display: block;
    margin: 50px 0;
    line-height: 20px;
  }

  nav ul:not(.home) li a:hover {
      background: none;
      color: #1565c0;
  }

  #check:checked ~ ul{
    left:0;
  }

  .checkbtn{
    display: block;
  }*/

	.title {
		margin: 0 0 30px;
		color: #901d28;
		font-weight: bold;
		font-size: 30px;
	}

	.form-box{
  		width: 100%;
      margin: 0 auto 0;
	}

	.slides-box{
  		width: 95%;
		margin: 0;
	}

	.slides-btn{
  		font-size: 12px;
	}


}
