﻿  @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
*{
    margin:0;
    padding:0;
    border:0 none;
    position: relative; 
    outline: none;
}

html {
  min-height: 100%;
  position: relative;
}


html, body {
    font-weight: 300;
     height: 100%;
    width: 100%;
   font-family: 'Roboto', sans-serif;
   }

h1, h2, h3, h4, h5, h6{
	    font-family: 'Roboto', sans-serif;
	    }
  h2
{
font-family: 'Roboto', sans-serif;
font-size: 24pt;
    color: #444 !important;
    font-weight: 600;
    }
header{
	background-color:#a71e0d;
}
.logo{
	width:100px;
	height:100px;
}
.marprin
{
margin:0 10%
}
.margral
{
margin:0 20%
}

.first{
	display:flex;
	justify-content: center; 

}

.name{
    padding-top:37px;
    padding-left:10px; 
	font-size:2rem; 
	color:white; 
}

bold{
	 font-weight: bold;
}

/*Navbar*/
.navbar{
	/*border: 1px solid black;*/
    width: 80%;
    text-align: center;
    margin: 0 auto;
    }

a.nav-text{
	color: white; 
	text-decoration:none;
	/* font-family: 'Nobile', sans-serif; */
	
}

 h3.tres {
    min-height: 80px;
    line-height: 80px;
    font-size: 1.2rem;
    font-weight: normal;
    text-align: center;
    color: rgba(0,0,0,.4);
  }

h3.tres > a.nav-text {
  text-decoration: none;
  /*color: rgba(0,0,0,.4);*/
  color: white; 
  z-index: 1;
}

h3.tres > a.nav-text:before {
  content: "";
  background:  #a12919;
  position: absolute;
  width: 100%;
  height: 0;
  bottom: -2px;
  left: 0;
  border-radius: 5px;
  transform: scaleX(0);
  animation: 1.4s forwards no-hover-v linear;
  animation-fill-mode: forwards;
  z-index: -1;
  padding: 5px 0;
}
h3.tres > a.nav-text:hover:before,
h3.tres > a.navt-text:focus:before {
  animation: .5s forwards hover-v linear;
  animation-fill-mode: forwards;
}

a:visited {
color:#c44235;
}
@keyframes hover-v {
  0% {
      transform: scaleX(0);
      height: 5px;
     }
  45% {   
      transform: scaleX(1.05);
      height: 5px;
     }
  55% {height: 5px;}
  100% {
      transform: scaleX(1.05);
      height: 1.3rem;
     }
}

/*Botones del navbar*/
.dropdown{
  position: relative;
  display: inline-block;
}

.dropdown-content{
  display: none;
  position: absolute;
  background-color: #017575;
  min-width: 160px;
  z-index: 1;
}

.tres, .links-hidden{
  display: inline-block;
   color: rgb(255, 255, 255);
   padding: 12px 16px;
   text-decoration: none;
   font-size: 18px;
   font-weight: bold;
}
.links-hidden{
  display: block;
  background-color: white; 
  color: #c44235;
  text-decoration:none;
}

.links-hidden:hover{
  background-color: #a71e0d;
  color: white;
  text-decoration:none; 
}

.tres{
  display: inline-block;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content.show {
  display: block;
}


/*Flipcards*/
.cards{
	display: flex;	
    position: relative;
    perspective: 1000px;
    justify-content: space-around;
    align-content: center;
    align-items: center;
    margin: 0 auto; 
    padding-bottom:30px;
}

.flipcard {
	display: flex;
    flex-direction: column;
    margin-top: 20px;
    width:190px;
    height:190px;
    border-radius: 16px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    text-align: center;
    transform-style: preserve-3d;
    transition: 0.5s;
    position: relative;
    transition: transform 0.6s;
}

.flipcard.flip{
	transform: rotateY(180deg);
}

.card-image{
    text-align: center;
    width: 100%;
    border-top-right-radius: 16px;
    object-fit: cover;
}

.card-front, .card-back{
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
}
.card-front{
    height: 100%;
    transform: rotateX(0deg);
}

.card-back{
    transform: rotateY(180deg);
    position: absolute;
    text-align: center;
    right: 0;
    left: 0;
    top: 5px;
    color: #20263f;
    padding: 0 10px;
}

.head-text{
	font-size:25px;
	padding-bottom: 15px;
}

.texto-front{
	padding-top:8px;
	padding-bottom:18px;
	font-size:25px;

}

.texto-front-m{
	padding:35px;
	font-size:25px;
}

.texto-back{
	color: #a71e0d; 
}
/*Sección info de las cards*/
#info{
	padding:20px;
	 display: flex;
	justify-content: center;  
}

.inner-card{
	border: 2px solid #FFFFFF; 
	overflow: hidden; 
	max-width: 1100px;
	width: 100%;
    height: 700px;
}

iframe {
    border: none;
    width: 100%;
    height: 100%;
    margin-top: -90px;
    }
	

/*#frame-inner-card{
	border: 0px none; 
	/margin-left: 80px;
	padding-top: 10px;
	margin:15px;
	height: 900px; 
	margin-top: -70px; 
	width: 1000px;
}*/
/*
#frame-inner-card{
	border: 0px none;
    - margin-left: 80px; 
    - margin: 15px; 
    height: 900px;
    margin-top: -190px;
    width: 1000px;
    margin-left: -200px;
}*/
/*
#frame-inner-card{
	width: 1000px;
    max-width: 2000px;
    height: 900px;}
}*/

