* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
a {
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
@font-face {
  font-family: "vazir";
  src: url(../font/vazir-font-v16.1.0/Vazir-Medium.woff2) format(woff2),
    url(../font/vazir-font-v16.1.0/Vazir-Medium.woff) format(woff);
  font-weight: normal;
}
h1,
h2,
h3,
h4,
h5 {
  color: #adb5bd;
}
p {
  color: #adb5bd;
}

.icon {
  color: black;
  padding: 10px 23px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 47px;
  font-size: 26px;
  margin-right: 10px;
  background-color: var(--primary);
  transition: color 0.4s, background-color 0.4s;
}

.icon:hover {
  color: var(--primary);
  background-color: var(----);
  box-shadow: 0 0 15px var(--primary);
}
.center {
  width: 80%;
  margin: 0 auto;
}
#title-tmas {
  scroll-behavior: smooth;
}
:root {
  --vazir: "vazir";
  --primary: #00ffff;
  --secondary: #ff00ff;
  --accent: #7c3aed;
  --dark: #0a0a0f;
  --darker: #050508;
  --light: #ffffff;
  --gray: #6b7280;
  --success: #00ff88;
}

body {
  direction: rtl;
  background: var(--darker);
  font-family: var(--vazir);
}
.title {
  margin-top: 10px;
  color: #00ffff;
  position: relative;
  font-size: 23px;
}
.title::before {
  position: absolute;
  content: "";
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 2px;
  background-color: #00ffff;
}
.header {
  background-color: var(--darker);
}
.header-top {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
}
.navbar {
  display: flex;
  align-items: center;
  padding: 15px 0;
}

.ul-navbar li {
  margin-left: 10px;
  display: inline-block;
}
.ul-navbar li a {
  padding: 6px 15px;
  color: #adb5bd;
  background-color: #212529;
  border-radius: 22px;
  border: 1px var(--primary) solid;
  font-size: 16px;
}
.ul-navbar li a:hover {
  box-shadow: 0 0 15px var(--primary);
  transition: box-shadow 0.4s;
}

.about-interests {
  display: flex;
  height: 460px;
  margin-top: 30px;
}
.about {
  display: flex;
  flex-direction: column;
  width: 50%;
}
.about p {
  width: 90%;
  line-height: 40px;
  font-size: 18px;
}

.interests {
  width: 50%;
  display: flex;
}

.language {
  width: calc(100% / 7);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: end;
  flex-direction: column;
  gap: 10px;
}

.title-language h3 {
  color: #adb5bd;
  font-size: 16px;
}

.language-html {
  width: 25px;
  height: 0;
  background-color: black;
  animation: html 5s forwards;
  border: 1px solid #0ff;
  border-radius: 10px 10px 0px 0px;
  box-shadow: 0 -7px 12px #0ff;
}

@keyframes html {
  0% {
    height: 0;
  }
  100% {
    height: 100%;
  }
}
.language-wordpress {
  width: 25px;
  height: 0;
  background-color: black;
  animation: wordpress 5s forwards;
  border: 1px solid #0ff;
  border-radius: 10px 10px 0px 0px;
  box-shadow: 0 -7px 12px #0ff;
}

@keyframes wordpress {
  0% {
    height: 0;
  }
  100% {
    height: 100%;
  }
}
.language-css {
  width: 25px;
  height: 0;
  background-color: black;
  animation: css 5s forwards;
  border: 1px solid #0ff;
  border-radius: 10px 10px 0px 0px;
  box-shadow: 0 -7px 12px #0ff;
}

@keyframes css {
  0% {
    height: 0;
  }
  100% {
    height: 100%;
  }
}
.language-java {
  width: 25px;
  height: 0;
  background-color: black;
  animation: java 5s forwards;
  border: 1px solid #0ff;
  border-radius: 10px 10px 0px 0px;
  box-shadow: 0 -7px 12px #0ff;
}

@keyframes java {
  0% {
    height: 0;
  }
  100% {
    height: 20%;
  }
}
.language-python {
  width: 25px;
  height: 0;
  background-color: black;
  animation: python 5s forwards;
  border: 1px solid #0ff;
  border-radius: 10px 10px 0px 0px;
  box-shadow: 0 -7px 12px #0ff;
}

