:root {
  --bg-color: #1A1A1D;
  --secondary-color: #3B1C32;
  --main-color: #FAEBD7;
  --font-color: #ffffff;
  --click-color: #6A1E55;
  --border-color: #A64D79;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
}

/* HEADER */
header .container {
  background-color: var(--bg-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0rem 2rem;
  min-height: 6rem;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}
header h1 {
  pointer-events: none;
  color: var(--font-color);
}
header ul {
  display: flex;
  list-style: none;
  gap: 1rem;
}
header a {
  text-decoration: none;
  color: var(--font-color);
  font-size: 1.2rem;
  font-weight: 600;
}
header a:hover {
  opacity: 70%;
}
/* HERO */
#hero img {
  width: 100%;
  height: 100%;
  padding-top: 6rem;
  border: .1rem solid var(--bg-color);
}
/* MAIN */
main {
  padding: 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10rem;
}
#about, #skills, #contact {
  background-color: var(--font-color);
  width: 50%;
  justify-content: center;
  align-content: center;
  border-radius: .5rem;
  padding: 2rem;
  scale: 1.2;
  letter-spacing: .05rem;
}
#about h2, #skills h2, #contact h2 {
  border-bottom: .1rem groove var(--bg-color);
  margin-bottom: 1rem;
}
/* ABOUT */
#about h2 {
  padding-bottom: 1rem;
}
#about p {
  font-size: 1.25rem;
}
/* SKILLS */
#skills ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#skills h2 {
  padding-bottom: 1rem;
}
#skills li {
  font-size: 1.25rem;
}
/* CONTACT */
#contact .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
}
#contact form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: .4rem;
}
#contact label {
  font-size: 1.25rem;
}
#contact input, textarea {
  padding: .625rem 1.25rem;
  font-size: 1rem;
  background-color: var(--bg-color);
  color: var(--font-color);
  border-radius: .25rem;
  border-style: solid;
}
#contact input[type='submit'] {
  padding: .625rem 1.25rem;
  font-size: 1rem;
  background-color: var(--bg-color);
  color: var(--font-color);
  cursor: pointer;
  border-radius: .25rem;
  border-style: solid;
}
#contact input[type='submit']:hover {
  padding: .625rem 1.25rem;
  font-size: 1rem;
  background-color: var(--font-color);
  color: var(--bg-color);
}

/* FOOTER */
footer .container {
  background-color: var(--font-color);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0rem 2rem;
  min-height: 6rem;
}
footer a {
  color: var(--bg-color);
  font-weight: bold;
  text-decoration: none;
}

/* MEDIA QUERIES for Responsiveness*/
@media screen and (min-width: 786.1px), screen and (max-width: 786px) {
  #about, #skills, #contact {
    width: 70vw;
  }
}