/*#frame-inner-card{
	width: 1000px;
    max-width: 2000px;
     margin-top: -90px;
    height: 900px;}
}
*/

/*Sección de eventos */
.eventos{
	display: flex; 
	justify-content: center;
	text-align:center; 
	padding-bottom:10px; 
}
/*Frames de la página principal*/

/*Footer*/
#s4-bodyContainer{
	padding-bottom:0px;
}
footer{
  margin: 0px;
  background-color: #a71e0d;
  justify-content: center;
  /*position: absolute;*/
  width: 100%;
  bottom: 0px; 
 }

.foot{
  display: flex;
  flex-direction:column;
  text-align: center;
  padding: 20px;
  
}
.foot-text{
	color:white;
}

@media (min-width:800px) and (max-width:1168px){
*{
    margin:0;
    padding:0;
    border:0 none;
    position: relative; 
    outline: none;
}

.first{
    display: block;
    text-align:center; 
	}
	
.name{
	padding-top:10px; 
}

#inicio{
	text-align:center; 
	  font-size: 2rem;
}
.cards{
	display:block; 
	text-align:center; 
}

.flipcard{
    width: 350px;
    height:210px;
	margin:0px auto;
	margin-top: 15px;
}
.texto-front{
	font-size:1.5rem; 
}
.card-back{
	font-size:1.1rem; 
}
.about-1{
	font-size:1.5rem; 
}

#info{
	 display: flex;
	justify-content: center;  
}

/*
#frame-inner-card{
	width: 1000px;
    max-width: 1168px;
     margin-top: -90px;
    height: 900px;}

*/
.inner-card{
	border: 2px solid #FFFFFF; 
	overflow: hidden; 
	max-width: 1168px;
	width: 100%;
    height: 700px;
}

iframe {
    border: none;
    width: 100%;
    height: 100%;
    margin-top: -90px;
}

}


@media (min-width: 500px) and (max-width: 800px){
header{
	height:300px;
}

.first{
	display: block;
	text-align:center;
}
.name{
 padding-top: 0px;
}
.tres{
	padding: 1px 16px;
}

.dropdown-content{
    /*position: inherit;*/
    background-color: #017575;
    min-width: 160px;
    z-index: 1;
	
}

#inicio{
	text-align:center; 
	  font-size: 2rem;
}

.about{
	display:block;
	 
}


.cards{
	display:block; 
	text-align:center; 
}

.flipcard{
    width: 350px;
    height:210px;
	margin:0px auto;
	margin-top: 15px;
}
.texto-front{
	font-size:1.5rem; 
}
.card-back{
	font-size:1.5rem; 
}
.head-text
{
	padding-bottom: 8;
}
.about-1{
	font-size:1.5rem; 
}

.showcase {
    width: 100%;
    height: 100%;
    margin: 0px auto;
    padding-bottom: 20px;
    }
    
#info{
	 display: flex;
	justify-content: center;  
}
/*
#frame-inner-card{
	width: 1000px;
    max-width: 800px;
     margin-top: -90px;
    height: 900px;}

*/
.inner-card{
	border: 2px solid #FFFFFF; 
	overflow: hidden; 
	max-width: 800px;
	width: 100%;
    height: 500px;
}

iframe {
    border: none;
    width: 100%;
    height: 100%;
    
}
}
@media (min-width: 200px) and (max-width: 500px){
*{
    margin:0;
    padding:0;
    border:0 none;
    position: relative; 
    outline: none;
}

header{
	height:300px;
}

.logo{
	width:80px;
	height:80px;
}
.navbar{
	padding:10px;
}
.marprin
{
margin:0 3%
}
.margral
{
margin:0 10%
}

h3.tres{
  font-size: 1rem;
  min-height:35px;
  line-height: 20px;
}
.name{
    padding-top: 0px;
	font-size:1rem;
}

.tres{
	padding: 1px 10px;
}

.first{
    display: block;
    text-align:center; 
	}
.navbar{
	display: grid; 
}
.dropdown{
	
}
.dropdown-content{
   /*position: inherit;*/
    background-color: #017575;
    min-width: 160px;
    z-index: 1;
	font-size:1rem;
	 width: 100%;
}
.links-hidden{
	font-size:1rem;
}
#inicio{
	text-align:center; 
	  font-size: 2rem;
}
.texto-back
{
	font-size:13px;
	color:#a71e0d;
}
.about{
	display:block;
	 
}

.cards{
	display:block; 
	text-align:center; 
}

.flipcard{
    width: 298px;
    height:210px;
	margin:0px auto;
	margin-top: 15px;
}
.texto-front{
	font-size:1.5rem; 
}
.card-back{
	font-size:1.5rem; 
}
.about-1{
	font-size:1.5rem; 
}

.showcase {
    width: 100%;
    height: 100%;
    margin: 0px auto;
    padding-bottom: 20px;
    }
    
    #info{
	padding:20px;
	 display: flex;
	justify-content: center;  
}

/*
#frame-inner-card{
	width: 1000px;
    max-width: 500px;
     margin-top: -90px;
    height: 900px;}

*/

.inner-card{
	border: 2px solid #FFFFFF; 
	overflow: hidden; 
	max-width: 500px;
	width: 100%;
    height: 500px;
}

iframe {
    border: none;
    width: 100%;
    height: 100%;
  
}

}
