* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto';
  background-color: #ffffff;
  overflow-x: hidden;
}

/* Esta es la barra de navegacion. */
.navbar {
  font-family: 'Lato';
  background-color: #f6f6f6;
  overflow: hidden;
  height: 63px;
  text-align: right;
  /* border-bottom: 1px solid rgba(128, 128, 128, 0.454); */
  /* box-shadow: 1px 0px 50px rgba(68, 68, 68, 0.488); */
}

.logodiv h1 {
  position: absolute;
  top: 32px;
  right: -130px;
  font-family: futura;
  font-size: 30px;
}

/* Este es el truquito del logo que se cambia con el hover */
.logodiv {
  width: 300px;
  height: 0px;
  position: relative;
  right: 0px;
  left: 60px;
  bottom: 5px;
  display: block;
  margin: 0px;
}

.logodiv .logostw {
  display: none;
  position: absolute;
}

.logodiv:hover .logostw {
  display: block;
  z-index: 99;
}
  
.logostw {
  width: 300px;
  padding: 0px;
  opacity: 0.7;
}

.LogoRed {
  width: 300px;
  opacity: 0.7;
}
  
/* Este es el menu hamburguesa. */
.navbar a {
  float: left;
  display: block;
  color: black;
  text-align: center;
  padding: 16px 16px;
  text-decoration: none;
  font-size: 15px;
  border-radius: 30px;
  
}

.hamburger:hover path{
  stroke: white;
}

/* Lista no ordenada de links */
.navbar ul {
  margin: 8px 100px 0 0;
  list-style: none;
}
  
/* Mouseover links */
.navbar a:hover {
  background-color: rgba(0, 0, 0, 0.714);
  border-radius: 0px;
  color: white;
  text-decoration: underline;
  text-underline-position: under;
  transition: 1s;
}
  
.navbar ul li a:hover {
  /* background-color: rgba(221, 221, 221, 0.146); */
  color: white;
  text-decoration: underline;
  /* border-radius: 50%; */
  box-shadow: 10 10 10 10 black;
  backface-visibility: hidden;
  transition: 1s;
  /* text-shadow: 1px 1px 2px white; */
  /* border-bottom: dashed 1px rgba(0, 0, 0, 0.515); */
}
  
.hamburger:hover {
  background-color: #ddd;
  transition: .2s; 
}
  
/* Lista de links */ 
.navbar ul li {
  display: inline-block;
}
  
.side-nav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #111;
  opacity: 0.9;
  overflow-x: hidden;
  padding-top: 60px;
  transition: 0.5s;
}
  
.side-nav a {
  padding: 10px 10px 10px 30px;
  text-decoration: none;
  font-size: 22px;
  color: #ccc;
  display: block;
  transition: 0.3s;
}
  
.side-nav a:hover {
  color: white;
  text-decoration: underline;
  /* background-color: white; */
  /* border-radius: 100px; */
  transition: .5s;
}

/* Este es el boton para cerrar la barra de navegacion. */
.side-nav .btn-close {
  position: absolute;
  top: 0px;
  right: 10px;
  font-size: 30px;
  margin-left: 0px;
}
  
/* Este es el boton de Spanish */
input[class=spanish] {
  position: absolute;
  top: 0px;
  right: 0px;
  height: 63px;
  background-color: #0082cb;
  border: none;
  color: rgba(255, 255, 255, 0.796);
  padding: 16px 20px;
  text-decoration: none;
  margin: 0px;
  cursor: pointer;
  transition: .5s;
  -webkit-appearance: none;
  -webkit-border-radius: 0;
}
  
input[class=spanish]:hover {
  background-color: #ee3b44;
  color: white;
  transition: .5s;
  text-shadow: 1px 1px 2px black;
  -webkit-appearance: none;
}

.mainimage {
  position: relative;
  width: 100vw;
  overflow: hidden;
}

.mainimage img {
  width: 100vw;
  height: 950px;
  object-fit: cover;
  opacity: 0.7;
  box-shadow: 1px 1px 50px rgba(0, 0, 0, 0.385);
  margin-bottom: 50px;
}

