:root {
  --color-primary: #1b1b32;
  --color-secondary: #3f0071;
  --color-tertiary: #04a9ea;
  --color-quarterly: #fb2576;
  --color-contrast: #fff;
}

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

body {
  background-color: var(--color-primary);
  font-family: "Gilda Display", sans-serif;
  font-weight: 500;
  font-style: normal;
  color: white;
}

a {
  text-decoration: none;
}

a:link,
a:active,
a:visited,
a:hover {
  color: white;
}

/*Top main menu*/
.top-nav-container {
  width: 100vw;
  background-color: var(--color-primary);
  padding: 0.5rem;
  box-shadow: 0 3px 15px 1px var(--color-quarterly);
  position: fixed;
  top: 0;
  z-index: 999;
}

#menu-icon {
  font-size: 2.5rem;
  padding: 0 0.5rem;
}

#menu__container {
  color: white;
  display: none;
  height: 100vh;
}

#menu__container a {
  display: block;
  font-size: 2rem;
  font-weight: 500;
  padding: 0.5rem;
  border-bottom: 0.1rem solid var(--color-quarterly);
}

#menu__container a:first-of-type {
  border-top: 0.1rem solid var(--color-quarterly);
}

/*Main container*/

.main-container {
  margin-top: 64px;
  margin-bottom: 800px;
  padding: 0 1rem;
}

/*Sections*/

section {
  padding: 2rem 0;
}

/*About section*/

.first-message {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  text-align: justify;
}

.colored-text {
  color: var(--color-quarterly);
}

.button-resume {
  display: block;
  margin: 1.6rem auto;
  width: 200px;
  height: 55px;
  border: 0;
  padding: 0;
  background-color: var(--color-secondary);
  color: var(--color-contrast);
  font-size: 1rem;
  font-weight: 900;
  border-width: 1px;
  border-style: dashed;
  border-color: var(--color-quarterly);
}

.hero {
  width: 100%;
  background-color: var(--color-secondary);
  background-image: url(./img/hero_bg.jpg);
  border-radius: 15px;
}

/*Media queries
>The project is optimized for two media breakpoints
>Small screens 0 - 640
>large screens 641 and larger
*/

@media screen and (min-width: 641px) {
  #menu-icon {
    display: none;
  }
  #menu__container {
    height: fit-content;
    display: flex;
    justify-content: center;
    gap: 1rem;
  }
  #menu__container a {
    display: inline;
    font-size: 1.5rem;
    font-weight: 600;
    border-bottom: none;
  }
  #menu__container a:first-of-type {
    border-top: none;
  }
}