:root{
    --color1: #ddc5bc;
    --color2: #e0d2c7;
    --color3: #c08b89;
    --color4: #c8a49f;
    --color5: #b38f75;
    --color6: #0000;
}

body {
	margin: 0;
	padding: 0;
	background-color: #f0f0f0;
  font-family: "Dosis", Georgia, sans-serif;
}

.caja h1 {
    font-size: 300%;
}
.caja h3 {
    font-size: 150%;
}

.menu {
    display: flex;
    align-items: center;
	width: 980px; 
	margin: 15px auto; 
	background-color:var(--color3);
	padding: 20px;
	border: 2px solid #000;
    border-radius: 10px;
    font-size: 15px;
    font-family: "Madimi One", sans-serif;
    font-size: 18px;
    font-weight: 400;
	
}

.imagen {
	width: 200px;
	height: 100px;
	margin-left: 20px; 
}

.imagen:hover {
    width: 205px;
    height: 105px;
    cursor: pointer;
}

.menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
    display: flex;
    justify-content: space-between;
    width: 90%;
    
}

.menu ul li {
	position: relative;
	margin-right: 0px;
}


.menu ul li a {
	text-decoration: none;
	background-color: var(--color3);
    color: #000000;
    border: 2px solid #000;
	padding: 10px 20px;
	border-radius: 10px;
}

.menu ul li ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	background-color: var(--color3);
	padding: 10px;
	border-radius: 0px;
}
.menu ul li:hover ul {
    display: block;
}

.menu ul li ul li {
    margin: 10px;
    text-align: center;
}

.menu ul li ul li a {
	display: block;
    border: none;
	text-align: center;
	padding: 10px;
	background-color: transparent ;
	color: #fff;
}

.menu ul li a:hover {
	background-color: var(--color4);
    display: block;
}


.contenedor {
    width: 87%;
    height: auto;
    margin: 40px auto;
    background-color: #ffffff;
    padding: 20px;
    border: 1px solid #ddd;
}

.cabecera {
    background-color: var(--color4);
    color: #fff;
    padding: 20px;
    text-align: center;
    font-family: "Madimi One", sans-serif;
}


.contenido {
    padding: 20px;
}

.seccion {
    background-color: #fff;
    padding: 15px;
    margin-bottom: 20px;
    border: 5px dashed #ea585b;
}

.seccion h2 {
    margin-top: 0;
}



.seccion1 {
  background: rgb(235, 228, 228);
  color: rgb(0, 0, 0);
  border-radius: 20px;
  padding: 2.9rem 2.9rem 2.9rem 2.9rem;
  height: auto;
  text-wrap: wrap;
  text-align: center;
  font-size: 1.7rem;
  font-family: "Dosis", sans-serif;;
}

.seccion2 {
  background: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  padding: 2rem;
  height: auto;
  text-wrap: wrap;
  text-align: center;
  font-size: 1.9rem;
  font-family: "Dosis", sans-serif;
}

.seccion3 {
  background: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  padding: 2rem;
  height: auto;
  text-wrap: wrap;
  text-align: left;
  font-size: 1.7rem;
  font-family: "Dosis", sans-serif;
}

.seccion4 {
  background: rgb(235, 228, 228);
  color: rgb(0, 0, 0);
  border-radius: 20px;
  padding: 2.7rem;
  height: auto;
  text-wrap: wrap;
  text-align: center;
  font-size: 1.7rem;
  font-family: "Dosis", sans-serif;;
}

.cardBox {
  float: left;
  font-size: 1.2em;
  margin: 1% 0 0 1%;
  perspective: 800px;
  transition: all 0.3s ease 0s;
  width: 23.7%;
  background-color: rgb(255, 255, 255);
}

.cardBox:hover .card {
  transform: rotateY( 180deg);
}

.card {
  background: #dadada;
  cursor: default;
  height: 300px;
  transform-style: preserve-3d;
  transition: transform 0.4s ease 0s;
  width: 90%;
  -webkit-animation: giro 1s 1;
  animation: giro 1s 1;
}

.card p {
  margin-bottom: 1.8em;
}

.card .front,
.card .back {
  backface-visibility: hidden;
  box-sizing: border-box;
  color: rgb(0, 0, 0);
  display: block;
  font-size: 1.2em;
  height: 100%;
  padding: 0.8em;
  position: absolute;
  text-align: center;
  width: 100%;
}

