@import url('https://fonts.googleapis.com/css?family=Poppins&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
}

.container-all{
    width: 100%;
    height: 100%;
    position: fixed;
    padding: 40px;
    visibility: hidden;
    opacity: 0;
    transition: all 600ms;
}


.container-all:target{
    background: rgba(0,0,0,0.8);
    visibility: visible;
    opacity: 1;
}

.container-all:target .popup{
    top: 50%;
    left: 50%;
    transform: rotate(0deg) translate(-50%, -50%);
    visibility: visible;
}


.popup{
    width: 100%;
    max-width: 800px;
    height: 500px;
    position: relative;
    display: flex;
    background: white;
    visibility: hidden;
    top: -80%;
    left: -80%;
    transform: rotate(90deg) translate(-150%, 230%);
    transition: all 600ms;
}


.img{
	width: 40%;
	background-image: url(../../image/LogoVent.jpg);
	background-size: cover;
	background-position: center;
}

.img1{
	width: 40%;
	background-image: url(../../image/Fon01.jpg);
	background-size: cover;
	background-position: center;
}

.img2{
	width: 40%;
	background-image: url(../../image/Fon02.jpg);
	background-size: cover;
	background-position: center;
}

.img3{
	width: 40%;
	background-image: url(../../image/Fon03.jpg);
	background-size: cover;
	background-position: center;
}

.img4{
	width: 40%;
	background-image: url(../../image/Fon04.jpg);
	background-size: cover;
	background-position: center;
}

.img5{
	width: 40%;
	background-image: url(../../image/Fon05.jpg);
	background-size: cover;
	background-position: center;
}

.img6{
	width: 40%;
	background-image: url(../../image/Fon06.jpg);
	background-size: cover;
	background-position: center;
}

.img7{
	width: 40%;
	background-image: url(../../image/Fon07.jpg);
	background-size: cover;
	background-position: center;
}

.img8{
	width: 40%;
	background-image: url(../../image/Fon08.jpg);
	background-size: cover;
	background-position: center;
}

.img9{
	width: 40%;
	background-image: url(../../image/Fon09.jpg);
	background-size: cover;
	background-position: center;
}

.container-text{
    width: 60%;
    padding: 50px;
    overflow-y: auto;
}


.container-text h1{
    font-size: 24px;
}

.container-text p{
    margin-top: 20px;
    font-size: 14px;
}


.btn-close-popup{
    width: 50px;
    height: 50px;
    position: absolute;
    right: -20px;
    top: -20px;
    padding: 20px;
    background: black;
    color: white;
    border-radius: 50%;
    line-height: 10px;
}

@media screen and (max-width: 900px){
    .popup{
        flex-direction: column;
        height: 100%;
        max-height: 800px;
    }
    
    .img{
        width: 100%;
        height: 40%;
    }
    
    .container-text{
        width: 100%;
        height: 60%;
        padding: 80px;
    }
    
}

@media screen and (max-width: 500px){
    .container-text{
        padding: 20px;
    }
    
    .container-text h1{
        font-size: 20px;
    }
    
    .container-text p{
        font-size: 12px;
    }
}

.fade-in1 {
  animation: fadeIn1 ease 3s infinite alternate;
  -webkit-animation: fadeIn1 ease 5s infinite alternate;
  -moz-animation: fadeIn1 ease 5s infinite alternate;
  -o-animation: fadeIn1 ease 5s infinite alternate;
  -ms-animation: fadeIn1 ease 5s infinite alternate;
}
@keyframes fadeIn1 {
  0% {
    opacity:1;
  }
  50% {
    opacity:0;
  }
  100% {
    opacity:1;
}

@-moz-keyframes fadeIn1 {
  0% {
    opacity:1;
  }
  50% {
    opacity:0;
  }
  100% {
    opacity:1;
}
@-webkit-keyframes fadeIn1 {
  0% {
    opacity:1;
  }
  50% {
    opacity:0;
  }
  100% {
    opacity:1;
}

@-o-keyframes fadeIn1 {
  0% {
    opacity:1;
  }
  50% {
    opacity:0;
  }
  100% {
    opacity:1;
}

@-ms-keyframes fadeIn1 {
  0% {
    opacity:1;
  }
  50% {
    opacity:0;
  }
  100% {
    opacity:1;
}
