* {
  box-sizing: border-box;
}

:root {
  --theme-primary: #6a0d06;
  --theme-secondary: #b2c7ab;
  --theme-tertiary: #eef3ea;
  --theme-quaternary: #4a0904;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: env(safe-area-inset-top, 0px);
}

body {
  background-color: var(--theme-secondary);
  color: var(--theme-primary);
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  max-width: 100vw;
  display: flex;
  flex-direction: column;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
}

header {
  border-bottom: 1px solid rgba(106, 13, 6, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--theme-secondary);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

nav {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
}

nav button {
  background: none;
  border: none;
  color: var(--theme-primary);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  border-bottom: 5px solid transparent;
  transition: all 0.2s ease;
}


nav button:hover {
  border-color: var(--theme-primary);
}

nav button:hover {
  border-bottom: 5px dashed;
}

nav button.on{
  border-bottom: 5px solid var(--theme-primary);
}

main {
  flex: 1;
  /* padding: 2.5rem 0; */
}

.page {
  display: flex;
  height: 100vh;
}

#home {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
}

.left {
  /* background-color: red;s */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.h1-text,
.h1-p {
  max-width: 45vw;
}

.h1-p {
  max-width: 40vw;
  text-align: justify;
}

.learn-more {
  color: var(--theme-primary);
  /* text-decoration-color: white; */
}

.learn-more:hover {
  text-decoration-color: var(--theme-primary);
  font-weight: bolder;
}

h1 {
  font-weight: 900;
  font-size: 5rem;
  color: var(--theme-primary);
}

h2 {
  font-weight: bolder;
  font-size: 3rem;
  margin: 0;
}

h3 {
  font-weight: 900;
  font-size: 1.5rem;
}

.buttons {
  /* background-color: #c9b59c; */
  display: grid;
  grid-template-columns: 250px 250px;
}

.btn {
  background: var(--theme-primary);
  color: #eef3ea;
  border: 2px solid var(--theme-primary);
  border-radius: 1rem;
  padding: 0.6rem 1.4rem;
  font: inherit;
  font-weight: bolder;
  cursor: pointer;
  text-decoration: none;
  margin: 0 0.5rem 0.5rem 0;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
  background: #4a0904;
  color: white;
  border-color: var(--theme-primary);
}

.btn.alt {
  background: #eef3ea;
  color: var(--theme-primary);
  border-color: var(--theme-primary);
  font-weight: bolder;
}

.btn.alt:hover {
  background: #4a0904;
  color: white;
}
.right {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 5.5rem;
}

.right-container {
  padding: 2rem;
  background-color: var(--theme-primary);
  color: white;
  border-radius: 2rem;
}

.lists li {
  border-bottom: 1px solid var(--theme-secondary);
  margin-top: 1rem;
}

/* Skills CSS */

#skills {
  background-color: var(--theme-primary);
  flex-direction: column;
  padding: 5rem 7rem;
  margin-bottom: 5rem;
  height: 100%;
  border-radius: 5rem;
  color: var(--theme-secondary);
}

#skills h2 {
  color: white;
}

#skills .h2-text,
.circle {
  color: var(--theme-secondary);

}

.each-skill-list {
  display: grid;
  grid-template-columns: 0.3fr 0.8fr 1.5fr 0.5fr;
  border-bottom: 1px solid var(--theme-secondary);
  padding-top: 1.5rem;
  padding-bottom: 1rem;
}

.skill-name {
  font-weight: 600;
  font-size: 1.4rem;
  color: white;
}

.skill-text {
  display: flex;
  align-items: center;
  /* background-color: yellow; */
  padding-left: 1rem;
  padding-right: 1rem;
  color: #eef3ea;
    text-align: justify;

}

.icon {
  display: flex;
  justify-content: center;
  background: var(--theme-secondary);
  align-items: center;
  width: 35px;
  height: 35px;
  border-radius: 1px;
  border: 3px dashed var(--theme-primary);
}

.icon img,
.icon-container img,
.social img {
  height: 20px;
  width: 20px;
}

.circle-container {
  /* background-color: brown; */
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: center;
}

.circle,
.circle-l {
  border-radius: 50px;
  padding: 0.6rem 1rem;
  text-align: center;
}

.circle {
  border: 2px solid var(--theme-secondary);
}

.circle-l {
  color: var(--theme-primary);
  border: none;
  background-color: var(--theme-secondary);
}

/* Footer*/

footer {
  border-top: 1px solid rgba(106, 13, 6, 0.25);
  padding: 1.2rem 0;
  font-size: 0.9rem;
}

footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2rem;
  justify-content: space-between;
}

footer a {
  color: var(--theme-primary);
  margin-left: 1rem;
  cursor: pointer;
  text-decoration: none;
}
footer a:hover {
  color: var(--theme-primary);
  font-weight: bolder;
}

.etini-unaam {
  font-family: "Luckiest Guy", cursive;
  letter-spacing: 1px;
  font-size: 1.1rem;
  font-weight:900;
  color: var(--theme-primary);
  margin-bottom: 1rem;
  background: #eef3ea;
  width: 25%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
  border-radius: 1rem;
  border: 16px dashed var(--theme-secondary);
  margin-top: 1rem;
  grid-column: 1;
  justify-self: start;
  width: auto;
}

.etini-unaam:hover {
  background: #6a0d068d;
  color: white;
}
.etini-unaam:active {
  background: #6a0d06;
}

header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  max-width: none;
  padding: 0 clamp(1rem, 4vw, 3rem);
}

header .container nav {
  grid-column: 2;
}