@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto&display=swap"); /* General styles ------*/
* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  font-family: "Poppins", "Roboto", sans-serif;
}
:root {
  --black: #333;
  --black2: #333;
  --grey: #777;
  --white: #fff;
  --white2: #fff;
  --blue: #0032bb;
  --darkBlue: #0f1629;
}

body {
  overflow-x: hidden;
}

.container {
  position: relative;
  width: 100%;
}

.navigation {
  position: fixed;
  width: 300px;
  height: 100%;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  background: var(--white2);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: width 0.5s, left 0.5s;
}

.navigation.active {
  width: 0;
}

.navigation ul {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 40px;
}

.navigation ul li {
  position: relative;
  width: 100%;
  list-style: none;
}

.navigation ul li a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  margin: 10px 0;
  display: flex;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  font-weight: 500;
  letter-spacing: 2px;
  opacity: 0.5;
}

.navigation ul li a:hover {
  opacity: 1;
}

.language-icon {
  width: 35px;
  height: auto;
  border-radius: 10px;
}

.main {
  position: absolute;
  width: calc(100% - 300px);
  left: 300px;
  background: var(--white);
  min-height: 100%;
  transition: width 0.5s, left 0.5s;
}

.main.active {
  width: calc(100% - 0px);
  left: 0px;
}

.main .topbar {
  position: fixed;
  top: 0;
  width: calc(100% - 300px);
  left: 300px;
  background: var(--white2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  height: 60px;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  transition: width 0.5s, left 0.5s;
}

.main .topbar.active {
  width: calc(100% - 0px);
  left: 0px;
}

.main .topbar .logo {
  color: var(--black);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.4em;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.main .topbar .toggle {
  position: relative;
  width: 60px;
  height: 60px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  color: var(--black);
}

.main section {
  position: relative;
  min-height: 100vh;
}

.home {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

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

.home .content h1 {
  font-size: 28px;
  margin-bottom: 5px;
}

.home .content p {
  font-size: 20px;
  margin-bottom: 1rem;
}

.home .imgBx {
  position: relative;
  width: 300px;
  height: 300px;
  overflow: hidden;
  border-radius: 50%;
  margin-bottom: 20px;
}

.home .imgBx img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home .content h3 {
  position: relative;
  font-size: 1.4em;
  color: var(--black);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.content p {
  color: var(--grey);
}

.home .content .btn {
  position: relative;
  display: inline-block;
  padding: 10px 30px;
  background: var(--black2);
  color: #fff;
  font-weight: 400;
  letter-spacing: 1px;
  margin-top: 10px;
  text-decoration: none;
}

.socialMedia {
  position: absolute;
  bottom: 20px;
  display: flex;
  list-style-type: none;
}

.socialMedia li a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.05);
  margin: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: var(--black);
  font-size: 1.2em;
}

.socialMedia li a:hover {
  background: var(--black2);
  color: #fff;
}

.adjust {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 0 40px;
  padding-top: 80px;
  background: var(--white);
  color: var(--black);
  display: inline-block;
}

.title {
  width: 100%;
  text-align: center;
}

.title h2 {
  position: relative;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.2em;
  margin-bottom: 30px;
}

.title h2::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: 50px;
  height: 1px;
  background: var(--black);
}

.about .content {
  display: flex;
  justify-content: space-around;
  margin-top: 40px;
}

.about .content .textBox {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 49%;
  min-width: 49%;
}

.about .content .imgBx {
  margin-left: 40px;
}

.about .content .imgBx img {
  height: auto;
  max-height: 80vh;
  width: 100%;
}

.skills .content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  margin: 40px 0;
}

.skills .content .skillBox {
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 50px 20px;
  display: flex;
  background: var(--white2);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.skills .content .skillBox .skill-icon {
  font-size: 50px;
}

.skills .content .skillBox h3 {
  font-size: 1.1em;
  margin: 20px 0 10px 0;
  font-weight: 600;
  color: var(--black);
  text-align: center;
  letter-spacing: 2px;
}

.skills .content .skillBox p {
  text-align: center;
}

.skill-subtitle {
  font-size: 15px;
  margin: 0;
  white-space: nowrap;
}

.skill-icon-list {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  height: 100px;
  width: 100px;
}

.skill-icon-multiple {
  font-size: 45px;
}

.projects .content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  margin: 40px 0;
}

