/* start of declaration of font family */

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

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

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

/* end of declaration of font family */

/* start of declaration of variables */
/* Originally #164577 & #16457708 */
/* Then #3e6a9a & #3e6b9a00 - 245890, 285584 */

:root {
  --primary-color: black;
  --secondary-color: #285584;
  --shadow-color: #3e6b9a00;
}

/* end of declaration of variables */

/* start of global styles */

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

body {
  font-size: 20px;
  font-family: SFPro, ProximaNova, Arial, Helvetica, sans-serif;
  /* fallback */
  color: var(--primary-color);
  background-color: white;

  @media (width < 900px) {
    font-size: 18px;
  }
}

a {
  /* Was underline, var(--secondary-color) */
  color: inherit;
  text-decoration: none;

  &:hover {
    color: white;
  }
}

address {
  font-style: normal;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  padding: 0;
}

/* end of global styles */

/* start of navbar styles */

#navbar {
  display: flex;
  justify-content: space-between;

  font-family: SFPro;
  color: white;

  width: 100%;
  position: fixed;
  z-index: 1;
  top: 0px;

  @media (width < 900px) {
    flex-direction: column;
  }
}

#navbar-offset {
  position: absolute;
  top: -64px;
}

#nav-header {
  display: flex;
  justify-content: space-between;
}

#nav-button {
  display: none;

  width: 64px;
  height: 64px;
  padding: 16px 18px;
  font-size: 32px;
  background-color: transparent;
  color: white;
  border: none;

  @media (width < 900px) {
    display: block;
  }
}

#logo {
  height: 80px;

  @media (width < 900px) {
    height: 64px;
  }
}

#nav-items {
  display: flex;
  justify-content: space-between;
  gap: 40px;

  list-style: none;
  margin: 0px 40px;

  @media (width >=900px) {
    display: flex;
  }

  @media (width < 900px) {
    display: none;
    flex-direction: column;
    gap: 16px;

    margin: 16px 16px;
  }
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 16px;

  @media (width < 900px) {
    justify-content: right;
  }
}

.nav-link {
  text-decoration: none;

  &:hover {
    color: inherit;
    text-decoration: none;
  }
}

/* end of navbar styles */

/* start of common styles */

.landing-point {
  position: relative;
  bottom: 64px;
}

#banner {
  width: 100%;
}

#content {
  display: flex;
  flex-direction: column;
  font-family: SFPro;
}

#introduction-section {
  text-align: center;
  gap: 0px;
}

#tagline {
  letter-spacing: 2px;
  font-family: Urzeit;
  font-weight: 200px;
  font-size: 54px;

  @media (width < 900px) {
    font-size: 48px;
  }
}

#introduction-text {
  max-width: 65%;
  margin: 0 auto;

  @media (width < 900px) {
    max-width: 75%;
  }
}

.section {
  display: flex;
  flex-direction: column;
  gap: 32px;

  padding: 40px 64px;

  @media (width < 900px) {
    gap: 20px;

    padding: 24px 24px;
  }
}

.header {
  /* originally 64px & 48px */
  font-size: 54px;
  font-weight: 400;
  font-family: Urzeit;
  color: var(--secondary-color);
  letter-spacing: 4px;
  text-align: center;

  @media (width < 900px) {
    font-size: 48px;
  }
}

.subheader {
  /* originally 32px & 24px */
  font-size: 36px;
  font-weight: 200;
  font-family: Urzeit;
  color: var(--secondary-color);
  letter-spacing: 2px;

  @media (width < 1000px) {
    font-size: 28px;
  }
}

.photo {
  box-shadow: 0px 0px 2px 2px var(--shadow-color);
  border-radius: 8px;
}

#footer {
  /* original padding 64px & 32px */
  display: flex;
  flex-direction: column;
  gap: 16px;

  text-align: center;
  border-top: 1px solid var(--shadow-color);
  padding-top: 16px;
  padding-bottom: 32px;
  margin: 0px 0px 0px 0px;
  background-color: var(--secondary-color);
  color: white;

  @media (width < 900px) {
    padding-top: 16px;
    padding-bottom: 32px;
    margin: 0px 0px 0px 0px;
  }
}

.inverted-colors {
  background-color: var(--secondary-color);
  color: white;
}

/* end of common styles */

/* start of menu styles */

#menu-switcher {
  display: flex;
  justify-content: center;
}

.menu-button {
  font-size: 24px;
  font-weight: 200px;
  font-family: Urzeit;
  letter-spacing: 2px;

  padding: 8px 16px;
  border: 2px solid var(--secondary-color);
  cursor: pointer;

  @media (width < 900px) {
    font-size: 22px;
    padding: 6px 12px;
  }
}

