@import url("https://fonts.googleapis.com/css2?family=Prompt:wght@400;500;600&family=Roboto:wght@300;400;500;700&display=swap");

/*Light Mode*/

:root {
  --primary-color: #f0f0f0;
  --primary-color-2: #fafafa;
  --primary-color-3: #b4b4b4;
  --background-color: #fff;
  --secondary-color: #000;
  --secondary-color-2: #555555;
  --button-background: #373737;
  --button-text-hover: #7f7f7f;
  --button-border: #373737 0.1rem solid;
  --button-border: #fff 0.1rem solid;
  --container-border: #a5a5a5 0.1rem solid;
}

/*Dark Mode*/

[theme="dark"] {
  --primary-color: RGB(5, 15, 10);
  --primary-color-2: RGB(2, 5, 3);
  --primary-color-3: RGB(34, 61, 55);
  --background-color: RGB(35, 35, 35);
  --secondary-color: RGB(255, 255, 255);
  --secondary-color-2: RGB(119, 133, 144);
  --button-background: RGB(160, 167, 180);
  --button-text-hover: RGB(74, 98, 101);
  --button-border: RGB(5, 15, 10) 0.1rem solid;
  --button-border: RGB(226, 227, 233) 0.1rem solid;
  --container-border: RGB(5, 15, 10) 0.1rem solid;
}

/*General*/

* {
  margin: 0;
  padding: 0;
}
h3 {
  color: var(--secondary-color);
}
body {
  font-family: "Prompt", sans-serif;
  background-color: var(--background-color);
}
html {
  scroll-behavior: smooth;
}
p {
  color: var(--secondary-color-2);
}

/*Transtion*/

a,
.btn {
  transition: all 300ms ease;
}

/*Desktop Navigition*/

nav,
.navLinks {
  display: flex;
  align-items: center;
}
nav {
  justify-content: space-around;
  height: 15vh;
}
.navLinks {
  gap: 2rem;
  list-style: none;
  font-size: 1.5rem;
}
nav li:last-child {
  width: max-content;
  display: flex;
  margin: auto;
  padding: 10px;
}
a {
  color: var(--secondary-color);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 0.5rem;
  text-decoration-color: var(--secondary-color);
}
nav a:hover {
  color: var(--secondary-color);
  text-decoration: var(--secondary-color);
}
.logo {
  font-size: 2rem;
  color: var(--secondary-color);
}
.logo:hover {
  cursor: default;
}

/*Mobile Navigation*/

#mobNav {
  display: none;
}
.mobMenu {
  position: relative;
  display: inline-block;
}
.mobIcon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 25px;
  width: 30px;
  cursor: pointer;
}
.mobIcon span {
  width: 100%;
  height: 2px;
  background-color: var(--secondary-color);
  transition: all 0.3 ease-in-out;
}
.menuLinks {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--primary-color);
  width: -moz-fit-content;
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3 ease-in-out;
}
.menuLinks a {
  display: block;
  padding: 10px;
  text-align: center;
  font-size: 1.5rem;
  color: var(--secondary-color);
  text-decoration: none;
  transition: all 0.3 ease-in-out;
}
.menuLinks li {
  list-style: none;
}
.menuLinks.open {
  max-height: 300px;
}
.mobIcon.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px);
}
.mobIcon.open span:nth-child(2) {
  opacity: 0;
}
.mobIcon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
}
.mobIcon span:first-child {
  transform: none;
}
.mobIcon span:nth-child(2) {
  opacity: 1;
}
.mobIcon span:last-child {
  transform: none;
}

/*Section*/

section {
  padding-top: 5vh;
  height: 95vh;
  margin: 0 10rem;
  box-sizing: border-box;
  min-height: -moz-fit-content;
  min-height: fit-content;
}
.section-container {
  display: flex;
}

/*Profile Section*/

