@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins',sans-serif;
}
.navbar {
  background-color: white;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px -1px rgba(0,0,0,0.15);
}

.navbar-header {
  display: flex;
  align-items: center;
}

.logo {
	color: var(--title-color);
	font-weight: var(--font-semi-bold);
	transition: color .4s;
	width: 50px;
  }

.navbar-toggler {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px 0;
}

.navbar-links {
  display: flex;
}

.navbar-links a {
  color: black;
  text-decoration: none;
  margin-left: 1rem;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}.navbar-links a:hover {
  background-color:	#f31018;
}

@media screen and (max-width: 768px) {
  .navbar-links {
      display: none;
      flex-direction: column;
      background-color: #333;
      position: absolute;
      top: 60px;
      left: 0;
      width: 100%;
  }

  .navbar-links.show {
      display: flex;
  }

  .navbar-toggler {
      display: block;
  }
}
.main{
  display: flex;
  min-height: 80vh;
  align-items: center;
  justify-content: center;
  background-image: url(fondb.png);
  position: relative;
}
body::before{
  content: '';
  position: absolute;
  width: 100%;
  background: #fa0b12;
  clip-path: inset(47% 0 0 0);
  z-index: -1;
  height: 100%;
}
::selection{
  background:white;
  color: #fff;
}
.container{
  max-width: 950px;
  width: 100%;
  overflow: hidden;
  padding: 80px 0;
}
.container .main-card{
  display: flex;
  justify-content: space-evenly;
  width: 200%;
  transition: 1s;
}
#two:checked ~ .main-card{
  margin-left: -100%;
}
.container .main-card .cards{
  width: calc(100% / 2 - 10px);
  display: flex;
  flex-wrap: wrap;
  margin: 0 20px;
  justify-content: space-between;
  margin-left: 280px;
  margin-right: 100px;
}
.main-card .cards .card{
  width: calc(100% / 2 - 10px);
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
  transition: all 0.4s ease;

}
.main-card .cards .card:hover{
  transform: translateY(-15px);
}
.cards .card .content{
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.cards .card .content .img{
  height: 250px;
  width: 250px;

  padding: 3px;
  background: #fa0b12;
  margin-bottom: 14px;
  border-radius: 31% 69% 70% 30%/ 30% 30%  70%  70%;
}
.card .content .img img{
  height: 100%;
  width: 100%;
  border: 3px solid #ffff;
  border-radius: 31% 69% 70% 30%/ 30% 30%  70%  70%;
  object-fit: cover;
}
.card .content .name{
  font-size: 20px;
  font-weight: 500;
}
.card .content .job{
  font-size: 20px;
  color: #fa0b12;
}
.card .content .media-icons{
  margin-top: 10px;
  display: flex;

}

 .container .button{
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 20px;
}
.button label{
  height: 15px;
  width: 15px;
  border-radius: 20px;
  background: #fa0b12;
  margin: 0 4px;
  cursor: pointer;
  transition: all 0.5s ease;
}
.button label.active{
  width: 35px;
}
#one:checked ~ .button .one{
  width: 35px;
}
#one:checked ~ .button .two{
  width: 15px;
}
#two:checked ~ .button .one{
  width: 15px;
}
#two:checked ~ .button .two{
  width: 35px;
}
input[type="radio"]{
  display: none;
}
.pop {
  display: inline-block;
padding:2rem;
text-align: center;
background: #fff;
position: relative;
margin:2rem;
width: 60rem;
height: 45rem;
margin-left: 320px;
}
.p {
  display: inline-block;
padding:2rem;
text-align: center;
background: #fff;
position: relative;
margin:2rem;
width: 60rem;
height: 45rem;
margin-left: 320px;
}
.pp {
  display: inline-block;
padding:2rem;
text-align: center;
background: #fff;
position: relative;
margin:2rem;
width: 60rem;
height: 45rem;
margin-left: 320px;
}
.pu {
  display: inline-block;
padding:2rem;
text-align: center;
background: #fff;
position: relative;
margin:2rem;
width: 60rem;
height: 45rem;
margin-left: 320px;
}
.close {
position: absolute;
top: 0;
right: 0;
padding: 10px;
cursor: pointer;
}
  .d{
position: fixed;
top:0; left:0;
min-height: 100vh;
width: 100%;
background: rgba(0,0,0,.8);
display: none;
align-items: center;
justify-content: center;
}
.c{
position: fixed;
top:0; left:0;
min-height: 100vh;
width: 100%;
background: rgba(0,0,0,.8);
display: none;
align-items: center;
justify-content: center;
}
.e{
position: fixed;
top:0; left:0;
min-height: 100vh;
width: 100%;
background: rgba(0,0,0,.8);
display: none;
align-items: center;
justify-content: center;
}   
.f{
  position: fixed;
  top:0; left:0;
  min-height: 100vh;
  width: 100%;
  background: rgba(0,0,0,.8);
  display: none;
  align-items: center;
  justify-content: center;
  } 
