:root {
  --base-colour: white;
  --base-variant: #e8e9ed;
  --text-color: #111528;
  --secondary-text: #383c4d;
  --primary-color: #3a435d;
  --accent-color: #0071ff;
  --box-shadow-color: rgba(0, 0, 0, 0.5);
}

.darkMode {
  --base-colour: #070b1d;
  --base-variant: #101425;
  --text-color: #ffffff;
  --secondary-text: #a4a5b8;
  --primary-color: #3a435d;
  --accent-color: #0071ff;
  --box-shadow-color: rgba(255, 255, 255, 0.5);
}

#theme-switch {
  margin-top: 15px;
  margin-right: 10px;
  height: 50px;
  width: 50px;
  padding: 0;
  border-radius: 50%;
  background-color: var(--base-variant);
  display: flex;
  justify-content: center;
  align-items: center;
}

#theme-switch svg {
  fill: var(--primary-color);
}

#theme-switch svg:last-child {
  display: none;
}

.darkMode #theme-switch svg:first-child {
  display: none;
}

.darkMode #theme-switch svg:last-child {
  display: block;
}

body {
  display: flex;
  flex-direction: column;
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--base-colour);
  color: var(--text-color);
}

header {
  display: none;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 15px auto;
  width: 100%;
  padding-bottom: 70px;
}

.introLine {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 30px;
}
.introLine__img {
  display: none;
}
.introLine__juniorDev {
  display: flex;
  text-align: left;
}

.aboutMe {
  text-align: center;
  padding-top: 50px;
}
.aboutMe__content {
  padding: 5px 5px;
}
.aboutMe__img {
  width: 300px;
  height: 300px;
  border-radius: 10%;
  object-fit: cover;
}

.technicalSkills {
  text-align: center;
  padding-top: 30px;
}
.technicalSkills__title {
  font-weight: bold;
}

#html {
  text-align: center;
}

#css {
  text-align: center;
}

#sass {
  text-align: center;
}

#react {
  text-align: center;
}

#javaScript {
  text-align: center;
}

#typeScript {
  text-align: center;
}

#java {
  text-align: center;
}

#springBoot {
  text-align: center;
}

#gitHub {
  text-align: center;
}

#git {
  text-align: center;
}

.icons1 {
  display: flex;
  align-items: center;
  justify-content: center;
}
.icons1__html {
  fill: orange;
  width: 75px;
  height: 75px;
}
.icons1__css {
  fill: blue;
  width: 75px;
  height: 75px;
}
.icons1__react {
  fill: turquoise;
  width: 75px;
  height: 75px;
}
.icons1__javaScript {
  fill: rgb(245, 245, 29);
  width: 75px;
  height: 75px;
}

.icons2 {
  display: flex;
  align-items: center;
  justify-content: center;
}
.icons2__springBoot {
  fill: green;
  width: 75px;
  height: 75px;
}
.icons2__java {
  width: 75px;
  height: 75px;
}
.icons2__github {
  fill: rgb(82, 8, 202);
  width: 75px;
  height: 75px;
}

.icons3 {
  display: flex;
  align-items: center;
  justify-content: center;
}
.icons3__sass {
  fill: pink;
  width: 50px;
  height: 50px;
}
.icons3__typeScript {
  fill: #007acc;
  width: 50px;
  height: 50px;
}

.icons4 {
  display: flex;
  align-items: center;
  justify-content: center;
}
.icons4__git {
  fill: rgb(243, 84, 26);
  width: 75px;
  height: 75px;
}

.projectsContainer {
  text-align: center;
  padding-top: 30px;
}
.projectsContainer__title, .projectsContainer__para {
  text-align: center;
}

.project-card {
  background-color: var(--base-colour);
  color: var(--text-color);
  box-shadow: 0 4px 10px var(--box-shadow-color);
  border: 1.5px solid var(--secondary-color);
  padding: 1rem;
  border-radius: 10px;
  text-align: left;
  overflow: hidden;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  margin: 30px 0px;
}
.project-card.active {
  opacity: 1;
  transform: translateY(0);
}
.project-card-img {
  max-width: 100%;
  height: auto;
  border-radius: 5%;
  object-fit: cover;
}
.project-card-btn {
  padding: 10px 20px;
  border-radius: 10%;
  color: white;
  font-size: large;
  background-color: rgb(1, 8, 102);
}
.project-card__link {
  text-decoration: none;
  color: var(--base-variant);
}
.project-card__link:visited {
  color: yellow;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgb(1, 8, 102);
  color: white;
  z-index: 1000;
}

.bottomOfPage {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-content: space-evenly;
  padding-top: 50px;
  flex-wrap: wrap;
  padding-bottom: 50px;
}
.bottomOfPage__linkedIn, .bottomOfPage__github, .bottomOfPage__email {
  display: inline-flex;
}
.bottomOfPage__icon {
  width: 30px;
  height: 30px;
}
.bottomOfPage__icon path {
  fill: white;
}

@media only screen and (min-width: 1000px) {
  body {
    display: flex;
    font-size: x-large;
    font-family: Arial, Helvetica, sans-serif;
  }
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box;
  }
  .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 50px;
    background-color: rgb(1, 8, 102);
    color: white;
  }
  .header__navBar {
    display: flex;
    padding: 5px;
    justify-content: space-evenly;
    list-style-type: none;
    text-decoration: none;
  }
  li {
    padding-right: 20px;
  }
  li a {
    text-decoration: none;
    color: white;
  }
  li #contact {
    border: white 1px solid;
    padding: 5px 15px 5px 15px;
    border-radius: 10%;
  }
  main {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    max-width: 1500px;
    width: 100%;
    padding-top: 70px;
  }
  .introLine {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 70px;
  }
  .introLine__content {
    padding-left: 50px;
  }
  .introLine__img {
    display: flex;
    justify-content: flex-end;
    margin-right: 100px;
    width: 500px;
    height: 500px;
    border-radius: 10%;
    border: black 2px solid;
    object-fit: cover;
  }
  .aboutMe {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 50px;
  }
  .aboutMe__img {
    width: 500px;
    height: 500px;
    border-radius: 10%;
    object-fit: cover;
    border: black 2px solid;
  }
  .aboutMe__content {
    flex: 1;
    padding-left: 80px;
    text-align: left;
  }
  .aboutMe__title {
    margin-bottom: 10px;
  }
  .technicalSkills {
    padding-top: 30px;
  }
  .technicalSkills__title {
    font-weight: bold;
    text-align: center;
  }
  .technicalSkills__para {
    padding: 0px 150px 0px 150px;
  }
  .allIcons {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding-bottom: 70px;
  }
  .allIcons svg {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    width: 100px;
  }
  .projects {
    display: grid;
    grid-template-columns: auto auto;
    grid-column-gap: 10px;
    grid-row-gap: 50px;
    padding-bottom: 30px;
  }
  .projects img {
    border: black 2px solid;
    width: 100%;
    height: auto;
  }
  .projects__title {
    text-align: center;
  }
  .projects__one {
    grid-area: 1/1/2/2;
  }
  .projects__second {
    grid-area: 1/2/2/3;
  }
  .projects__third {
    grid-area: 2/1/3/2;
  }
  .projects__forth {
    grid-area: 2/2/3/3;
  }
}
