@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&display=swap');

:root {
  --padding-container: 100px 0;
  --color-title: #001A49;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'open sans';
}

.contenedor {
    padding: 60px 0;
    width: 90%;
    max-width: 1000px;
    margin: auto;
    overflow: hidden;
}

/* Header */

header {
    width: 100%;
    height: 300px;
     background-image: linear-gradient(to bottom right, rgba(255,255,255,1), rgba(40,139,168,1));
}

nav{
    text-align: right;
    padding: 30px 1px 0 0;
}

nav > a{
    color:#000;
    font-weight: 300;
    text-decoration: none;
    margin-right: 60px;
}

nav > a:hover{
    text-decoration: underline;
}
header .logo .imagen{
width:150px;
height:130px;
float: left;
margin-left: 150px;
 max-width: 300px;

   
}

header .textos-header{
    display: flex;
    height: 130px;
    width: 50%;
    max-width: 1000px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    float: center;
}

.textos-header h1{
    font-size: 50px;
    color:#fff;
}

.textos-header h2{
    font-size: 30px;
    font-weight: 300;
    color:#fff;
}


/* Questions */
main{
  font-family: 'Montserrat', sans-serif;
}

.apartado{
  text-align: justify;
  font-family: inherit;
  font-size: 20px;
  padding: 30px 400px;
}
.parrafot{
  text-align: justify;
  line-height: 30px;
}

.seccion{
  display: grid;
  gap: 2em;
  padding-top: 50px;
  padding-bottom: 5px;
  width: 80%;
  margin: 0 auto;
}

.espacios{
  padding: 0;
  transition: padding .3s;
  border: 1px solid #5454d4;
  border-radius: 6px;
}

.espacios--add{
  padding-bottom: 30px;
}

.titulo_contenido{
  padding: 0 30px 0;
  overflow: hidden;
}

.titulo_apartado{
  text-align: left;
  display: flex;
  font-size: 25px;
  padding: 30px 0 30px;
  cursor: pointer;
  color: var(--color-title);
  justify-content: space-between;
  font-family: inherit;
}

.flechatoner{
  border-radius: 50%;
  background-color: var(--color-title);
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: flex-end;
  margin-left: 10px;
  transition:  transform .3s;
}

.flechatoner--rotate{
  transform: rotate(180deg);
}

.parrafo_toner{
  text-align: left;
  height: 0;
  transition: height .3s;
  line-height: 30px;
  text-align: justify;
}

.img_toner{
  display: block;
}


.card__img{
  padding-top: 10px;
  width: 50%;
  height: 200px;
  object-fit: cover;
  
  margin: 0 0 0 180px;
}




.about{
  display: grid;
  grid-template-columns: 5fr 4fr;
  place-items: center;
  margin-bottom: 100px;
}

.about__course{
  width: 90%;
  margin-bottom: 100px;
}

.about__paragraph{
  margin: 20px 0;
  line-height: 1.5;
  font-weight: 300;
}

.about__picture{
  text-align: center;
}

.about__img{
  width: 95%;
}



/* footer */

footer .redes-sociales {
  background: #1e2b38;
  padding: 0.1px 0; 
}
  footer .redes-sociales .contenedor {
    display: flex;
    justify-content: center; 
  }
    footer .redes-sociales .contenedor a {
      color: #fff;
      text-align: center;
      width: 100px;
      font-size: 30px;
      padding: 0.1px 0;
      display: block;
      margin: 0 20px;
      border-radius: 3px; 
    }
         footer .redes-sociales .contenedor .facebook {
      background: #55acee; 
    }
    footer .redes-sociales .contenedor .whatsapp {
      background: #075e54; 
    }
    footer .redes-sociales .contenedor .linkedln {
      background: #0077b5; 
    }
    footer .redes-sociales .contenedor .instagram {
      background: #e1306c; 
    }
    footer .redes-sociales .contenedor .facebook:hover {
      background: #000; 
    }
    footer .redes-sociales .contenedor .whatsapp:hover {
      background: #000; 
    }
    footer .redes-sociales .contenedor .linkedln:hover {
      background: #000; 
    }
    footer .redes-sociales .contenedor .instagram:hover {
      background: #000; 
    }
  
    footer .final {
      background: #000;
      padding: 4px 0;
    }
      footer .final .contenedor {
        background: #000;
        padding: 4px 0;
      }
        footer .final .contenedor .copyright {
          text-align: center;
          padding: 1px 0;
          color: #fff;
        }



	@media screen and (max-width:1655px){
		.card__img{
			margin:0 0 0 80px;
		}
	}
        @media screen and (max-width:900px){
          header .logo .imagen{
           width:100px;
           height:90px;
           margin-top: 30PX;
           margin-left: 50px;
           max-width: 100px;
           }
          header .textos-header{
           margin: 0 auto;
           margin-top: 25px;
           text-align: left;
          }
                           
          .textos-header h1{
           font-size: 26px; 
          }
                           
           .textos-header h2{
            font-size: 20px;
            }
  
            .apartado{
              text-align: center;
              font-family: inherit;
              font-size: 16px;
              padding: 0px 20px;
            }
            .card__img{
              margin: 0 0 0 0;
              width: 100%;
             height: 350px;
            }

         }
                          
         @media screen and (max-width:652px){
          nav{
           text-align: center;
           padding: 30px 0 0 0;
          }
                           
          nav > a{
           margin-right: 5px;
          }
          
          footer .redes-sociales .contenedor {
           flex-wrap: wrap; 
          }
         
          footer .redes-sociales .contenedor > a {
           margin-right: 5px;
           margin: 1px 1px;
          }

          .card__img{
            margin: 0 0 0 0;
            width: 100%;
           height: 200px;
          }
         }
            
                           
         @media screen and (max-width:376px){
          header .logo .imagen{
           width:80px;
           height:70px;
           margin-left: 25px;
          }
          header .textos-header{
            margin-top: 1px;
          }
          .textos-header h1{
           font-size: 20px; 
          }
          .textos-header h2{
           font-size: 14px;
           text-align: center;
          }
         }