@media (max-width: 768px) {
  .main-card .cards .card{
    margin: 20px 0 10px 0;
    width: calc(100% / 2 - 10px);
  }
}
@media (max-width: 600px) {
  .main-card .cards .card{
    /* margin: 20px 0 10px 0; */
    width: 100%;
  }
}
body .footer {
  z-index: 1;
  --footer-background: rgb(237, 7, 7);
  display: grid;
  position: relative;
  grid-area: footer;
  min-height: 12rem;
}

body .footer .bubbles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1rem;
  background: var(--footer-background);
  filter: url("#blob");
}

body .footer .bubbles .bubble {
  position: absolute;
  left: var(--position, 50%);
  background: var(--footer-background);
  border-radius: 100%;
  -webkit-animation: bubble-size var(--time, 4s) ease-in infinite var(--delay, 0s), bubble-move var(--time, 4s) ease-in infinite var(--delay, 0s);
  animation: bubble-size var(--time, 4s) ease-in infinite var(--delay, 0s), bubble-move var(--time, 4s) ease-in infinite var(--delay, 0s);
  transform: translate(-50%, 100%);
}

body .footer .content {
  padding: 6rem 1rem 2rem;
  background: var(--footer-background);
  z-index: 2;
}

.footer .content .container {
  max-width: 768px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1.5rem;
  color: #fff;
}

.content h2 {
  margin-bottom: .25rem;
  font-size: 2.25rem;
}

.content span {
  font-size: .875rem;
}

.footer__links {
  display: flex;
  flex-direction: row;
  column-gap: 2rem;
  transition: all 150ms ease-out;
  justify-content: center;
}

.footer__links .footer__link {
  transition: all 150ms ease-out;
  display: inline-block;
  color: #fff;
}

.footer__link:hover:after {
  width: 100%;
}

.footer__link:after {
  content: '';
  display: block;
  margin: auto;
  height: 2px;
  width: 0px;
  background-color: #fff;
  transition: width .25s ease-out;
}

.footer__socials {
  justify-self: flex-end;
}

.footer__social {
  font-size: 1.25rem;
  margin-right: 1.5rem;
}

.footer__social:hover {
  opacity: 0.8;
}

.footer__copy {
  text-align: center;

  font-size: .875rem;
  text-align: center;
  color: #dcdcdc;
  padding: 1rem 0 0.5rem;
}

@-webkit-keyframes bubble-size {

  0%,
  75% {
      width: var(--size, 4rem);
      height: var(--size, 4rem);
  }

  100% {
      width: 0rem;
      height: 0rem;
  }
}

@keyframes bubble-size {

  0%,
  75% {
      width: var(--size, 4rem);
      height: var(--size, 4rem);
  }

  100% {
      width: 0rem;
      height: 0rem;
  }
}

@-webkit-keyframes bubble-move {
  0% {
      bottom: -4rem;
  }

  100% {
      bottom: var(--distance, 10rem);
  }
}

@keyframes bubble-move {
  0% {
      bottom: -4rem;
  }

  100% {
      bottom: var(--distance, 10rem);
  }
}

@media screen and (max-width: 767px) {
  .footer .content {
      padding: 0 1.5rem;
  }

  .footer .content .container {
      grid-template-columns: repeat(2, 1fr);
  }

  .content h2 {
      font-size: 1.5rem;
  }

  .content span {
      font-size: .813rem;
  }

  .footer__links {
      flex-direction: column;
      row-gap: 1.5rem;
  }

  .footer__socials {
      justify-self: flex-start;
  }
}

@media screen and (max-width: 567px) {
  .footer .content .container {
      grid-template-columns: repeat(1, 1fr);
      row-gap: 3.5rem;
  }
}