@font-face {
  font-family: PicNic-Regular;
  src: url('../fonts/PicNic-Regular.eot');
  src: url('../fonts/PicNic-Regular.woff2') format('woff2'),
       url('../fonts/PicNic-Regular.woff') format('woff');
}

@font-face {
  font-family: Savate-Regular;
  src: url('../fonts/savate-regular-webfont.eot');
  src: url('../fonts/savate-regular-webfont.woff2') format('woff2'),
       url('../fonts/savate-regular-webfont.woff') format('woff'),
       url('../fonts/savate-regular-webfont.ttf')  format('truetype'),
       url('../fonts/savate-regular-webfont.svg') format('svg');
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

::-moz-selection {
  background: tomato;
  text-shadow: none;
}

::selection {
  background: tomato;
  text-shadow: none;
}

body {
  background: /*she sells */ SeaShell; /*s on the seashore */
  color: black;
  font-family: PicNic-Regular, sans-serif;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 1;
}

header {
  display: grid;
  grid-template-columns: 2fr 1fr;
  padding: 10px;
}

section {
  padding-top: 20px;
  padding-bottom: 20px;
}

h1, h2 {
  font-weight: normal;
  line-height: 1.4;
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 30px;
  letter-spacing: 0.015em;
  align-self: center;
}

h2 {
  font-family: Savate-Regular;
  font-size: 22px;
  justify-self: end;
  align-self: end;
  text-align: right;
  padding-bottom: 2px;
}

a {
  text-decoration: none;
  color: black;
}

a:hover {
  background: tomato;
  text-decoration: none;
}

p, address {
  line-height: 1;
  font-size: 60px;
  padding: 10px;
  margin-bottom: 20px;
}

/* Grid */

.grid-container {
  display: grid;
  padding: 40px 10px;
  grid-gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(450px, 2fr));
  line-height: 0;
}

.grid-item {
  padding: 0;
  align-self: center;
}

.grid-item img {
  width: 100%;
}

/* Marquee */ 

.marquee {
  font-family: Savate-Regular;
  position: relative;
  width: 100vw;
  max-width: 100%;
  height: 240px;
  overflow-x: hidden;
  font-size: 160px;
  text-transform: uppercase;
  border-top: 2px solid #161a1d;
  border-bottom: 2px solid #161a1d;
  padding-top: 35px;
}

.track {
  position: absolute;
  white-space: nowrap;
  will-change: transform;
  animation: marquee 32s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.dot {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #161a1d;
  display: inline-block;
  margin: 20px;
}

/* Footer */

footer {
  padding: 20px 10px;
  border-top: 2px solid;
  font-size: 30px;
}

footer ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-items: center;
}

footer ul li {
  display: grid;
  text-transform: uppercase;
}

address {
  font-style: normal;
}

/* Responsive */

@media only screen and (max-width: 1000px) {

  h1 {
    font-size: 20px;
  }

  h2 {
    font-size: 15px;
  }
  p, address {
    font-size: 30px;
  }

  .grid-container {
    grid-template-columns: 1fr 1fr;
  }

  .marquee {
    font-size: 80px;
    height: 120px;
    padding-top: 17px;
  }

  .dot {
    width: 40px;
    height: 40px;
    margin: 10px;
  }

  footer {
    font-size: 20px;
  }
}

@media only screen and (max-width: 500px) {
  p, address {
    font-size: 20px;
  }

  .grid-container {
    grid-template-columns: 1fr;
  }

}