#daytime-menu-button {
  background-color: white;
  color: var(--secondary-color);

  border-radius: 8px 0px 0px 8px;
  border-right: none;
}

#evening-menu-button {
  background-color: var(--secondary-color);
  color: white;

  border-radius: 0px 8px 8px 0px;
  border-left: none;
}

.menu-hours {
  text-align: center;
}

.menu {
  display: flex;
  justify-content: center;
  gap: 44px;

  @media (width < 900px) {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}

.menu-column {
  display: flex;
  flex-direction: column;
  gap: 24px;

  width: 480px;

  @media (width < 900px) {
    gap: 20px;
    width: 80%;
  }
}

.menu-row {
  display: flex;
  justify-content: space-between;
}

.menu-row-center {
  display: flex;
  justify-content: center;
}

.menu-linebreak {
  height: 14px;
}

.food,
.food-options {
  display: flex;
}

.food-number,
.menu-indentation {
  width: 42px;
  color: var(--secondary-color);

  @media (width < 900px) {
    width: 36px;
  }
}

.food-daytime-description {
  padding: 0px 40px 0px 0px;

  @media (width < 900px) {
    padding: 0px 30px 0px 0px;
  }
}

.food-evening-description {
  padding: 0px 42px 0px 0px;

  @media (width < 900px) {
    padding: 0px 36px 0px 0px;
  }
}

.coffee-indentation {
  width: 24px;
}

.price {
  display: flex;
  align-items: center;
}

.menu-note {
  font-size: 20px;

  @media (width < 900px) {
    font-size: 18px;
  }
}

/* end of menu styles */

/* start of coffee styles */
/* Photo/Text widths were 32%/64% */

.coffee-subsection {
  display: flex;
  justify-content: center;
  gap: 64px;

  @media (width < 900px) {
    flex-direction: column;
    gap: 16px;
  }
}

.coffee-photo {
  width: 44%;

  @media (width < 900px) {
    width: 100%;
  }
}

.right-photo-desktop {
  @media (width >=900px) {
    display: inline;
  }

  @media (width < 900px) {
    display: none;
  }
}

.right-photo-mobile {
  @media (width >=900px) {
    display: none;
  }

  @media (width < 900px) {
    display: inline;
  }
}

.coffee-paragraph {
  display: flex;
  align-items: center;

  width: 52%;

  @media (width < 900px) {
    width: 100%;

    text-align: justify;
  }
}

/* end of coffee styles */

/* start of thai styles */

.thai-subsection {
  display: flex;
  justify-content: center;
  gap: 64px;

  @media (width < 900px) {
    flex-direction: column;
    gap: 16px;
  }
}

.thai-photo {
  width: 44%;

  @media (width < 900px) {
    width: 100%;
  }
}

.right-photo-desktop {
  @media (width >=900px) {
    display: inline;
  }

  @media (width < 900px) {
    display: none;
  }
}

.right-photo-mobile {
  @media (width >=900px) {
    display: none;
  }

  @media (width < 900px) {
    display: inline;
  }
}

.thai-paragraph {
  display: flex;
  align-items: center;

  width: 52%;

  @media (width < 900px) {
    width: 100%;

    text-align: justify;
  }
}

/* end of thai styles */

/* start of specials styles */

#specials {
  display: flex;
  justify-content: center;
  gap: 64px;

  @media (width < 900px) {
    flex-direction: column;
    gap: 16px;
  }
}

.special {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

/* end of specials styles */

/* start of about styles */

.about-subsection {
  display: flex;
  justify-content: center;
  gap: 64px;

  @media (width < 900px) {
    flex-direction: column;
    gap: 16px;
  }
}

.about-photo {
  width: 44%;

  @media (width < 900px) {
    width: 100%;
  }
}

.right-photo-desktop {
  @media (width >=900px) {
    display: inline;
  }

  @media (width < 900px) {
    display: none;
  }
}

.right-photo-mobile {
  @media (width >=900px) {
    display: none;
  }

  @media (width < 900px) {
    display: inline;
  }
}

.about-paragraph {
  display: flex;
  align-items: center;

  width: 52%;

  @media (width < 900px) {
    width: 100%;

    text-align: justify;
  }
}

/* end of about styles */

/* start of contact styles */

#contact-information {
  display: flex;
  justify-content: center;
  gap: 32px;

  @media (width < 900px) {
    flex-direction: column;
    gap: 16px;
  }
}

#contact-table {
  width: 100%;
  text-align: left;
  padding: 2px;

  td,
  th {
    padding: 1px 12px;
  }
}

.contact-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;

  width: 100%;
  text-align: center;
}

.contact-icon {
  color: white;
}

#map {
  width: 100%;
  aspect-ratio: 1.25;
  border: none;

  @media (width < 900px) {
    width: calc(100% - 8px);
  }
}

/* end of contact styles */