/*-----------------------FONTS-----------------------------*/

@font-face {
  font-family: "AbrilFat";
  src: url("fonts/AbrilFatface-Regular.ttf");
  font-display: block;
}

@font-face {
  font-family: "PlayfairDisplay";
  src: url("fonts/PlayfairDisplay-Bold.ttf");
  font-weight: 600;
  font-display: block;
}

@font-face {
  font-family: "Asap";
  src: url("fonts/Asap-Regular.ttf");
  font-weight: 300;
  font-display: block;
}
@font-face {
  font-family: "Asap";
  src: url("fonts/Asap-Medium.ttf");
  font-weight: 400;
  font-display: block;
}

@font-face {
  font-family: "Asap";
  src: url("fonts/Asap-Bold.ttf");
  font-weight: 600;
  font-display: block;
}



/*----------------------MEDIA QUERYS-----------------------*/
@media (orientation: landscape){
	#slider img{
    height:100%;
  }
}
@media (orientation: portrait){
	#slider img{
    width:100%;
  }
}
@media (min-width: 765px){
	#menu 
	{
		display: flex;
	}
	#menubtn
	{
		display: none;
	}
  #contact .wrap{
    flex-grow:1;
  }
}

@media (max-width: 764px){
	#menu 
	{
		display: none;
	}
	#menubtn
	{
		display: flex;
	}
  #contact{
    flex-direction: column;
  }
  #contact .wrap{
    flex-grow:0.5;
  }
}

/*--------------------STYLE-------------------*/
:root{
  --azul:#202C39;
  --crema:#F2D492;
  --blancofloral:#F5F1E8;
  --plateado:#878A98;
  --naranja:#F29559;
}

* 
{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body{
  background: var(--blancofloral);
  min-height: 0;
}
main 
{
	padding: 0 6vw;
  height: 100vh;
  background:var(--blancofloral);
  scroll-snap-type:y mandatory;
	overflow-y:scroll;
  scroll-behavior: smooth;
}

nav 
{
	width: 100%;
	height: 90px;
  position: fixed;
  top: 0;
  left: 0;
  padding: 0 6vw;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: var(--azul);
  z-index: 3;
  border-bottom:solid 4px var(--crema);
}

#logo img {
  width: 250px;      
}
#menubtn
{
	width:32px;
	height: calc(20px + 1vw);
	background: transparent;
	border: none;
	outline: none;
  z-index: 1;
	position: relative;
	justify-content: center;
	align-items: center;
}

#menubtn.active::before
{ 
  background:var(--crema);
  transform: rotate(45deg);
  top: calc(50% - 1.5px);
}
#menubtn::before
{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background:#FFFFFF ;
	transition: 0.5s;
}

#menubtn.active::after
{
  background:var(--crema);
  transform: rotate(-45deg);
  bottom: calc(50% - 1.5px);
}
#menubtn::after
{
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background:#FFFFFF;
	transition: 0.5s;
}

#menubtn.active div
{
  width: 0;
}
#menubtn div
{
	width: 100%;
	height: 3px;
	background: #FFFFFF;
	transition: 0.5s;
}
#menu.active li{
  margin-bottom:5px;
}
#menu.active a
{
	font-size: 25px;
}
#menu.active 
{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;

	position: fixed;
  top: 0;
  left: 0;
    
	height: 100vh;
	width: 100vw;
	background: var(--azul);
}
#menu
{
	list-style: none;
}
#menu a:hover
{
  --width:100%;
}
#menu a 
{
	text-decoration: none;
	color: #FFFFFF;

	font-size: 20px;
	font-family: 'PlayfairDisplay';  /* CREO QUE ESTA ES LA LETRA DEL MENU */
	margin-left: 25px;
	font-weight: 400;
  user-select: none;
  transition: 0.3s;
  position: relative;
  --width:0;
}
#menu a::after{
  position: absolute;
  content:"";
  width:var(--width);
  height: 1px;
  background:var(--naranja);
  bottom:-2px;
  left:0;
  transition: 0.3s;
}
header {
	width: 100%;
  padding:calc(45px + 6vw) 0 0 0;
  height: 100vh;
	display: flex;
	align-items: center;	
  align-content: center;
  flex-wrap:wrap;
  scroll-snap-align: center;
}
header #text{
  color:var(--azul);
}
header #text h1{
  font-family:'PlayfairDisplay',serif;
  font-weight: 600;
  line-height: calc(42px + 1vw);
  font-size: calc(30px + 1vw);
  margin-bottom:40px;
}

