:root {
    --cl-1: #FFF;
    --cl-3: #7294DC;
    --cl-4: #780000; 
    --cl-5: #002e47;
    --cl-6: #000000;
}

.container1{
    padding: 10px 10%;
    padding-top: 1rem;
    z-index: 2;
    
}
html{
    scroll-behavior: smooth;
}

a{
    text-decoration: none;
}
.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    z-index: 2;
}
.top-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--cl-3);
    clip-path: circle(500px at top right);
    z-index: 1;
}
.circulo {
    flex-wrap: wrap;
    position: absolute;
    bottom: 0;  
    left: 0; 
    width: 100%;
    height: 100%;
    background: var(--cl-5);
    clip-path: circle(500px at bottom left);
    z-index: 1;
    min-width: 300px;
}
.top-left {
    flex-wrap: wrap;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cl-5);
    clip-path: circle(500px at top left);
    z-index: 1;
    min-width: 300px;
}
section{
    flex-wrap: wrap;
    position: relative;
    background-size: 100%;
    width: 100%;
    min-height: 100vh;
    align-items: center;
}

/* Encabezado*/
header .logo{
    position: absolute;
    left: 0 ;
    max-width: 180px;
}
header {
    position: relative;
    z-index: 2;
	width:100%;  
	overflow:hidden; 
}

.wrapper {
	width:90%; 
	max-width:1000px; 
	margin:auto; 
	overflow:hidden; 
}

header h2{
    top: 2.9rem;
    position: absolute;
    left: 10 ;
    max-width: 400px;
    color: #FFF;
    font-size: 2rem;
    z-index: 2;
    
}
header nav {
	float:right;
    right: 0;
	line-height:150px;
}

header nav a {
	display:inline-block;
    color: var(--cl-1);
	text-decoration:none;
	padding:10px 25px;
	line-height:normal;
	font-size:25px;
	font-weight: 90;
	-webkit-transition:all 500ms ease;
	-o-transition:all 500ms ease;
	transition:all 500ms ease;
}

header nav a:hover {
    color: var(--cl-4);
}
 
/* Sobre mi*/
.about-text1{
    padding-top: 10rem;
    width: 50%;
    justify-content: baseline;
    z-index: 2;
}

.about-text{
    padding-top: 2rem;
    width: 50%;
    justify-content: baseline;
    z-index: 2;
}
.about-text1 p,
.about-text p{
    margin: 0 0 10px;
    font-size: 1.1rem; 
    font-weight: 900;
}
.about-text1 .btn,
.about-text .btn{
    padding-top: 1rem;
    display: inline-block;
    padding: 10px;
    background-color:#780000;
    color: var(--cl-1);
    border-radius: 50px;
    border: none;
    text-decoration: none;
    font-size: 2rem;
    transition: 0.7s;
}

.about-text1 .btn:hover,
.about-text .btn:hover{
   
    background-color: #7294DC;
    color: var(--cl-5);
}

.about-img img{
    padding-top: 2rem;
    width: 480px;
}

.content{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    padding-top: 5rem;
}
.content .textBox{
    position: relative;
    max-width: 700px;
    text-align: center;
}

.content .textBox h2{
    font-size: 2.3rem;
    color: #FFF;
    z-index: 2;
}
.content .textBox p{
    padding:20px 87px;
}

.content .textBox a{
    display: inline-block;
    margin-top: 20px;
    padding: 10px 90px;
    background-color: var(--cl-4);
    color: var(--cl-1);
    border-radius: 40px;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
    font-size: 1.5rem;
    margin-right: 20px;
}
.content .textBox a:last-child {
    margin-right: 0;
    margin-left: 20px; 
}

.content .textBox a:hover{
    display: inline-block;
    margin-top: 20px;
    padding: 10px 90px;
    background-color: var(--cl-3);
    color: var(--cl-5);
    border-radius: 40px;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
    font-size: 1.5rem;
    transform: var(--transition-);
    transition: 0.7s;
}