.maintext {
  position: absolute;
  top: 70%;
  left: 7%;
  transform: translate(0%, 0%);
  font-size: 40px;
  font-family: 'Roboto';
  font-weight: 300;
  color: white;
  text-shadow: 1px 1px 10px black;
}

.maintext span {
  font-style: italic;
  font-size: 18px;
  position: absolute;
  left: 20%;
  margin-top: 10px;
  opacity: 0.6;
}

.coursecontainer {
  /* position: relative; */
  /* top: 0px; */
  display: flex;
  flex-direction: row;
  width: 100vw;
  height: auto;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.coursebox {
  background-color: white;
  color: black;
  margin: 25px 15px;
  flex-basis: 550px;
  /* flex-grow: 0; */
  /* flex-shrink: 0; */
  /* width: 350px; */
  height: auto;
  border-radius: 20px;
  box-shadow: 1px 1px 50px rgba(0, 0, 0, 0.228);
  overflow: hidden;
  border: 3px solid white;
  transition: 1s;
}

.coursebox:hover {
  padding: 0px;
  border: 3px solid orange;
  transition: 1s;
}

.coursebox:hover img {
  transform: scale(1.05); 
  -webkit-transform: scale(1.05);
  opacity: 1;
  transition: .4s ease;
  -webkit-filter: grayscale(100%);
  filter: grayscale(0%);
}

.courseBottom h3 {
  margin: 20px;
  opacity: 0.7;
}

.coursebox:hover h3 {
  opacity: 1;
  color: red;
}

.coursebox p {
  margin-top: 10px;
}

.courseTop {
  width: 550px;
  height: 380px;
  margin: 0px;
  margin-bottom: 0px;
  padding-left: 0px;
}

.courseBottom h1 {
  font-size: 40px;
  margin-bottom: 5px;
}

.courseBottom hr {
  width: 60%;
  border: 0;
  height: 1px;
  background: #333;
  background-image: linear-gradient(to right, #ccc, #333, #ccc);
}

.courseBottom {
  margin: 25px 25px;
  /* border-top: 10px solid green; */
}

.courseTop img {
  object-fit: cover;
  max-width: 100%;
  max-height: 100%;
  position: relative;
  top: 0px;
  left: -3px;
  display: block;
  margin: auto;
  transition: .4s ease;
  opacity: .9;
  -webkit-filter: grayscale(80%);
  filter: grayscale(80%);
}

.courseFooter {
  /* background-color: #d8d8d8; */
}

.courseFooter h2 {
  font-size: 15px;
  position: relative;
  left: 50px;
  top: 25px;
  text-decoration: underline;
  font-style: italic;
}

.courseFooterButton {
  background-color: #0082cb;
  color: white;
  padding: 7px;
  position: relative;
  float: right;
  margin-right: 20px;
  margin-bottom: 10px;
  font-size: 13px;
  transition: 1s;
  border-radius: 5px;
}

.courseFooterButton:hover {
  background-color: #ee3b44;
  color: white;
  position: relative;
  float: right;
  margin-right: 20px;
  margin-bottom: 10px;
  font-size: 13px;
  transition: .5s;
  cursor: pointer;
  text-decoration: underline;
}

.courseFooterButtonEnroll {
  background-color: #0082cb;
  color: white;
  padding: 7px;
  position: relative;
  float: right;
  margin-right: 50px;
  margin-bottom: 10px;
  font-size: 13px;
  transition: 1s;
  border-radius: 5px;
}

.courseFooterButtonEnroll:hover {
  background-color: #ee3b44;
  color: white;
  position: relative;
  float: right;
  margin-right: 50px;
  margin-bottom: 10px;
  font-size: 13px;
  transition: .5s;
  cursor: pointer;
  text-decoration: underline;
}

.map {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-top: 0px;
  background-color: white;
  color: white;
  height: 500px;
  overflow: hidden;
  position: relative;
  top: 50px;
  }

.footer {
  height: auto;
  background-color: black;
  padding-top: 70px;
  margin-top: 50px;
  }

.footer h3 {
 font-size: 28px;
  }

.footer p {
  font-size: 24px;
    }

.footer1 {
  width: 800px;
  margin-left: auto;
  margin-right: auto;
  /* margin-top: 50px; */
  background-color: black;
  height: 300px;
  overflow: hidden;
  color: white;
  display: flex;
  justify-content: space-between;
  /* margin-top: 20px;
  position: relative; */
}

.footer1 p {
  padding: 3px 0px;
}

/* added a line */

#scroll {
  position: fixed;
  right: 20px;
  bottom: 20px;
  height: 40px;
  width: 40px;
  background-color: #6bb3dd;
  opacity: 0.9;
  border-radius: 60px;
  -webkit-border-radius: 60px;
  -moz-border-radius: 60px;
}

#scroll span {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -12px;
  border: 8px solid transparent;
  border-bottom-color: white;
}

