@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap");

*{
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
}

:root {
	--primary-color: rgb(57, 173, 78);
	--background-color: #f9f5f0;
	--dark-color: #151515;
}

body
{
    font-family: "Poppins", sans-serif;
    min-height: 100vh;
    background-color: var(--body-color);
    transition: var(--tran-05);
}

.nav{
   background-color: rgb(46, 143, 73);
   height: 80px;
   color:#fff


}

.nav_container{
  display: flex;
  height: 100%;
  width: 90%;
  margin: 0 auto;
  justify-content: space-between; /* las esquinas*/
  align-items: center;
}

.nav_logo{
  font-size: 1.2rem;
  font-weight: 900;
  
  }

  .img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    object-position:left;
  }

.nav_menu{
  display:grid;
  grid-auto-flow:column;
  gap: 3em;
  
}

.nav_item{        /* menu cada concepto*/
    color:#fff;
    text-decoration: none;
   --clippy: polygon(0 0, 0 0, 0 100%, 0% 100%); 
  
   
} 

.nav_item::after{
    content: "";
    display:block;
    background: #fff;
    width: 90%;
    margin-top: 3px;
    height: 3px;
    clip-path: var(--clippy);
    transition: clip-path .3s;
}


.nav_input:checked + .nav_menu{
  clip-path: circle(100% at center);
    
} 

.nav_label, .nav_input{
    display:none;
}

.nav_item:hover{
   --clippy:polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

/* banner
.banner{
	position:relative;
	width: 100%;
	height: calc(108vh-50px);
	background-image: url(../img/Actvidad-IA-4.jpeg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
*/
.capa{
  width: 100%;
  height: 100%;
  position: absolute;
  top:0;
  left:0;
  background: rgb(0,0,0,.75);

}

.contenido{
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	color:rgb(63, 62, 62);
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-content: center;
}

.contenido h3 {
   margin:20px;
   font-size: 30px;
   color:rgb(63, 62, 62);
   text-align: center;
}

.contenido p{
	margin:20px;
	font-size: .8rem;
}


.content button {
	border: none;
	background-color: #000;
	color: #fff;
	text-transform: uppercase;
	padding: 1rem 3rem;
	border-radius: 2rem;
	font-size: 1.4rem;
	font-family: inherit;
	cursor: pointer;
	font-weight: 600;
}

.content button:hover {
	background-color: var(--background-color);
	color: var(--primary-color);
}


.chico{
    font-size: 10px;
}


/*   */
/* para footer e imagenes   */


/*               FOOTER               */
/* ********************************** */

.footer {
	background-color: var(--primary-color);
}

.container-footer {
	display: flex;
	flex-direction: column;
	gap: 3rem;
	padding: 3rem;
}

.menu-footer {
	display: grid;
	grid-template-columns: repeat(2, 1fr) 30rem;
	gap: 2rem;
	justify-items: center;
}

.title-footer {
	font-weight: 350;
	font-size: 1 rem;
    color:#d5ece6	
}

.contact-info,
.information,
.my-account,
.newsletter {
	display: flex;
	flex-direction: column;
	font-size: 1rem;
	gap: 2rem;
}

.contact-info ul,
.information ul,
.my-account ul {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.contact-info ul li,
.information ul li,
.my-account ul li {
	list-style: none;
	color: #fff;
	font-size: 1rem;
	font-weight: 300;
}

.information ul li a,
.my-account ul li a {
	text-decoration: none;
	color: #fff;
	font-weight: 300;
}

.information ul li a:hover,
.my-account ul li a:hover {
	color: var(--dark-color);
}

.social-icons {
	display: flex;
	gap: 1.5rem;
}

.social-icons span {
	border-radius: 50%;
	width: 3rem;
	height: 3rem;

	display: flex;
	align-items: center;
	justify-content: center;
}

.social-icons span i {
	color: #fff;
	font-size: 1.2rem;
}

.facebook {
	background-color: #3b5998;
}


.content p {
	font-size: 1.4rem;
	color: #fff;
	font-weight: 300;
}

.content input {
	outline: none;
	background: none;
	border: none;
	border-bottom: 2px solid #d2b495;
	cursor: pointer;
	padding: 0.5rem 0 1.2rem;
	color: var(--dark-color);
	display: block;
	margin-bottom: 3rem;
	margin-top: 2rem;
	width: 100%;
	font-family: inherit;
}

.content input::-webkit-input-placeholder {
	color: #eee;
}

.content button {
	border: none;
	background-color: #000;
	color: #fff;
	text-transform: uppercase;
	padding: 1rem 3rem;
	border-radius: 2rem;
	font-size: 1.4rem;
	font-family: inherit;
	cursor: pointer;
	font-weight: 600;
}

.content button:hover {
	background-color: var(--background-color);
	color: var(--primary-color);
}

.copyright {
	display: flex;
	justify-content: space-between;
	padding-top: 2rem;

	border-top: 1px solid #d2b495;
}

.copyright p {
	font-weight: 400;
	font-size: 1.6rem;
}

/*               GALLERY              */
/* * */
.gallery {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(2, 30rem);
	gap: 1.5rem;
	margin-bottom: 3rem;
}

.gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gallery-img-3 {
	grid-column: 2/4;
	grid-row: 1/3;
}
/*    */


@media(max-width: 768px){
    .nav_label{
        display:block;
        cursor:pointer;
    }

    .nav_menu{
        position: fixed;
        top: 80px;
        bottom: 0;
        background: #803d3d;
        width: 100%;
        left:0;
        display: flex;
        justify-content: space-evenly;
        flex-direction: column;
        align-items: center;
        clip-path: circle(0 at center);
        transition: clip-path 1s ease-in-out;
    }

    .gallery {
		display: block;
	   /*	grid-template-rows: repeat(1, 15rem);*/
	}
	

	.copyright {
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 1.5rem;
        
	} 
    
    .menu-footer{
		grid-template-columns: repeat(1, 1fr);
	}

	.content p{
		font-size: 1.1rem;
	}
    
    

}