/* servicios */
.slider{
    padding-bottom: 20rem;
    width: 100%;
    height: 450px;
    overflow: hidden;
  }
  .slider ul{
      display: flex;
      animation: cambio 5s infinite alternate linear;
      width: 400%;
  }
  .slider li{
      width: 100%;
      list-style: none;
  }
  .slider img{
      width: 80%;   
      height:  80%;
  }
.content .textBox h2{
    z-index: 2;
    color: var(---cl--5);
    font-size: 2.5rem;
    line-height: 1em;
    font-weight: 500;
}
.section-title h2{
    z-index: 2;
    padding-top: 7rem;
    font-size: 3rem;
    line-height: 2em;
    font-weight: 900;
    color: var(--cl-1);
    z-index: 2;
    
}

.about-img{
    width: 50%;
    padding: 0 15px;
    z-index: 2;
}
.about-img .img-box {
    width: 600px;
    display:flex;
    justify-content: flex-end;
}

.copyright{
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: var(--cl-4);
    font-weight: 300;
    margin-top: 20px;
    color: var(--cl-1);
}
/* Registro*/
* {
    box-sizing: border-box;
}

body {
    background: #181818;
    color: #fff;
    line-height: 1.6;
    font-family: 'Quicksand', sans-serif;
}
.content1 {
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5em;
}

.container {
    max-width: 1170px;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5em;
}

ul {
    list-style: none;
    padding: 0;
}

.logo1 {
    text-align: center;
    font-size: 3em;
}

.logo1 span {
    color: #B70E21;
}

.contact-wrapper {
    box-shadow: 0 0 20px 0 rgba(255, 255, 255, .3);
}

.contact-wrapper > * {
    padding: 1em;
}

.contact-form {
    background: #222222;
}

.contact-form form {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.contact-form form label {
    display: block;
}

.contact-form form p {
    margin: 0;
    padding: 1em;
}

.contact-form form .block {
    grid-column: 1 / 3;
}

.contact-form form button,
.contact-form form input,
.contact-form form textarea {
    width: 100%;
    padding: .7em;
    border: none;
    background: none;
    outline: 0;
    color: #fff;
    border-bottom: 1px solid #780000;
}

.contact-form form button {
    background: var(--cl-4);
    border: 0;
    text-transform: uppercase;
    padding: 1em;
}

.contact-form form button:hover,
.contact-form form button:focus {
    background: var(--cl-4);
    color: #fff;
    transition: background-color 1s ease-out;
    outline: 0;
}

/* CONTACT INFO */
.contact-info {
    background: var(--cl-4);
}

.contact-info h4, .contact-info ul, .contact-info p {
    text-align: center;
    margin: 0 0 1rem 0;
}

/* Redes sociales*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container{
    padding: 5rem;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2;
}

.redes a, .btn-mas label{
    display: block;
    text-decoration: none;
    background: var(--cl-5);
    color: var(--cl-1);
    width: 55px;
    height: 55px;
    line-height: 55px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0px 1px 10px rgba(0,0,0,0.4);
    transition: all 500ms ease;
}
.redes a:hover{
    background: var(--cl-3);
    color: var(--cl-5);
}
.redes a{
    margin-bottom: -15px;
    opacity: 0;
    visibility: hidden;
}
#btn-mas:checked~ .redes a{
    margin-bottom: 10px;
    opacity: 1;
    visibility: visible;
}
.btn-mas label{
    cursor: pointer;
    background: var(--cl-5);
    font-size: 23px;
}
#btn-mas:checked ~ .btn-mas label{
    transform: rotate(135deg);
    font-size: 25px;
}

/*Media*/

@media(max-width: 940px) {
    .btn-mas{
        display: none;
    }
}

@media(max-width: 450px) {
    .btn-mas{
        display: none;
    }
    header{
        padding: 5px;
    }
    header .logo{
        max-width: 90px;
    }
    header ul{
        display: none;
    }
    .toggle{
        position: relative;
        height: 60px;
        cursor: pointer;
        z-index: 1;
    } 
.top-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: var(--cl-3);
    clip-path: circle(250px at top right);
    z-index: 1;
}
.circulo {
    flex-wrap: wrap;
    position: absolute;
    bottom: 0;  
    left: 0; 
    width: 100%;
    height: 100%;
    background: var(--cl-5);
    clip-path: circle(220px at bottom left);
    z-index: 1;
    min-width: 300px;
}
.top-left {
    flex-wrap: wrap;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cl-5);
    clip-path: circle(220px at top left);
    z-index: 1;
    min-width: 300px;
}
.content .textBox a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 90px;
    background-color: var(--cl-4);
    color: var(--cl-1);
    border-radius: 40px;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
    font-size: 1.5rem;
    margin-right: 20px;
    margin-left: 39px;
}
.about-text1 p, .about-text p {
    margin: 0 0 1px;
    font-size: 1rem;
    font-weight: 900;
}
.about-img img {
    padding-top: 17rem;
    width: 130px;
}
.about-text1 .btn,
.about-text .btn{
    padding-top: 1rem;
    padding: 10px 100px;
    background-color:#780000;
    color: var(--cl-1);
    border-radius: 100px;
    border: none;
    text-decoration: none;
    font-size: 1.5rem;
    transition: 0.7s;
}
.section-title h2 {
    padding-top: 7rem;
    font-size: 2rem;
    line-height: 2em;
    font-weight: 900;
    color: var(--cl-1);
    z-index: 2;
}
}
@media(max-width: 450px){
    .team-item{
        width: 100%;
    }
    .about-img video{
        width: 100%;
    }
}

