
/*Importación de otros estilos*/
@import "reset.css";
@import "menu.css";
@import "portafolio.css";

/*Tipografías*/
@font-face{
	font-family: "Iceland";
	src: url("fonts/iceland_regular.ttf");
}

@font-face{
	font-family: "Raleway";
	src: url("fonts/raleway_medium.ttf");
}

@font-face{
	font-family: "Raleway";
	font-style: italic;
	src: url("fonts/raleway_mediumItalic.ttf");
}

@font-face{
	font-family: "Raleway";
	font-weight: bold;
	src: url("fonts/raleway_bold.ttf");
}

@font-face{
	font-family: "Raleway";
	font-weight: bold;
	font-style: italic;
	src: url("fonts/raleway_boldItalic.ttf");
}

@font-face{
	font-family: "Raleway Semibold";
	src: url("fonts/raleway_semibold.ttf");
}

@font-face{
	font-family: "Raleway Light";
	src: url("fonts/raleway_light.ttf");
}

/*Página*/
html,body{
  background-color: white;
	width: 100%;
	height: 100%;
	color: #060608;
	font-family: "Raleway", sans-serif;
	font-weight: normal;
	font-size: 1.25vw;
}

.sun{
	background-color: white;
	color: #060608;
}

.moon{
	background-color: black;
	color: white;
}

.moon a{
	color: white;
}

h1{
	font-family: "Iceland";
	font-weight: normal;
	font-size: 2.6vw;
	text-transform: uppercase;
}

h1 span{
	color: #3761D5;
}

h2{
	font-family: "Iceland";
	font-weight: normal;
	font-size: 2vw;
	text-transform: uppercase;
}

h2 span{
	color: #3761D5;
}

h3{
	font-family: "Raleway";
	font-weight: normal;
	font-size: 1vw;
	text-transform: uppercase;
	letter-spacing: 0.15rem;
  margin-bottom: 5vh;
}

h3 span{
	color: #3761D5;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}


/*Estilo para media pantalla
______________________________*/
@media only screen and (max-width: 1024px){
	html,body{
		font-size: 1.9vw;
	}

	h1{
		font-size: 3.8vw;
	}

	h2{
		font-size: 3.2vw;
	}

	h3{
		font-size: 1.7vw;
	}
}

/*Estilo para móviles
______________________________*/
@media only screen and (max-device-width: 465px) and (max-aspect-ratio: 13/9){
	html,body{
		font-size: 4.3vw;
		line-height: 1.3;
	}

	h1{
		font-size: 6.4vw;
		line-height: 1.3;
	}

	h2{
		font-size: 5.3vw;
	}

	h3{
		font-size: 3vw;
	}
}
