/*
=============== 
Fonts
===============
*/
@import url("https://fonts.googleapis.com/css?family=Open+Sans|Roboto:400,700&display=swap");

/*
=============== 
Variables
===============
*/

:root {
  /* dark shades of primary color*/
  --clr-primary-1: hsl(205, 86%, 17%);
  --clr-primary-2: hsl(205, 77%, 27%);
  --clr-primary-3: hsl(205, 72%, 37%);
  --clr-primary-4: hsl(205, 63%, 48%);
  /* primary/main color */
  --clr-primary-5: #49a6e9;
  /* lighter shades of primary color */
  --clr-primary-6: hsl(205, 89%, 70%);
  --clr-primary-7: hsl(205, 90%, 76%);
  --clr-primary-8: hsl(205, 86%, 81%);
  --clr-primary-9: hsl(205, 90%, 88%);
  --clr-primary-10: hsl(205, 100%, 96%);
  /* darkest grey - used for headings */
  --clr-grey-1: hsl(209, 61%, 16%);
  --clr-grey-2: hsl(211, 39%, 23%);
  --clr-grey-3: hsl(209, 34%, 30%);
  --clr-grey-4: hsl(209, 28%, 39%);
  /* grey used for paragraphs */
  --clr-grey-5: hsl(210, 22%, 49%);
  --clr-grey-6: hsl(209, 23%, 60%);
  --clr-grey-7: hsl(211, 27%, 70%);
  --clr-grey-8: hsl(210, 31%, 80%);
  --clr-grey-9: hsl(212, 33%, 89%);
  --clr-grey-10: hsl(210, 36%, 96%);
  --clr-white: #fff;
  --clr-red-dark: hsl(360, 67%, 44%);
  --clr-red-light: hsl(360, 71%, 66%);
  --clr-green-dark: hsl(125, 67%, 44%);
  --clr-green-light: hsl(125, 71%, 66%);
  --clr-secondary: hsla(182, 63%, 54%);
  --clr-black: #222;
  --ff-primary: "Roboto", sans-serif;
  --ff-secondary: "Open Sans", sans-serif;
  --transition: all 0.3s linear;
  --spacing: 0.25rem;
  --radius: 0.5rem;
  --light-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --dark-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  --max-width: 1170px;
  --fixed-width: 620px;
}

/*
=============== 
Global Styles
===============
*/
html {
  scroll-behavior: smooth;
}

*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h2::before {
}

h2:hover::before {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

body {
  font-family: var(--ff-secondary);
  /* background: var(--clr-grey-10); */
  color: var(--clr-grey-1);
  line-height: 1.5;
  font-size: 0.875rem;
}

.logo {
  width: 100px;
  height: auto;
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  letter-spacing: var(--spacing);
  text-transform: capitalize;
  line-height: 1.25;
  margin-bottom: 0.75rem;
  font-family: var(--ff-primary);
}

h1 {
  font-size: 3rem;
}

h2 {
  cursor: pointer;
  font-size: 2rem;
  color: rgb(255, 69, 0);
}

h3 {
  font-size: 1.25rem;
  color: var(--clr-black);
}

h4 {
  font-size: 0.875rem;
}

.heading-1,
.heading-3 {
  color: rgb(255, 69, 0);
}

p {
  margin-bottom: 1.25rem;
  color: var(--clr-grey-5);
}

@media screen and (min-width: 800px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
  }

  h3 {
    font-size: 1.75rem;
  }

  h4 {
    font-size: 1rem;
  }

  body {
    font-size: 1rem;
  }

  h1,
  .heading-1 {
    color: rgb(255, 69, 0);
    text-decoration: none;
  }
}

h2 {
  text-align: center;
}

.heading-3 {
  color: rgb(255, 69, 0);
  text-decoration: none;
}

h3 {
  color: var(--clr-black);
}

h4 {
  line-height: 1;
}

/*  global classes */

.btn {
  text-transform: uppercase;
  color: var(--clr-white);
  padding: 0.375rem 0.75rem;
  letter-spacing: var(--spacing);
  display: inline-block;
  transition: var(--transition);
  font-size: 0.875rem;
  border: none ;
  cursor: pointer;
  border-radius: var(--radius);
}

.btn:hover {
  background: gray;
}

.btn-white {
  color: var(--clr-white);
  background: none;
  border: 2px solid var(--clr-white);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0.5rem 1rem;
}

.btn-white:hover {
  background: floralwhite;
  color: rgb(255, 69, 0);
}

#btn-back-to-top {
  color: #f2f2f2;
  background-color: rgb(255, 69, 0);
  position: fixed;
  bottom: 30px;
  right: 20px;
  display: none;
  border-radius: 50%;
}

.project-btn {
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
}

#home {
  background-color: rgb(30, 30, 30);
  height: 100vh;
}

.nav-container {
  display: flex;
  flex-direction: row;
}

.nav-items {
  display: flex;
  height: 50px;
  margin: 10px;
  color: var(--clr-white);
}

.logo {
  cursor: pointer;
  border-radius: 50%;
  transition: transform 0.2s;
}
.logo:hover {
  transform: scale(1.1);
}

