/* Color Palette */
:root {
  --white: #F7F6F0;
  --blue: #003049;
  --orange: #C15527;
  --yellow: #FCBF49;
  --purple: #713E5A;
}

/* custom fonts */
@font-face {
  font-family: myGothicBook;
  src: url("avant-garde-gothic-book.otf");
}

@font-face {
  font-family: myGothicDemi;
  src: url("avant-garde-gothic-demi.otf");
}

@font-face {
  font-family: myAmericana;
  src: url("americana-std-bold.otf");
}

@font-face {
  font-family: myGothicBold;
  src: url("avant-garde-gothic-bold.otf");
}

@font-face {
  font-family: myAmericanaExtraBold;
  src: url("americana-std-extra-bold.otf");
}

@font-face {
  font-family: tex-italic;
  src: url("../sources/tex-italic.otf");
}

@font-face {
  font-family: terminaTest;
  src: url("../sources/TerminaTest-Demi.otf");
}


html {
  font-size: 40%;
  /* remove slight scrollbar from 100vw elements */
  overflow-x: hidden;
  background-color: var(--white);
}

h1 {
  font-size: 14rem;
  font-family: myAmericanaExtraBold;
}

.a-button {
  padding: 15px 50px;
  background-color: var(--orange);
  color: white;
  font-size: 5rem;
  font-family: myGothicBold;
  border-radius: 56px;
  text-align: center;
  letter-spacing: 5px;
}

/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2. Remove default margin */
* {
  margin: 0;
  font-family: sans-serif;
  /* max-width: 100vw; */
}

body {
  /* 3. Add accessible line-height */
  line-height: 1.2;
  /* 4. Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* 5. Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* 6. Inherit fonts for form controls */
input,
button,
textarea,
select {
  font: inherit;
}

/* 7. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

/* 8. Improve line wrapping */
p {
  text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

/*
    9. Create a root stacking context
  */
#root,
#__next {
  isolation: isolate;
}

a {
  color: inherit;
  /* blue colors for links too */
  text-decoration: inherit;
  /* no underline */
}




#navbar {
  opacity: 0.8;
  top: 30px;
  right: 30px;
  position: fixed;
  display: flex;
  flex-direction: column;
  width: fit-content;
  z-index: 100;
  text-justify: center;
  justify-content: center;
  background-color: #D5D4CF;
  gap: 1vw;
  border-radius: 51px;
  
}

#graphic-design-container {
  display: none;
  flex-direction: column;
  gap: .5vw;
  margin-left: 1vw;
}

#navbar a, #navbar div {
  display: none;
}

#navbar a {
  font-size: 22px;
  color: var(--purple);
  font-family: myGothicDemi;
  text-wrap: nowrap;
}

#graphic-design-container a {
  filter: brightness(1.2);
}

#navbar > img {
  height: 90px;
  padding: 12px;
  margin-left: auto;
}

#navbar > img:hover {
  cursor: grab;
}

#navbar a:hover {
  font-family: myGothicBold;
}

@media screen and (max-width: 1400px){
  html {
    font-size: 25%;
  }
}

@media (max-width: 768px) {
  #navbar {
    gap: 2vh;
  }

  #graphic-design-container {
    gap: 1.5vh;
  }

  
}