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



/* Variables */
:root {
  --header-font: 'Source Sans Pro', sans-serif;
  --font-family: "Roboto", sans-serf;
  --normal-font: 400;
  --bold-font: 700;
  --bolder-font: 900;
  --bg-color: #e3eef5;
  --primary-color: #209CEE;
  --secondary-color: #EE7220;
  --primary-shadow: #b1b3d1;
  --secondary-shadow: #9c918b;
  --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 3.5rem;
  background-color: var(--bg-color);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

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

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 {
  display: flex;
  gap: 1.96rem;
}

nav ul li {
  font-weight: var(--bold-font);
}

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

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  max-width: 68.75rem;
  margin: auto;
}

.hero img{
  height: 37.5rem;
  width: 37.5rem;
}


.bio {   
  width: 25rem;
  padding: 0.625rem;
  border-radius: 6px;
  box-shadow: 0px 2px 15px 2px var(--primary-shadow);

}

.bio h1 {
  margin-bottom: var(--bottom-margin);
  color:var(--color);
  font-family: var(--header-font);
}

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

.bio h2 {
  font-family: var(--header-font);
}

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

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

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

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

.skill-header {
  margin-bottom: 1rem;
  font-family: var(--header-font);
  
}

.skills-list {
  list-style: none;
  padding: 0;
}

.skill-name {
  text-align: left;
  padding-top: 1rem;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
  font-weight: var(--bolder-font);
  font-family: var(--header-font);
}

.skill-bar {
  background-color: #f2f2f2;
  border-radius: 4px;
  height: 15px;
  box-shadow: 0 2px 8px var(--secondary-shadow);
}

.skill-level {
  background-color: var(--primary-color);
  border-radius: 4px;
  height: 100%;
}

.contact {
  margin-top: 2rem;
}

.contact h2 {
  text-align: center;
  margin-bottom: var(--bottom-margin-2);
  font-family: var(--header-font);
}

.contact-form-container {
  max-width: 40.75rem;
  margin: 0 auto;
  padding: 0.938rem;
  border-radius: 5px;
  box-shadow: 0 3px 10px var(--secondary-shadow);
}

.contact-form-container label {
  line-height: 2.7rem;
  font-weight: var(--bold-font);
  color: var(--primary-color);  
}

.contact-form-container textarea{
  min-height: 6.25rem;
  font-size: 14px;
}

.contact-form-container .input-field{
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 5px;
  border: none;
  border: 2px outset var(--primary-color);
  font-size: 0.875rem;
  outline: none;
}

.input-field::placeholder {
  padding: 0.5rem;
  color: var(--primary-color);
}

.submit-btn {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  background-color: #fff;
  border: 2px solid var(--primary-color);
  border-radius: 5px;
  font-size: 1rem;
  font-weight: var(--bold-font);
  transition: var(--transition);
  color: var(--primary-color);
}

.submit-btn:hover {
  background-color: var(--primary-color);
  border: 2px solid var(--primary-color);
  cursor: pointer;
}

.socials {
  display: flex;
  flex-direction: column;
  position: fixed;
  right: 1%;
  bottom: 50%;
}

.socicon {
  width: 3rem;
  height: 3rem;
}

footer {
  background-color: var(--bg-color);
  padding: 1.25rem;
  text-align: center;
  margin: 2rem 0 0;
}

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

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

@media screen and (max-width: 720px) {
  /*chnages reflects on screen with a width of 720px and below*/  
  nav {
    padding: 1.5rem 1rem;
  }
  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 {
    display: block;
  }

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

  .hero {
    /* margin-top: -4rem; */
    margin-top: 0;
    flex-direction: column;
    gap: 0;
  }

  .hero img {
    /* height: 37.5rem; */
    height: auto;
    /* width: 30rem; */
    width: 100%;
  }

  .bio {
    margin-top: 2rem;
    width: 100%;
    /* margin-top: -7rem;
    width: 20.5rem; */
  }

  .more-about {
    margin-top: 2rem;
    padding: 1rem 3.5rem;
  }

  .more-about h2 {
    text-align: center;
  }

  .more-about p {
    text-align: justify;
  }

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

  .skills {
    width: 20.5rem;
  }

}  

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

  .bio {
    width: 18.3rem;
  }

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

/* resume button */
.get-resume {
  background-color: var(--primary-color);
  border: none;
  color: var(--bg-color);
  padding: 12px 30px;
  cursor: pointer;
  font-size: 15px;
  border-radius: 4px;
  margin: auto;
  
}

/* Darker background on mouse-over */
.get-resume:hover {
  background-color: var(--secondary-color);
}

