/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */


html {
  scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: arial, sans-serif;
	background: #fff;
	color: #fff;
	font-size: 18px;
	line-height: 1.5em;
}

#header {
	background: url(../img/header-1.png) top left no-repeat;
	background-size: cover;
	height: 0;
	padding-bottom: 73.5%;
	position: relative;
}

#header img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

.container {
	margin: auto;
}

#menu {
    overflow: hidden;
    padding: 50px 0;
    background-color: #000;
}

#menu img {
	max-width: 100%;
	max-height: 150px;
	opacity: .7;
	transition: all .5s ease-in-out 0s;
}

#menu img:hover {
	opacity: 1;
}

.menu {
	display: grid;
	justify-content: stretch;
	align-content: center;
	justify-items: center;
	grid-template-columns: repeat(auto-fit, minmax(100px, auto));
}

section {
	overflow: hidden;
}

#reflexo {
	background:  url(../img/reflexo-1.png) top left no-repeat;
	background-size: cover;
	height: 0;
	padding-bottom: 77%;
	position: relative;
}

#reflexo img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

#reflexo img:nth-child(2){
	animation: reflexo 2s ease-in-out 0s infinite alternate;
}

@keyframes reflexo {
  0%, 25% {
  	opacity: 0;
  }
  
  75%, 100% {
  	opacity: 1;
  }
}

#camera {
	background: url(../img/camera-1.png) top left no-repeat;
	background-size: cover;
	height: 0;
	padding-bottom: 64.75%;
	position: relative;
}

#camera img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

#camera img:nth-child(3) {
	animation-delay: 2s;
	animation: opacity-video-2 1s infinite alternate;
}

@keyframes opacity-video-2{
	0%{
		opacity: 0;
	}
	100%{
		opacity: 1;
	}
}

#ssd{
	background:url(../img/ssd-1.png) top left no-repeat;
	background-size: cover;
	height: 0;
	padding-bottom: 62%;
	position: relative;
}

#ssd img{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

#audio {
	background:  url(../img/audio-1.png) top left no-repeat;
	background-size: cover;
	height: 0;
	padding-bottom:  67.25%;
	position: relative;
}

#audio img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

#touchpad {
	background: url(../img/touchpad-1.png) top left no-repeat;
	background-size: cover;
	height: 0;
	padding-bottom:  78.1%;
	position: relative;
}

#touchpad img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

#teclado {
	background: url(../img/teclado-1.png) top left no-repeat;
	background-size: cover;
	height: 0;
	padding-bottom: 63.25%;
	position: relative;
}

#teclado img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
}

#teclado img:nth-child(2),
#teclado img:nth-child(3){
	animation: reflexo 2s ease-in-out 0s infinite alternate;
}

#rodape img {
	display: block;
	width: 100%;
}

/* responsivo */
@media only screen and (max-width: 1025px) {
	#menu img {
		max-height: 100px;
		opacity: .7;
	}
}
@media only screen and (max-width: 768px) {
	
body {
	font-size: 14px;
}

#menu {
	padding: 25px 0;
}

.menu {
	grid-template-columns: 1fr 1fr;
	grid-auto-columns: 100px;
	grid-template-rows: 1fr 1fr;
	grid-auto-rows: 100px;
	row-gap: 20px;
	align-items: center
}

#menu img{
	max-height: 75px;
}

}