@keyframes python {
  0% {
    height: 0;
  }
  100% {
    height: 45%;
  }
}
.language-php {
  width: 25px;
  height: 0;
  background-color: black;
  animation: php 5s forwards;
  border: 1px solid #0ff;
  border-radius: 10px 10px 0px 0px;
  box-shadow: 0 -7px 12px #0ff;
}

@keyframes php {
  0% {
    height: 0;
  }
  100% {
    height: 55%;
  }
}
.language-javascript {
  width: 25px;
  height: 0;
  background-color: black;
  animation: javascript 5s forwards;
  border: 1px solid #0ff;
  border-radius: 10px 10px 0px 0px;
  box-shadow: 0 -7px 12px #0ff;
}

@keyframes javascript {
  0% {
    height: 0;
  }
  100% {
    height: 68%;
  }
}
/* ------------------------- */
.projects-status {
  width: 100%;
  display: flex;
  gap: 50px;
  align-items: center;
  justify-content: center;
  flex-direction: row-reverse;
  margin-top: 35px;
  flex-wrap: wrap;
}

.status-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.icon-status-card {
  width: 150px;
  font-size: 65px;
  height: 150px;
  margin: 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
  border-radius: 20px;
  background-color: var(--primary);
}
.icon-status-card:hover {
}
/* ------------------------------------------------------ */
.events {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0;
  margin-top: 15px;
}
.photo1 {
  background: url(../img/w.jpg);
}
.photo2 {
  background: url(../img/aaaa.jpg);
}
.photo3 {
  background: url(../img/aaaa.jpg);
}
.photo4 {
  background: url(../img/aaaa.jpg);
}
.photo5 {
}

.photo {
  width: calc(100% / 4 - 16px);
  height: 250px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 10px;
  transition: transform 0.4s;
  position: relative;
}

.photo:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 10px var(--primary);
  transition: box-shadow 0.4s, transform 0.4s;
}

.title-photo {
  border-radius: 10px;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: photo 4s forwards;
  outline: 0;
  transition: background 1s, opacity 0.8s;
  display: flex;
  flex-direction: column-reverse;
  align-items: end;
}
.title-photo:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.473);
}
.ul-title-photo {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 15px;
}
form {
  width: 100%;
  padding: 45px 0;
  text-align: center;
}

input[type="text"] {
  margin-left: 10px;
}
input[type="text"],
input[type="email"] {
  width: calc(25% + 60px);
  padding: 12px 10px;
  border-radius: 10px;
  border: 0;
  outline: 0;
  box-shadow: 0 0 2px var(--primary);
  background-color: #2125296e;
  color: #ffffff;
  font-size: 18px;
}

textarea {
  margin-top: 10px;
  width: calc(50% + 130px);
  padding: 12px 10px;
  height: 250px;
  border-radius: 10px;
  border: 0;
  outline: 0;
  box-shadow: 0 0 2px var(--primary);
  background-color: #2125296e;
  color: #ffffff;
  font-size: 18px;
}
.btn-form {
  margin-top: 28px;
}

.btn-send {
  padding: 10px 35px;
  color: #adb5bd;
  background-color: #212529;
  border-radius: 10px;
  border: 1px var(--primary) solid;
  font-size: 18px;
}
.btn-send:hover {
  box-shadow: 0 0 15px var(--primary);
  transition: box-shadow 0.4s;
}
.min-up {
  width: 100;
  display: flex;
  flex-direction: row-reverse;
  margin-bottom: 10px;
}

.icon-up {
  color: var(--darker);
  padding: 10px 23px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 26px;
  background-color: var(--primary);
  transition: color 0.4s, background-color 0.4s;
}

.icon-up:hover {
  color: var(--primary);
  background-color: var(--darker);
  box-shadow: 0 0 15px var(--primary);
}

footer {
  background-color: #212529;
}
.main-footer {
  width: 100%;
  display: flex;
  padding: 15px 0;
}

.footer-right {
  width: 50%;
  display: flex;
  align-items: center;
}

.footer-right p span {
  color: var(--primary);
  font-size: 18px;
}
.footer-left {
  width: 50%;
  display: flex;
  flex-flow: row-reverse;
  align-items: center;
}
.footer-left ul li {
  display: inline-block;
}
