/* start of declaration of font family */

@font-face {
  font-family: "Teachers";
  src: url("./fonts/Teachers.ttf");
}

/* end of declaration of font family */

/* start of declaration of variables */

:root {
  --primary-color: black;
  --secondary-color: royalblue;
  --tertiary-color: darkorange;
  --shadow-color: #4169e132;
}

/* end of declaration of variables */

/* start of global styles */

body,
ul,
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

body {
  background-color: white;
  color: var(--primary-color);

  font-family: Arial, Helvetica, sans-serif; /* fallback */

  @media (width >= 480px) {
    font-size: 20px;
  }

  @media (width < 480px) {
    font-size: 17px;
  }
}

a {
  color: var(--secondary-color);
  text-decoration: none;

  &:hover {
    color: var(--tertiary-color);
    text-decoration: underline;
  }
}

address {
  font-style: normal;
}

img, object {
  max-width: 100%;
}

ul {
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
}

h2 {
  text-align: center;
}

/* end of global styles */

#content {
  font-family: Teachers;

  /* order matters */
  @media (width >= 960px) {
    margin: 32px 256px;
  }

  @media (width < 960px) {
    margin: 16px 128px;
  }

  @media (width < 480px) {
    margin: 16px 24px;
  }
}

#introduction {
  text-align: center;

  @media (width >= 480px) {
    margin-bottom: 24px;
  }

  @media (width < 480px) {
    margin-bottom: 16px;
  }
}

#greeting {
  @media (width < 480px) {
    font-size: 28px;
  }
}

.divider {
  border-top: 1px solid var(--shadow-color);
}

.location {
  @media (width >= 480px) {
    margin: 32px 0px;
  }

  @media (width < 480px) {
    margin: 16px 0px;
  }
}

.attraction, .food {
  @media (width >= 480px) {
    margin-top: 16px;
  }

  @media (width < 480px) {
    margin-top: 8px;
  }
}

.photograph, .list {
  @media (width >= 480px) {
    margin-top: 8px;
  }

  @media (width < 480px) {
    margin-top: 4px;
  }
}