#scroll:hover {
  background-color: #0082cb;
  opacity: 0.7;
  filter: "alpha(opacity=100)";
  -ms-filer: "alpha(opacity=100)";
}

@media(max-width:1159px) {

  .maintext {
    position: absolute;
    top: 70%;
    left: 7%;
    transform: translate(0%, 0%);
    font-size: 40px;
    font-family: 'Roboto';
    font-weight: 300;
    color: white;
    text-shadow: 1px 1px 10px black;
  }
  
.navbar-nav {
    display: none;
}

.logodiv {
  width: 240px;
  height: 0px;
  position: relative;
  right: 0px;
  left: 100px;
  bottom: 5px;
  display: block;
  margin: 0px;
}

.logodiv .logostw {
  display: none;
  position: absolute;
  z-index: 99;
}

.logodiv:hover .logostw {
  display: inline;
}

.logostw {
  width: 250px;
  position: absolute;
  right: 30px;
  top: 5px;
}

.LogoRed {
  width: 250px;
  position: absolute;
  right: 30px;
  top: 5px;
}

.logodiv h1 {
  position: absolute;
  top: 35px;
  right: -75px;
  font-family: futura;
  font-size: 24px;
}

}
    
@media(min-width: 1160px) {
  
.open-slide {
      display: none;
}
  
}
    
@media(max-width: 590px) {

.logodiv h1 {
  display: none;
}

.coursebox {
  background-color: white;
  color: black;
  margin: 20px 15px;
  flex-basis: 350px;
  /* flex-grow: 0; */
  /* flex-shrink: 0; */
  height: auto;
  border-radius: 20px;
  box-shadow: 1px 1px 50px rgba(0, 0, 0, 0.228);
  overflow: hidden;
}

.courseTop {
  width: 350px;
  height: 250px;
  margin: 0px;
  margin-bottom: 0px;
  padding-left: 0px;
}

.courseBottom h1 {
  margin-bottom: 5px;
}

.courseBottom hr {
  
}

.courseBottom {
  margin: 25px 25px;
  /* border-top: 10px solid green; */
}

.courseTop img {
  object-fit: cover;
  max-width: 100%;
  max-height: 100%;
  flex-shrink: 0;
}
  /* position: relative;
  top: -10px;
  left: -50px; */
  /* display:block;
  margin:auto; */
}

}

@media(max-width: 400px) {

  .logodiv h1 {
    display: none;
  }
  
  .coursebox {
    background-color: white;
    color: black;
    margin: 20px 15px;
    flex-basis: 200px;
    /* flex-grow: 0; */
    /* flex-shrink: 0; */
    height: auto;
    border-radius: 20px;
    box-shadow: 1px 1px 50px rgba(0, 0, 0, 0.228);
    overflow: hidden;
  }
  
  .courseTop {
    width: 200px;
    height: 250px;
    margin: 0px;
    margin-bottom: 0px;
    padding-left: 0px;
  }
  
  .courseBottom h1 {
    margin-bottom: 5px;
  }
  
  .courseBottom hr {
    
  }
  
  .courseBottom {
    margin: 25px 25px;
    /* border-top: 10px solid green; */
  }
  
  .courseTop img {
    object-fit: cover;
    max-width: 100%;
    max-height: 100%;
    flex-shrink: 0;
  }
    /* position: relative;
    top: -10px;
    left: -50px; */
    /* display:block;
    margin:auto; */
  }
  
  } 