@import url("https://fonts.googleapis.com/css2?family=Cabin&display=swap");

:root {
  --primary-color: #7f8ced;
  --primary-color-dark: #5867e8;
  --sun-color: #eda97f;
  --moon-color: #7fc3ed;
}

.light-mode {
  --text-color: #444452;
  --background-color: #f5f5f5;
}

.dark-mode {
  --text-color: #ffffff;
  --background-color: #374151;
}

* {
  font-family: "Cabin", sans-serif;
  color: var(--text-color);
}

html,
body {
  margin: 0;
  background-color: var(--background-color);
}

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

b {
  font-weight: 600;
}

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

a:hover {
  color: var(--primary-color-dark);
}

i {
  color: inherit;
}

.hidden {
  display: none;
}

.fa-stack {
  width: 2em;
}

.fa-square {
  color: white;
  transform: scale(0.9);
}

*::selection {
  background: var(--moon-color);
  color: white;
}

.container {
  padding: 0rem 1rem;
  width: 100%;
  box-sizing: border-box;
}

.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-content {
  order: 2;
}

.hero-image {
  order: 1;
  width: 100%;
}

.hero-text {
  margin: 0.5rem 0 0.25rem 0;
}

.hero-icons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 0.25rem;
}

.hero-icons > *:not(:last-child) {
  margin-right: 1rem;
}

.resume-button {
  font-size: 0.75rem;
  color: white;
  background-color: var(--primary-color);
  border-radius: 3px;
  padding: 5px 15px;
  margin-top: -1px;
}

.resume-button:hover {
  color: white;
  background-color: var(--primary-color-dark);
}

@media screen and (min-width: 432px) {
  .hero-image {
    width: 400px;
  }
}

@media screen and (min-width: 1300px) {
  .container {
    width: 1250px;
    margin: 0 auto;
  }

  .hero {
    flex-direction: row;
    justify-content: space-between;
  }

  .hero-content {
    order: 1;
  }

  .hero-image {
    order: 2;
  }
}
