@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,900;1,700&display=swap");

/* Variables */
:root {
  --font-family: "Roboto", sans-serf;
  --normal-font: 400;
  --bold-font: 700;
  --bolder-font: 900;
  --bg-color: #fcfcfc;
  --primary-color: #4756df;
  --secondary-color: #ff7235;
  --primary-shadow: #8b8eaf;
  --secondary-shadow: #a17a69;
  --bottom-margin: 0.5rem;
  --bottom-margin-2: 1rem;
  --line-height: 1.7rem;
  --transition: 0.3s;
}

html {
  scroll-behavior: smooth;
}

/* CSS Resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* border: 2px solid red; */
}

ul {
  list-style-type: none;
}

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

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

body {
  font-family: var(--font-family);
}

nav {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1rem;
  background-color: var(--bg-color);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

nav h1 {
  color: var(--primary-color);
}

nav a {
  color: var(--primary-color);
  transition: var(--transition);
}
nav a:hover {
  color: var(--secondary-color);
  border-bottom: 2px solid var(--secondary-color);
}

nav ul {
  position: fixed;
  background-color: var(--bg-color);
  flex-direction: column;
  top: 86px;
  left: 10%;
  width: 80%;
  text-align: center;
  transform: translateX(120%);
  transition: transform 0.5s ease-in;
}

 nav ul li {
  margin: 8px;
}


.burger-menu {
  color: var(--primary-color);
  font-size: 2rem;
  border: 0;
  background-color: transparent;
  cursor: pointer;
  display: block;
}

nav ul.show {
  transform: translateX(0);
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 68.75rem;
  margin: auto;
  margin-top: -4rem;
  flex-direction: column;
  gap: 0;
}

.hero img {
  height: 30rem;
  width: 30rem;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  margin-top: 100px;
}


.bio {
  padding: 0.625rem;
  border-radius: 6px;
  box-shadow: 0px 2px 15px 2px var(--primary-shadow);
  margin-top: 10px;
  width: 20.5rem;
}

.bio h1 {
  margin-bottom: var(--bottom-margin);
}

.bio p {
  line-height: var(--line-height);
  padding: 0.3rem 0;
}

.bio-a {
  text-align: center;
}

.more-about {
  background-color: var(--bg-color);
  padding: 1rem 6rem;
  margin-top: 2rem;
  padding: 1rem 3.5rem;
}

.more-about h2 {
  margin-bottom: var(--bottom-margin);
  text-align: center;

}

.more-about p {
  line-height: var(--line-height);
  padding: 0.4rem;
  text-align: justify;
}

.skills {
  max-width: 68.75rem;
  margin: auto;
  text-align: center;
  margin-top: 2.5rem;
}

.skill-header {
  margin-bottom: 1rem;
}

.skills-wrapper img {
  padding: 1.25rem;
}

.icon {
  width: 5.875rem;
  height: 5.25rem;
}

.icon-card {
  background-color: #fff;
  border-radius: 11px;
  box-shadow: 0 3px 10px var(--secondary-shadow);
  padding: 20px;
  margin: 10px;
}

.projects {
  background-color: var(--bg-color);
  padding: 32px 0;
  margin-top: 2rem;
}

.project-pic {
  width: 65%;
  height: 60%;
}

.projects-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.projects-title {
  text-align: center;
  margin-bottom: 1rem;
}

.project-container {
  text-align: center;
  width: 20.875rem;
  padding: 1rem;
}

.project-container p {
  padding: 0.4rem;
}

.project-title {
  margin-bottom: var(--bottom-margin);
}

.project-details {
  margin-bottom: var(--bottom-margin);
}

.project-card {
  background-color: #fff;
  border-radius: 11px;
  box-shadow: 0 3px 10px var(--primary-shadow);
  padding: 20px;
  margin: 10px;
}


.scroll-up {
  position: fixed;
  right: 0.5%;
  bottom: 3%;
  cursor: pointer;
}

.up-arrow {
  width: 3rem;
  height: 3rem;
}

@media screen and (max-width: 720px) {
  /*changes reflects on screen with a width of 720px and below*/
}

@media screen and (max-width: 420px) {
  .hero img {
    height: 37.5rem;
    width: 23rem;
  }

  .bio {
    width: 18.3rem;
  }

  .project-container {
    width: 17.875rem;
  }

  .contact-form-container {
    max-width: 17.75rem;
  }
} 

.column-2a {
  width: 100%;
  padding: 40px;
  padding-left: 70px;
  padding-right: 70px;
  padding-bottom: 60px;
  margin: auto;
  background-color: white;
  overflow: hidden; /* Clear floats */
}
.column-2a h2 {
  text-align: center;
  padding-bottom: 20px;
}

.education-entry {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Space between text and image */
  margin-bottom: 20px;
}

.school-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 20px;
}

.school-icon img {
  width: 100px;
  height: 100px;
}

.contact-section {
  width: 100%;
  padding: 70px;
  background-color: white;
  margin: auto;
  text-align: left;
}

.contact-section h2 {
  text-align: center;
}

.contact-details {
  margin-top: 20px;
}

.contact-details p {
  margin-bottom: 10px;
}
