:root {
  --background-color: #ffffff;
  --background-dark: #be1e2d;
  --background-light: rgb(230, 199, 172);
  --text-color: #222222;
  --shadow-color: ;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
body {
  font-family: "Poppins", "Roboto";
  color: var(--text-color);
  background-color: var(--background-color);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: auto;
  background-color: var(--background-light);
  padding: 1em 4em;
}
.logo {
  display: flex;
  align-items: center;
  gap: 1em;
  margin-right: 1em;
}
.logo h2 {
  color: var(--text-color);
  font-size: 1.5em;
}
header img {
  width: 3.5em;
  height: 3.5em;
}
nav a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 20px;
  margin-left: 3em;
  font-weight: 600;
}
nav a:hover {
  cursor: pointer;
  color: var(--background-dark);
  text-decoration: underline 6px;
  text-underline-offset: 20px;
}
#home {
  color: var(--background-dark);
}
#get-started {
  background-color: var(--background-dark);
  padding: 1em 3em;
  border: none;
  border-radius: 4px;
  box-shadow: 0px 2px 3px var(--shadow-color);
}
#get-started a {
  text-decoration: none;
  color: var(--background-color);
  font-size: 1.3em;
  font-weight: bold;
}
#get-started:hover {
  cursor: pointer;
  opacity: 0.9;
}
.fa-bars {
  display: none;
  color: var(--background-dark);
  cursor: pointer;
}
/* Side bar styling */
.side-bar {
  display: none;
  background-color: var(--background-light);
  width: 400px;
  height: 100%;
  position: fixed;
  right: 0;
  transition: right 0.3s ease;
  margin-top: 0.04em;
  position: absolute;
}

.side-bar-links {
  list-style-type: none;
  flex-direction: column;
  display: flex;
  text-align: left;
  margin-top: 2em;
  margin-bottom: 2em;
  gap: 1.2em;
  font-size: 1.5em;
  font-weight: bold;
}
.side-bar-links a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 20px;
  margin-left: 3em;
  font-weight: 600;
}
/* Hero Section */
.hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4em;
  padding: 3em 4em;
  height: 90vh;
}
.hero-data {
  width: 50%;
}
.hero-data h1 {
  color: var(--background-dark);
  font-size: 4em;
  text-shadow: 0px 2px 3px var(--text-color);
  font-family: "Roboto";
}
.hero-data p {
  font-size: 1.2em;
  margin-top: 1em;
  color: var(--text-color);
  text-shadow: 0px 1px 2px var(--background-light);
}
.hero-data a {
  text-decoration: none;
}
#cv-btn {
  margin-top: 2em;
  padding: 1em 2em;
  color: var(--background-color);
  background-color: var(--background-dark);
  border: none;
  box-shadow: 0px 2px 4px var(--text-color);
  border-radius: 4px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}
#cv-btn:hover {
  background-color: var(--background-light);
  color: var(--background-dark);
}
.fa-arrow-right {
  margin-left: 8px;
}
.hero-image img {
  width: 500px;
  height: 500px;
  border-radius: 4px;
  box-shadow: 2px 3px 6px var(--background-dark);
}

/* contact section */
.contact {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3em;
  padding: 3em 4em;
  height: auto;
  background-image: url(/images/red-bg.jpeg);
}
.res-image img {
  margin-left: 2em;
  width: 300px;
  height: 300px;
  border-radius: 4px;
  box-shadow: 2px 3px 6px var(--background-dark);
}
.res-data{
  text-align: center;
}
.res-data h1 {
  color: var(--background-color);
  font-size: 3.5em;
  text-shadow: 0px 2px 3px var(--text-color);
  font-family: "Roboto";
}
.res-data p {
  
  width: 60%;
  font-size: 1.2em;
  margin: 1em auto;
  color: var(--background-color);
  text-shadow: 0px 1px 2px var(--text-color);
}

.contact-btn {
  color: var(--text-color);
  font-size: 18px;
  font-weight: bold;
  margin-top: 2em;
  padding: 1em 2em;
  background-color: var(--background-light);
  border: none;
  box-shadow: 0px 2px 4px var(--text-color);
  border-radius: 4px;
  cursor: pointer;
}

.contact-btn:hover {
  background-color: var(--background-color);
  color: var(--background-dark);
}

/* footer */
footer {
  width: 100%;
  height: auto;
  padding-inline: 1em;
  background: var(--background-dark);
}
.fa-copyright {
  font-size: 18px;
}

footer p {
  color: var(--background-color);
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  padding: 1em;
  text-shadow: 0px 1px 2px var(--text-color);
}
@media (max-width: 1390px) {
  nav a {
    margin-left: 2em;
  }
}
@media (max-width: 1245px) {
  nav a {
    margin-left: 1em;
  }
}
@media (max-width: 1150px) {
  nav a {
    display: none;
  }
  #get-started {
    display: none;
  }
  .fa-bars {
    display: block;
  }
  .hero-section {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
    height: auto;
  }
  .hero-data {
    width: 90%;
  }
  .res-image img{
    width: 200px;
    height: 200px;
  }
  .res-data h1{
    font-size: 2em;
  }
  .res-data p{
    font-size: 1.2em;
    width: 90%;
  }
  #cv-btn {
    display: flex;
  }
  .side-bar.active {
    display: block;
    right: 0;
  }
  .side-bar-links a {
    display: block;
  }
  #get-started2 {
    margin-left: 4em;
    display: block;
    background-color: var(--background-dark);
    padding: 1em 3em;
    border: none;
    border-radius: 4px;
    box-shadow: 0px 2px 3px var(--shadow-color);
  }
  #get-started2 a {
    text-decoration: none;
    color: var(--background-color);
    font-size: 1.3em;
    font-weight: bold;
  }
  #get-started2:hover {
    cursor: pointer;
    opacity: 0.9;
  }
}

@media (max-width: 800px) {
  header {
    padding: 1em;
  }
  .logo {
    margin: 0;
    width: 90%;
  }
  .logo h2 {
    color: var(--text-color);
    font-size: 1em;
  }
  header img {
    width: 3em;
    height: 3em;
  }
  .hero-section {
    padding: 2em 1em;
  }
  .hero-image img {
    width: 300px;
    height: 300px;
  }
  .hero-data {
    width: 80%;
  }
  .contact{
    gap: 1em;
  }
  .res-image img{
    width: 160px;
    height: 160px;
    margin-left: 1em;
  }
  .res-data h1{
    font-size: 1.5em;
  }
  .res-data p{
    font-size: .7em;
    width: 100%;
  }
  .contact-btn{
    margin-top: .5em;
    padding: .5em 2em;
  }
  .hero-data h1 {
    font-size: 2.5em;
  }
  .hero-data p {
    font-size: 1em;
    margin-top: 1em;
  }
  #cv-btn {
    padding: 1em 1.5em;
    font-size: 1em;
    margin: 2em auto;
  }
  #nav-bar {
    margin-left: 0;
  }
}

@media (max-width: 500px){
  .hero-section img{
    width: 250px;
    height: 250px;
  }
  .hero-data h1 {
    font-size: 2em;
  }
  .hero-data p {
    font-size: .7em;
    margin-top: 1em;
  }
  .contact{
 padding: 2em 1em;
  }
  .res-image img{
    width: 120px;
    height: 120px;
  }
  .res-data h1{
    font-size: 1.2em;
  }
  .res-data p{
    font-size: .5em;
  }
  .contact-btn{
    padding: .3em 1em
  }
}