header #text p{
  font-family: 'Asap',sans-serif;
  font-weight: 400;
  font-size: calc(14px + 0.5vw);
  margin-bottom: 60px;
}
header #text p span{
  font-weight: 600;
}
header #text a:hover{
  color:var(--azul);
  background:var(--naranja);
  box-shadow:none;
}
header #text a{
  font-family: 'Asap',sans-serif;
  font-size: calc(12px + 0.5vw);
  font-weight: 400;
  background:var(--azul);
  color:#FFFFFF;
  text-decoration: none;
  padding:15px 20px;
  border-radius:5px;
  user-select: none;
  transition: 0.3s;
}

#about{
  width:100%;
  height: 100vh;
  color:var(--azul);
  background:var(--blancofloral);
  padding:calc(45px + 6vw) 0 0 0;
  display:flex;
  flex-direction: column;
  justify-content: center;
  scroll-snap-align: center;
}
#about h2{
  font-family:'PlayfairDisplay',serif;
  font-weight: 600;
  line-height: calc(33px + 1vw);
  font-size: calc(30px + 1vw);
}
#about p{
  margin-top:30px;
  font-family: 'Asap',sans-serif;
  font-weight: 400;
  font-size: calc(14px + 0.5vw);
  margin-bottom:40px;
}
#about p span{
  font-weight: 600;
}

#gallery{
  width:100%;
  height:90vh;
  display:flex;
  flex-direction: column;
  justify-content: center;
  padding:calc(45px + 6vw) 0 0 0;
  background:var(--blancofloral);
  scroll-snap-align: center;
}

#slider{
  width:100%;
  height: 100%;
  background:var(--blancofloral);
  position: relative;
}
#slider .icon:hover{
  color:var(--naranja);
}
#slider .icon{
  position: absolute;
  z-index: 2;
  font-size:64px;
  color:var(--azul);
}

#slider .icon:nth-child(1n){
  right:calc(100% - 32px);
  top:calc(50% - 32px);
}
#slider .icon:nth-child(2n){
  left:calc(100% - 32px);
  top:calc(50% - 32px);
}
#slider .imgcontainer.active{
  display: flex;
}
#slider .imgcontainer{
  height: 100%;
  width:100%;
  display:none;
  align-items:center;
  justify-content: center;
  position:absolute;
  top:0;
  left:0;
  z-index: 2;
}

#contact{
  width:100%;
  height:100vh;
  display:flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  padding:calc(45px + 6vw) 0 0 0;
  background:var(--blancofloral);
  scroll-snap-align: center;
}
#contact .wrap{
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
#contact .container{
  display: flex;
  align-items: center;
  justify-content: center;
}
#contact img{
 width: 50%;
 height: auto;
 object-fit: contain;
}
#contact h2{
  font-family:'PlayfairDisplay',serif;
  font-weight: 600;
  line-height: calc(37px + 1vw);
  font-size: calc(30px + 1vw);
  color:var(--azul);
}

#contact p{
  margin-top:20px;
  font-family: 'Asap',sans-serif;
  font-weight: 400;
  font-size: calc(14px + 0.5vw);
  margin-bottom:30px;
  color:var(--azul);
}

#contact ul{
  list-style: none;
}

#contact li a .icon{
  font-size:32px;
  color:var(--azul);
  margin-right:5px;
}
#contact li:hover{
  --width:100%;
}
#contact li{
  color:var(--azul);
  font-size: calc(14px + 0.5vw);
  display: flex;
  align-items:center;
  font-family: 'Asap',sans-serif;
  font-weight: 400;
  margin-bottom: 10px;
  position:relative;
  width:fit-content;
  --width:0;
}

#contact li::after{
  position: absolute;
  content:"";
  width:var(--width);
  height: 1px;
  background:var(--naranja);
  bottom:-5px;
  left:0;
  transition: 0.3s;
}
#contact li a{
  display: flex;
  align-items:center;
  margin-right:5px;
  text-decoration: none;
  color:var(--azul);
}

#logo img {
  width: 250px;      
}

