@import url('https://fonts.googleapis.com/css?family:200,300,400,500,600,700,800,900&display=swap');
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'poppins', sans-serif;
}
section
{
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 100px;
    font-display: auto;
    justify-content: space-between;
    background-image: url(fondo3.png);
    background-repeat: no-repeat;
    background-size: cover;
}
section .circle
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #19234F;
    clip-path: circle(70% at right -20%);
}
header
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
a img:hover
{
    transform: scale(1.5);
    transition: 2s;
}
header .logo
{
   position: relative;
   display: 200px;
   transform: scale(1);
}
header .navigation
{
    position: relative;
    display: flex;
}
header .navigation li
{
    list-style: none;
}
header .navigation li a
{
    display: inline-block;
    color: #fff;
    font-weight: 150%;
    text-decoration: none;
    margin-left: 40px;
    font-family: "fantasy";
    font-weight: bolder;
}
.content
{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.content .textbox
{
    width: 100%;
    position: relative;
    max-width: 400px;
    margin-right: 20px;
}
.content .textbox h2
{
    color: #fff;
    font-size: 3em;
    margin-bottom: 10px;
    line-height: 1.4em;
    font-weight: 700;
    font-family: "Homer Simpson UI";
}
.content .textbox p
{
    color: #fff;
    font: oblique bold 120% cursive;
    margin-bottom: 8px;
    margin-top: 8px;
}
ul.lista
{
    list-style-type: circle;
    color: #fff;
    font: oblique bold 120% "cursive";
}
.content .textbox a
{
    display: inline-block;
    margin-top: 20px;
    padding: 8px 20px;
    background: #140304;
    color: #fff;
    border-radius: 40px;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
}
.textbox a:hover
    {
        background: #e51e2a;
        transform: scale(1.5);
        transition: 1.5s;
    }
.navigation li :hover
{
    transform: scale(1.5);
    transition: 0.5s;
    color: rgb(39, 37, 37);
    transition: 1s;
    cursor: pointer;
}
.sci
{
    position: absolute;
    bottom: 40px;
    left: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.sci li
{
    list-style: none;
}
.sci li a
{
    display: inline-block;
    margin-left: 15px;
    background: #222;
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: 0.5s ease-in-out;
}
.sci li a:hover
{
    background: #e51e2a;
    transform: translateY(-10px);
}
.sci li a img
{
    filter: invert(1);
    transform: scale(0.5);
}
/*modal*/
.modalDialog {
  display: flex ;
  align-items: center;
  justify-content: center;
  position: fixed;
  font-family: Arial, Helvetica, sans-serif;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.8);
  z-index: 99999;
  opacity:0;
  -webkit-transition: opacity 400ms ease-in;
  -moz-transition: opacity 400ms ease-in;
  transition: opacity 400ms ease-in;
  pointer-events: none;
}
.modalDialog:target {
  opacity:1;
  pointer-events: auto;
}
.modalDialog > div {
  max-width: 90%;
  position: relative;
  overflow-y: scroll;
  max-height: 90vh;
  margin: 0;
  padding: 5px 20px 13px 20px;
  border-radius: 10px;
  background: #fff;
  background: -moz-linear-gradient(#fff, #999);
  background: -webkit-linear-gradient(#19234F, #19234F);
  background: -o-linear-gradient(#fff, #999);
  -webkit-transition: opacity 400ms ease-in;
-moz-transition: opacity 400ms ease-in;
transition: opacity 400ms ease-in;
}
.modalDialog h3{
  margin:10px;
  color: #e5c11e;
}
.close {
  background: #606061;
  color: #FFFFFF;
  line-height: 25px;
  position: absolute;
  right: -12px;
  text-align: center;
  top: -10px;
  width: 24px;
  text-decoration: none;
  font-weight: bold;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  -moz-box-shadow: 1px 1px 3px #000;
  -webkit-box-shadow: 1px 1px 3px #000;
  box-shadow: 1px 1px 3px #000;
}
.close:hover { background: #00d9ff; }
/*********** slider**********/
div.container-all
{
    position: relative;
    
}
img
{
    max-width: 100%;
}
.container-all
{
    padding-top: 4em;
    position: relative;
    max-width: 1000px;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
}
.slide
{
    display: flex;
    transform: translate3d(0.0.0);
    transition: all 600ms;
    animation-name: autoplay;
    animation-duration: 15s;
    animation-direction: alternate;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
}
.item-slide
{
    position: relative;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    flex-grow: 0;
    max-width: 100%;
}
.pagination
{
    position: absolute;
    bottom: 30px;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.pagination-item
{
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid white;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.5);
    margin: 0 10px;
    text-align: center;
    transition: all 300ms;
}
.pagination-item:hover
{
    transform: scale(2);
}
.pagination-item img
{
    display: inline-block;
    max-width: none;
    height: 100%;
    transform: scale(1);
    opacity: 0;
    transition: all 300ms;
}
.pagination-item:hover img
{
    opacity: 1;
    transform: scale(1);
}
input[id="1"]:checked ~ .slide
{
    animation: none;
    transform: translate3d(0,0,0);
}
input[id="1"]:checked ~ .pagination .pagination-item[for="1"]
{
    background: #fff;
}
input[id="2"]:checked ~ .slide
{
    animation: none;
    transform: translate3d(calc(-100% * 1),0,0);
}
input[id="2"]:checked ~ .pagination .pagination-item[for="2"]
{
    background: #fff;
}
input[id="3"]:checked ~ .slide
{
    animation: none;
    transform: translate3d(calc(-100% * 2),0,0);
}
input[id="3"]:checked ~ .pagination .pagination-item[for="3"]
{
    background: #fff;
}
input[id="4"]:checked ~ .slide
{
    animation: none;
    transform: translate3d(calc(-100% * 3),0,0);
}
input[id="4"]:checked ~ .pagination .pagination-item[for="4"]
{
    background: #fff;
}
input[id="5"]:checked ~ .slide
{
    animation: none;
    transform: translate3d(calc(-100% * 4),0,0);
}
input[id="5"]:checked ~ .pagination .pagination-item[for="5"]
{
    background: #fff;
}
input[id="6"]:checked ~ .slide
{
    animation: none;
    transform: translate3d(calc(-100% * 5),0,0);
}
input[id="6"]:checked ~ .pagination .pagination-item[for="6"]
{
    background: #fff;
}
@keyframes autoplay
{
     16%{
        transform: translate3d(calc(-100% * 0),0,0);
    }
     32%{
        transform: translate3d(calc(-100% * 1),0,0);
    }
     48%{
        transform: translate3d(calc(-100% * 2),0,0);
    }
     64%{
        transform: translate3d(calc(-100% * 3),0,0);
    }
    80%{
        transform: translate3d(calc(-100% * 4),0,0);
    }
    100%{
        transform: translate3d(calc(-100% * 5),0,0);
    }
}
/************** reponce *************/
@media (max-width: 991px)
{
    header
    {
        padding: 40px;
    }
    section
    {
        padding:150px 40px;
    }
    .sci
    {
        left: 40px;
    }
    .content
    {
        flex-direction: column;
    }
    .content .textbox,
    .content .imgBox
    {
        max-width: 100%;
    }
    .swiper-slide
    {
        height: 300px;
    }
    header .navigation
    {
        display: none;
    }
    header .navigation.active
    {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #19234F;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 10;
    }
    header .navigation li a 
    {

      margin: 10px 0;
      font-size: 1.5em;
      font-weight: 300; 
    }
    .toggle
    {
        position: relative;
        width: 30px;
        height: 30px;
        background: url(menu.png);
        background-size: 30px;
        background-repeat: no-repeat;
        background-position: center;
        cursor: pointer;
        z-index: 10000;
    }
    .toggle.active
    {
        background: url(close.png);
        background-size: 25px;
        background-repeat: no-repeat; 
    }
}