#msg{
    color: var(---cl--5);
    margin-top: 20px;
    display: block;
}
  @keyframes cambio{
      0%{margin-left: 0;}
      20%{margin-left: 0;}
      
      25%{margin-left: -100%;}
      45%{margin-left: -100%;}
      
      50%{margin-left: -200%;}
      70%{margin-left: -200%;}
      
      75%{margin-left: -300%;}
      100%{margin-left: -300%;}
  }
  @media only screen and (min-width:400px) and (max-width:400px){
  .slider, .slider ul, .slider img{
      height: 100vh;
  }
  }
  @media(min-width: 450px) {
    .contact-wrapper {
        display: grid;
        grid-template-columns: 2fr 1fr;
    }
    .contact-wrapper > * {
        padding: 2em;
    }
    .contact-info h4,
    .contact-info ul,
    .contact-info p {
        text-align: left;
    }
}
@media (max-width: 450px) {
    .container{
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }
    .redes a, .btn-mas label{
        width: 45px;
        height: 45px;
        line-height: 45px;
        font-size: 18px;
    }
    .btn-mas label{
        font-size: 20px;
    }
}

#btn-mas{
    display: none;
}

.container{
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2;
}

.redes a, .btn-mas label{
    display: block;
    text-decoration: none;
    background: var(--cl-5);
    color: var(--cl-1);
    width: 55px;
    height: 55px;
    line-height: 55px;
    text-align: center;
    border-radius: 50%;
    box-shadow: 0px 1px 10px rgba(0,0,0,0.4);
    transition: all 500ms ease;
}

.redes a:hover{
    background: var(--cl-3);
    color: var(--cl-5);
}

.redes a{
    margin-bottom: -15px;
    opacity: 0;
    visibility: hidden;
}

#btn-mas:checked~ .redes a{
    margin-bottom: 10px;
    opacity: 1;
    visibility: visible;
}

.btn-mas label{
    cursor: pointer;
    background: var(--cl-5);
    font-size: 23px;
}

#btn-mas:checked ~ .btn-mas label{
    transform: rotate(135deg);
    font-size: 25px;
}