body {
  background-color: #111;
  background-image: url(../img/background_.png);
}

._container {
  max-width: 1040px;
  margin: 0 auto;
}

/*--------HEADER---------------------------------*/

.header {
  /*position: fixed;*/
  top: 0;
  left: 0;
  width: 100%;
  background-color: #404040;
  opacity: 0.8;
  margin: 20px 0 0 0;
}

.header__container {
  padding: 10px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__title {
  color: lightgray;
  /*font-family: 'Advent Pro', sans-serif;*/
  font-family: "Press Start 2P", cursive;
  font-weight: 500;
  font-size: 25px;
  letter-spacing: 0.2rem;
  text-align: center;
}

.header__title span {
  font-size: 15px;
}

.header__title span:last-child {
  font-size: 25px;
}

.header__icons {
  display: flex;
}

.header__icon img {
  width: 30px;
  height: 30px;
  margin: 0 0 0 10px;
  filter: grayscale(1);
}
.header__icon img:hover {
  filter: grayscale(0.3);
}

/*--------SKILLS---------------------------------*/
.skills {
}

.skills__container {
  margin-top: 60px;

  color: white;
  font-family: "Press Start 2P", cursive;
  /* display: flex; */
  align-items: center;
}
.skills__container h1 {
  line-height: 3em;
  font-size: 2rem;
}
.skills__container ul {
  display: flex;
  flex-wrap: wrap;
}
.skills__container li {
  line-height: 2em;
  margin-left: 10px;
}

/*--------GALLERY---------------------------------*/

.gal {
  margin: 50px 0 0 0;
}

.gal__container {
}

.gal__items {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  height: 50%;
  grid-gap: 22px;
}

.gal__items img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  box-sizing: border-box;
  transition: 0.1s;
  /*outline: 2px solid rgba(255, 255, 255, .2);*/
  opacity: 0.8;
}

.gal__item {
  /*height: 50%;*/
}

.gal__container img:hover {
  opacity: 1;
  outline: 2px solid rgba(255, 255, 255, 0.5);
}

@media (max-width: 1040px) {
  ._container {
    margin: 0 10px;
  }

  .skills__container {
    margin: 10px 10px 0 10px;
  }
}

@media (max-width: 768px) {
  .header__container {
    padding: 10px 20px;
    display: flex;
  }
  .gal__items {
    columns: 4;
  }

  .skills__container {
    margin: 10px 10px 0 10px;
  }
}
@media (max-width: 550px) {
  .header {
    margin: 10px 0 0 0;
  }

  .header__container {
    padding: 10px 20px;
  }
  .header__title {
    font-size: 30px;
  }
  .header__title span {
    font-size: 20px;
  }
  .header__icons {
    margin: 0 0 0 0;
  }

  .skills__container {
    margin: 10px 10px 0 10px;
  }
  .gal {
    margin: 65px 0 0 0;
  }
  .gal__items {
    columns: 3;
  }
}

@media (max-width: 425px) {
  .header {
    margin: 10px 0 0 0;
  }

  .header__container {
    padding: 10px 20px;
    display: flex;
    flex-direction: column-reverse;
  }

  .header__title {
    font-size: 25px;
  }
  .header__icons {
    margin: 0 0 5px 0;
  }
  .header__icon img {
    width: 25px;
    height: 25px;
    margin: 0 12px;
  }
  .skills__container {
    margin: 10px 10px 0 10px;
  }

  .gal {
    margin: 90px 0 0 0;
  }

  .gal__items {
    display: flex;
    flex-direction: column;
  }
  .gal__item {
    /*height: 30vh;*/
  }
}

@media (max-width: 375px) {
  .header {
    margin: 7px 0 0 0;
  }

  .header__container {
    flex-wrap: wrap;
    justify-content: center;
    padding: 12px;
  }

  .header__icons {
    margin: 3px 0;
  }

  .skills__container {
    margin: 10px 10px 0 10px;
  }
  .skills__container h1 {
    font-size: 1em;
  }

  .gal {
    margin: 70px 0 0 0;
    padding: 0;
  }

  .gal__items {
    columns: 2;
  }
}

