@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@300;400&display=swap");
:focus {
  outline: 0;
}
body {
  margin: 0;
  background-color: #ffffff;
}

.container {
  display: grid;
  height: 100vh;
  grid-template-columns: 15% 17.5% 17.5% 17.5% 17.5% 15%;
  grid-template-rows: 7% 85% 7.9% 0.1%;
  grid-template-areas:
    "nav nav nav nav nav nav"
    ". welcome welcome picture picture ."
    "socials socials socials socials socials socials"
    ". . . . . .";
}

nav {
  grid-area: nav;
  background-color: #fcfcfc;
  overflow: hidden;
  padding-top: 13px;
  text-align: center;
  font-family: Oswald;
  font-style: regular;
  font-weight: 400;
}

nav a {
  color: #000000;
  text-align: center;
  padding: 7% 15px;
  text-decoration: none;
  font-size: 12px;
}

/* Change the color of links on hover */
nav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add a color to the active/current link */
nav a.active {
  background-color: #fa8072;
  color: white;
}

.welcome {
  grid-area: welcome;
  margin: auto;
}

.picture {
  grid-area: picture;
  margin: auto;
}

.socials {
  grid-area: socials;
  text-align: center;
  -webkit-animation: scale-up-ver-center 1.5s
    cubic-bezier(0.39, 0.575, 0.565, 1) both;
  animation: scale-up-ver-center 0.4s cubic-bezier(0.39, 0.575, 0.565, 1) both;
}

.cv-btn {
  width: 110px;
  height: 50px;
  background: #ffffff 0% 0% no-repeat padding-box;
  border-radius: 2px;
  font-family: Oswald;
  font-style: regular;
  font-weight: 400;
  letter-spacing: 0px;
  color: #000000;
  border: 2px solid #fa8072;
  margin-top: 10%;
  margin-left: 30%;
  cursor: pointer;
}

@-webkit-keyframes scale-up-ver-center {
  0% {
    -webkit-transform: scaleY(0.4);
    transform: scaleY(0.4);
  }
  100% {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }
}
@keyframes scale-up-ver-center {
  0% {
    -webkit-transform: scaleY(0.4);
    transform: scaleY(0.4);
  }
  100% {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }
}

.cv-btn:hover {
  background-color: #fa8072;
  color: white;
  border: none;
}

@media only screen and (max-width: 900px) {
  .container {
    display: grid;
    height: 100vh;
    grid-template-columns: 1fr;
    grid-template-rows: 7% 3% 38% 38% 5% 11%;
    grid-template-areas:
      "nav"
      "."
      "picture"
      "welcome"
      "socials";
  }
}