.card .front strong {
  background: #fff;
  border-radius: 100%;
  color: #222;
  font-size: 1.5em;
  line-height: 30px;
  padding: 0 7px 4px 6px;
}

.card .back {
  transform: rotateY( 180deg);
  font-family: "Madimi One", sans-serif;
}

.card .back a {
  padding: 0.3em 0.5em;
  background: rgb(176, 136, 126);
  color: #ffffff;
  font-family: "Dosis", sans-serif;
  border-radius: 1px;
  font-size: 0.9em;
  transition: all 0.2s ease 0s;
}

.card .back a:hover {
  background: #fff;
  color: #333;
}

.cardBox:nth-child(1) .card .back {
  background: rgb(246, 222, 216);
}

.cardBox:nth-child(2) .card .back {
  background: rgb(214, 238, 251);
}




@-webkit-keyframes giro {
  from {
    transform: rotateY( 180deg);
  }
  to {
    transform: rotateY( 0deg);
  }
}

@keyframes giro {
  from {
    transform: rotateY( 180deg);
  }
  to {
    transform: rotateY( 0deg);
  }
}

@media screen and (max-width: 767px) {
  .cardBox {
    margin-left: 2.8%;
    margin-top: 3%;
    width: 46%;
  }
  .card {
    height: 285px;
  }
  .cardBox:last-child {
    margin-bottom: 3%;
  }
}

@media screen and (max-width: 480px) {
  .cardBox {
    width: 94.5%;
  }
  .card {
    height: 260px;
  }
}

.seccion5 {
  background: rgb(235, 228, 228);
  color: rgb(0, 0, 0);
  border-radius: 20px;
  padding: 2.7rem;
  max-height: 60px;
  text-wrap: wrap;
  text-align: center;
  font-size: 1.7rem;
  font-family: "Dosis", sans-serif;;
}

.seccion6 {
  background: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  padding: 2rem;
  height: auto;
  text-wrap: wrap;
  text-align: left;
  font-size: 1.7rem;
  font-family: "Dosis", sans-serif;
}

.seccion7 {
  background: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  padding: 2.7rem;
  height: auto;
  text-wrap: wrap;
  text-align: left;
  font-size: 1.7rem;
  font-family: "Dosis", sans-serif;;
}

.piedepagina {
    background-color: #1e1e1e;
    color: #fff;
    padding: 30px 20px;
    font-size: 0.9em;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    border-top: 5px solid #ba5f5c;
}

.pie-seccion {
    display: flex;
    flex-direction: column;
    padding: 0 15px;
    box-sizing: border-box;
}

.pieseccion1 {
    flex: 3 1 400px;
    text-align: left;
}

.pie-seccion.links { 
    flex: 1 1 200px;
}

.pielogo {
    margin-bottom: 20px;
}

.pielogo img {
    max-width: 150px;
    height: auto;
    display: block;
    margin: 0 auto; 
}

.pie-seccion h3 { 
    color: #ba5f5c;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1em;
    text-transform: uppercase;
}

.pie-seccion p,
.pie-seccion a { 
    color: #bbb;
    line-height: 1.6;
    margin-bottom: 8px;
    display: block;
}

.pie-seccion a:hover { 
    color: #fff;
    text-decoration: underline;
}

.cred {
    background-color: #1b1b1b;
    border: 1px solid #ba5f5c;
    color: #aaa;
    padding: 15px 0;
    text-align: center;
    font-size: 0.85em;
    width: 100%;
}

@media (max-width: 768px) {
    .piedepagina {
        flex-direction: column;
        align-items: center;
    }

    .pie-seccion { 
        width: 90%;
        text-align: center;
        margin-bottom: 20px;
    }

    .pielogo img {
        margin: 0 auto; 
    }
}

<div style="width: 100%;"><div style="position: relative; padding-bottom: 200%; padding-top: 0; height: 0;"><iframe title="Historia y avances de los métodos anticonceptivos" frameborder="0" width="800" height="1600" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;" src="https://view.genially.com/689c0375494c2915ef1ef8c7" type="text/html" allowscriptaccess="always" allowfullscreen="true" scrolling="yes" allownetworking="all">