/*--------COMING SOON---------------------------------*/

.soon {
  outline: 1px dotted #404040ff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.soon h1 {
  font-family: "Press Start 2P", cursive;
  opacity: 0.5;
  font-size: 20px;
  text-align: center;
  color: gray;
  text-shadow: 0 0 5px #02f;
}

.vibrate-1 {
  -webkit-animation: vibrate-1 0.8s ease-in-out infinite alternate;
  animation: vibrate-1 0.8s ease-in-out infinite alternate;
}

@-webkit-keyframes vibrate-1 {
  0% {
    -webkit-transform: translate(0);
    transform: translate(0);
  }
  20% {
    -webkit-transform: translate(-2px, 2px);
    transform: translate(-2px, 2px);
  }
  40% {
    -webkit-transform: translate(-2px, -2px);
    transform: translate(-2px, -2px);
  }
  60% {
    -webkit-transform: translate(2px, 2px);
    transform: translate(2px, 2px);
  }
  80% {
    -webkit-transform: translate(2px, -2px);
    transform: translate(2px, -2px);
  }
  100% {
    -webkit-transform: translate(0);
    transform: translate(0);
  }
}
@keyframes vibrate-1 {
  0% {
    -webkit-transform: translate(0);
    transform: translate(0);
  }
  20% {
    -webkit-transform: translate(-2px, 2px);
    transform: translate(-2px, 2px);
  }
  40% {
    -webkit-transform: translate(-2px, -2px);
    transform: translate(-2px, -2px);
  }
  60% {
    -webkit-transform: translate(2px, 2px);
    transform: translate(2px, 2px);
  }
  80% {
    -webkit-transform: translate(2px, -2px);
    transform: translate(2px, -2px);
  }
  100% {
    -webkit-transform: translate(0);
    transform: translate(0);
  }
}

.vibrate-2 {
  -webkit-animation: vibrate-2 0.6s infinite both;
  animation: vibrate-2 0.6s infinite both;
}

@-webkit-keyframes vibrate-2 {
  0% {
    -webkit-transform: translate(0);
    transform: translate(0);
  }
  20% {
    -webkit-transform: translate(2px, -2px);
    transform: translate(2px, -2px);
  }
  40% {
    -webkit-transform: translate(2px, 2px);
    transform: translate(2px, 2px);
  }
  60% {
    -webkit-transform: translate(-2px, 2px);
    transform: translate(-2px, 2px);
  }
  80% {
    -webkit-transform: translate(-2px, -2px);
    transform: translate(-2px, -2px);
  }
  100% {
    -webkit-transform: translate(0);
    transform: translate(0);
  }
}
@keyframes vibrate-2 {
  0% {
    -webkit-transform: translate(0);
    transform: translate(0);
  }
  20% {
    -webkit-transform: translate(2px, -2px);
    transform: translate(2px, -2px);
  }
  40% {
    -webkit-transform: translate(2px, 2px);
    transform: translate(2px, 2px);
  }
  60% {
    -webkit-transform: translate(-2px, 2px);
    transform: translate(-2px, 2px);
  }
  80% {
    -webkit-transform: translate(-2px, -2px);
    transform: translate(-2px, -2px);
  }
  100% {
    -webkit-transform: translate(0);
    transform: translate(0);
  }
}

.cursor {
  animation: cursor 0.5s linear infinite;
}
@keyframes cursor {
  0% {
    visibility: hidden;
    opacity: 0;
  }
  30% {
    visibility: visible;
    opacity: 1;
  }
}

.disco {
  animation: disco 1s infinite;
}

@keyframes disco {
  0% {
    color: red;
  }

  100% {
    color: green;
  }
}
