:root {
  --primary: color: #3C373B;
  --background-primary: deepskyblue;
  --background-secondary: hotpink;
  --background-tertiary: darkviolet;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'roboto';
}
a { text-decoration: none; }
img { border-radius: 20px; }

h1, h2, h3 {
  font-family: 'Gaugu', cursive;
}
h1 {
  font-size: 40px;
  animation: Float 2s infinite;
}
@keyframes Float {
  0%   { 
    transform: translateY(0px) scale3D(1,1,1);  
    color: red;
  }
  50%  { 
    transform: translateY(15px) scale3D(1.15, 1.15, 1);
    color: green;
  }
  100% { 
    transform: translateY(0px) scale3D(1,1,1);
    color: red;
  }
}

.container { padding: 0 35%; }

main {
  background: deepskyblue;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 100px 100px 400px auto 150px;
  
  grid-template-areas:
    'heading'
    'nav'
    'hero'
    'main-content'
    'contact'
}

#heading {
  grid-area: heading;
  display: grid;
  place-items: center;
}

nav {
  grid-area: nav;
  display: flex;
  justify-content: space-around;
  height: 100%;
  align-items: center;
  /* border: red solid 5px; */
}

nav > a {
  border: 1px solid lightgray;
  border-radius: 20px;
  padding: 20px;
  background: var(--background-secondary);
  color: white;

  transition: all 0.35s ease;
}
nav > a:hover {
  color: var(--background-secondary);
  background: var(--background-tertiary);
  transform: scale3d(1.3, 1.3, 1) rotate(45deg);
}

#hero {
  grid-area: hero;
  /* border: green solid 5px; */
}

#hero > h2 {
  margin: 25px 0;
}

#hero > img {
  border-radius: 10px;
}

#main-content {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 250px 250px 250px;
}

#main-content > .row {
  display: flex;
  /* border: solid red 5px; */
  padding: 2% 0;
}

#main-content > .row > .col {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  padding: 0 3%;
}

#contact {
  grid-area: contact;
  border-top: black 1px dashed;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  /* border: dotted darkviolet 5px; */
  height: 100%;
}
#contact > h3 {
  /* border: dotted hotpink 5px; */
}
#contact > .contact-info-container {
  /* border: dotted blue 5px; */
}
#contact > .contact-info-container > :not(:first-child) {
  /* background: green; */
  margin-top: 5px;
}

footer {
  background: var(--background-secondary);
  border-top: 1px dashed white;

  height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

#footer-nav {
  display: flex;
  justify-content: space-between;
}
#footer-nav > a { 
  color: black;
  transition: all 0.3s ease;
}
#footer-nav > a:hover {
  color: white;
  transform: scale3d(1.25, 1.25, 1);
}

/* ======================================= */
.downloads-container {
  width: 100%;
  position: absolute;
  display: flex;
  justify-content: flex-end;

  /* border: yellow 2px dotted; */
}

.downloads {
  height: 100px;
  width: 200px;
  
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;

  /* border: dashed red 2px; */
}

.downloads > a {
  color: white;
  border-radius: 20px;
  background: var(--background-tertiary);
  border: white 1px solid;
  padding: 10px;
  width: 98%;
}

code {
  font-family: consolas;
  color: lightblue;
}