.projects .content .projectBx {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.projects .content .projectBx .imgBx {
  position: relative;
  width: 100%;
  height: 100%;
  transform: translateY(0);
  transition: 0.5s ease-in-out;
}

.projects .content .projectBx:hover .imgBx {
  visibility: hidden;
  transform: translateY(-100%);
}

.projects .content .projectBx .imgBx img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projects .content .projectBx .textBx {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0 15px;
  width: 100%;
  height: 100%;
  background-color: var(--black);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(100%);
  transition: 0.5s ease-in-out;
}

.projects .content .projectBx:hover .textBx {
  transform: translateY(0);
}

.projects .content .projectBx .textBx h3 {
  font-weight: 300;
  letter-spacing: 1px;
}

.projects .content .projectBx .textBx p {
  font-weight: 200;
}

.projects .content .projectBx .textBx h3,
.projects .content .projectBx .textBx p {
  color: #fff;
}

.projects .content .projectBx .textBx .bttn-container {
margin-top: 1rem;
}

.projects .content .projectBx .textBx .bttn-container .project-button {
  color: white;
  background-color: var(--blue);
  outline: none;
  border: none;
  padding: 0.25rem 0.5rem;
  border-radius: 10px;
  transition: 0.3s;
  cursor: pointer;
}

.projects .content .projectBx .textBx .bttn-container .project-button:hover {
  background-color: var(--darkBlue);
}

/* Contact --------------*/
.social-networks {
  padding: 2.5rem;
}
.social-list {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  list-style-type: none;
  padding-bottom: 3rem;
}
.social-item {
  display: flex;
  justify-content: center;
}
.social-list-item {
  padding: 20px 20px 20px 20px;
  font-size: 30px;
  width: 100px;
  text-align: center;
  text-decoration: none;
  box-shadow: 10px 10px 9px #000000;
}
.social-link {
  display: block;
  color: white;
  width: 100%;
  height: 100%;
}
.social-link:visited {
  color: white;
}

.social-list-item:hover {
  opacity: 0.7;
  text-decoration: none;
  color: white;
}
.social-linkedin {
  background: #0a66c2;
}
.social-github {
  background: #0d1117;
}
.social-freecodecamp {
  background: #0a0a23;
}
.social-codepen {
  background: #131417;
}
.lang-phone {
  white-space: nowrap;
}
/* End of contact -------*/

.copyright {
  position: relative;
  bottom: 0;
  padding: 10px 40px;
  text-align: center;
}

/* Responsive */
@media (max-width:992px){
  .navigation {
    left: -100%;
    height: 100vh;
  }
  .navigation.active  {
    left: 0;
    width: 100%;
  }
  .main {
    width: 100%;
    left: 0;
  }
  .main.active {
    left: 100%
  }
  .main .topbar {
    width: 100%;
    left: 0;
    padding: 0 20px;
  }
  .navigation .ul {
    padding: 20px 20px;
  }
  .banner .imgBx {
    width: 250px;
    height: 250px;
  }
  .banner h3,
  .banner p {
    text-align: center;
  }
  .adjust {
    padding: 0 20px;
    padding-top: 80px;
  }
  .about .content {
    flex-direction: column;
  }
  .about .content .textBox {
    width: 100%;
    min-width: 100%;
  }
  .about .content .imgBx{
    margin-left: 0;
    margin-top: 20px;
  }
  .about .content .imgBx img {
    width: auto;
  }
  .projects .content,
  .skills .content {
    grid-template-columns: repeat(2, 1fr);
  }
  .social-list {
    flex-direction: column;
    align-items: center ;  
  }
  .social-list-item {
    margin: 0 0 2rem 0;
    width: 60%;
  }
}

@media (max-width:767px){
  .projects .content,
  .skills .content {
    grid-template-columns: repeat(1, 1fr);
  }
  .about .content .imgBx img {
    width: 100%;
  }
  .contact {
    margin-bottom: 100px;
  }
  .copyright {
    padding: 10px 20px;
  }
}