#profile {
  display: flex;
  justify-content: center;
  gap: 5rem;
  height: 80vh;
}
.section--pic-container {
  display: flex;
  height: 400px;
  width: 400px;
  margin: auto 0;
  justify-content: center;
}
.section-text {
  align-self: center;
  text-align: center;
}
.section-text p {
  font-weight: 600;
}
.section-text-p1 {
  text-align: center;
}
.section-text-p2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}
.title {
  color: var(--secondary-color);
  font-size: 3rem;
  text-align: center;
}
#social-container {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 1rem;
}

/*Icon*/

.icon {
  height: 2rem;
  cursor: pointer;
}

/*Buttons*/

.btn-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.btn {
  font-weight: 600;
  transition: all 300ms ease;
  padding: 1rem;
  width: 8rem;
  border-radius: 2rem;
}
.btn-color-1,
.btn-color-2 {
  border: var(--button-border);
  color: var(--secondary-color-2);
}
.btn-color-1:hover,
.btn-color-2:hover {
  cursor: pointer;
}
.btn-color-1,
.btn-color-2:hover {
  background: var(--button-background);
  color: var(--primary-color);
}
.btn-color-1:hover {
  background: var(--secondary-color);
}
.btn-color-2 {
  background: none;
}
.btn-color-2:hover {
  border: var(--button-border);
  background: var(--secondary-color);
}
.btn-container {
  gap: 1rem;
}

/*About Section*/

#about {
  position: relative;
}
.about-container {
  gap: 2rem;
  margin: 2rem 0;
}
.about-details-container {
  justify-content: center;
  flex-direction: column;
}
.about-container,
.about-details-container {
  display: flex;
}
.about-picture {
  border-radius: 2rem;
}
.arrow {
  position: absolute;
  right: -5rem;
  bottom: 0;
}
.details-container {
  padding: 1.5rem;
  flex: 1;
  background: var(--primary-color-2);
  border-radius: 2rem;
  border: var(--button-border);
  border-color: var(--container-border);
  text-align: center;
}
.section-container {
  gap: 4rem;
  height: 80%;
}
.section--pic-container {
  height: 400px;
  width: 400px;
  margin: auto 0;
}

/*Experience Section*/

#experience {
  position: relative;
}
.experience-sub-title {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 1.75rem;
  margin-bottom: 2rem;
}
.experience-details-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.artical-container {
  display: flex;
  text-align: initial;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 2.5rem;
  justify-content: space-around;
}
article {
  display: flex;
  width: 10rem;
  justify-content: space-around;
  gap: 0.5rem;
}
article .icon {
  cursor: default;
}

/*Projects Section*/

#projects {
  position: relative;
}
.color-container {
  border-color: var(--container-border);
  background: var(--primary-color-2);
}
.project-img {
  border-radius: 1rem;
  width: 90%;
  height: 90%;
}
.project-title {
  margin: 1rem;
  color: var(--secondary-color);
}
.project-btn {
  color: var(--secondary-color);
  border-color: var(--container-border);
}

/*Contact Section*/

#contact {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 70vh;
}
.contact-info-upper-container {
  display: flex;
  justify-content: center;
  border-radius: 2rem;
  border: var(--button-border);
  border-color: var(--container-border);
  background: var(--primary-color);
  margin: 2rem auto;
  padding: 0.5rem;
}
.contact-info-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem;
}
.contact-info-container p {
  font-size: larger;
}
.contact-icon {
  cursor: default;
}

/*Foooter Section*/

footer {
  height: 25vh;
  margin: 0 1rem;
}
footer p {
  text-align: center;
}
.btn-att-links {
  font-weight: 100;
  padding: 0.1rem;
  width: 5rem;
  border: none;
  color: var(--secondary-color-2);
  text-decoration: none;
  background-color: var(--background-color);
  display: flex;
  justify-content: center;
  margin: 0 auto;
}
#att-links {
  text-align: center;
  font-size: xx-small;
}