.fa-solid,
.fa-brands {
  color: var(--clr-white);
  margin: 5px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transfrom 0.2s;
}
.fa-solid:hover,
.fa-brands:hover {
  transform: scale(1.2);
}

.links {
  display: flex;
  color: var(--clr-white);
  margin: 10px;
}

.active {
  color: rgb(255, 69, 0);
}

.links-container {
  display: flex;
  flex-wrap: wrap;
  margin-left: auto;
  margin-right: 100px;
  align-items: center;
}

.nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  margin-left: 40px;
}

.banner {
  margin-top: 50px;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px;
}

.container {
  text-align: center;
  justify-content: center;
  align-items: center;
}

#skills {
  background-color: rgb(230, 230, 230);
  height: auto;
}

.frontend-heading {
  cursor: pointer;
  margin-top: 50px;
  margin-bottom: 30px;
  text-align: center;
  text-transform: capitalize;
}

.frontend-heading:hover {
  color: rgb(255, 69, 0);
}

.frontend {
  height: fit-content;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  background: transparent;
}

.frontend-skills {
  display: block;
  text-align: center;
  justify-content: center;
  margin: 10px 20px 10px 20px;
}

.frontend-picture {
  border-radius: 30%;
  cursor: pointer;
  width: 80px;
  height: 80px;
  transition: transform 0.2s;
}

.frontend-picture:hover {
  transform: scale(1.1);
}

.frontend-paragraph {
  cursor: pointer;
  color: rgb(104, 104, 104);
  text-align: center;
  font-weight: bold;
}

.frontend-paragraph:hover {
  color: var(--clr-black);
}

#projects {
  background-color: rgb(30, 30, 30);
  height: auto;
}

.project {
  display: flex;
  text-align: center;
  align-items: center;
  margin: 50px 50px 0px 50px;
}

.data {
  display: block;
  text-align: center;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  width: 100%;
  height: 50%;
}

.data-icon {
  color: black;
  margin-right: 10px;
}

.data-btn {
  margin-bottom: 80px;
}

.project-photo {
  width: 60%;
  height: 50%;
  transition: transform 0.2s;
  border-radius: 20px;
  cursor: pointer;
  border: 5px solid rgb(155, 155, 155);
}

.project-photo:hover {
  transform: scale(1.02);
  /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}

.project-description {
  font-size: 1.3rem;
  color: var(--clr-white);
  cursor: pointer;
  padding-top: 10px;
  transition: transform 0.2s;
}

.project-description:hover {
  transform: scale(1.1);
  font-weight: bold;
}

.button {
  background-color: var(--clr-white);
  border: none;
  color: black;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 16px;
  font-weight: bold;
  transition: transform 0.2s;
}

.button:hover {
  transform: scale(1.1);
}

#about {
  background-color: rgb(230, 230, 230);
  height: 110vh;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: 100%;
}
.profile-image {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
}

.about-photo {
  width: 45%;
  height: 75%;
  border: 5px solid rgb(68, 68, 68);
  margin-left: 10%;
  margin-bottom: 5%;
  cursor: pointer;
}

.info {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  margin: 0 5% 0 5%;
  font-weight: bold;
  font-size: 1.2rem;
  width: 70%;
  height: 80%;
  transition: transfrom 0.2s;
}
.info:hover {
  transform: scale(1.07);
}

.photo {
  width: 100%;
  height: 100%;
}

#contact {
  background-color: rgb(30, 30, 30);
  height: 110vh;
}
/* Style inputs with type="text", select elements and textareas */
input[type="text"],
select,
textarea {
  width: 100%; /* Full width */
  padding: 12px; /* Some padding */
  border: 1px solid #ccc; /* Gray border */
  border-radius: 4px; /* Rounded borders */
  box-sizing: border-box; /* Make sure that padding and width stays in place */
  margin-top: 6px; /* Add a top margin */
  margin-bottom: 16px; /* Bottom margin */
  resize: vertical; /* Allow the user to vertically resize the textarea (not horizontally) */
}

/* Style the submit button with a specific background color etc */
input[type="submit"] {
  background-color: #04aa6d;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* When moving the mouse over the submit button, add a darker green color */
input[type="submit"]:hover {
  background-color: #45a049;
}

/* Add a background color and some padding around the form */
.contact-container {
  max-width: 30%;
  height: auto;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  border: 2px solid #f2f2f2;
  border-radius:5%;
  background-color: #f2f2f2;
  padding: 20px 0 5px 0;
margin: 2% 0 1% 35%;
}

#bottom {
  background-color: rgb(30, 30, 30);
  text-align: center;
  padding: 10px;
}

.footer {
  background-color: rgb(30, 30, 30);
  color: var(--clr-white);
}

@media screen and (max-width: 1050px) {
  #home {
    height: 100vmax;
    width: auto;
  }
  .links-container {
    display: none;
  }
  .project {
    display: flex;
    flex-wrap: wrap;
  }
  #about {
    height: auto;
    width: auto;
  }
  .about-container {
    height: auto;
    width: auto;
  }
  .profile-image {
    flex-wrap: wrap;
  }
  .about-photo{
    border: none;
  }
  #contact{
    height: 100vmax;
  }
}
