/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");
/*================fonts=======================*/
@font-face {
  font-family: "yekan";
  src: url(../font/yekan/woff/IRANYekanWebBold.woff);
}
@font-face {
  font-family: "yekan-1";
  src: url(../font/yekan/woff/IRANYekanWebRegular.woff);
}
@font-face {
  font-family: "yekan-1-n";
  src: url(../font/yekan/ttf/iranyekanwebregularfanum.ttf);
}

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  /*
        Purple: hsl(250, 66%, 75%)
        Blue: hsl(207, 90%, 72%)
        Pink: hsl(356, 66%, 75%)
        Teal: hsl(174, 63%, 62%)
  */
  --first-hue: 190;
  --sat: 75%;
  --lig: 50%;
  --second-hue: 219;
  --first-color: hsl(var(--first-hue), var(--sat), var(--lig));
  --first-color-alt: hsl(var(--first-hue), var(--sat), 71%); /* -4% */
  --title-color: hsl(var(--second-hue), 15%, 95%);
  --text-color: hsl(var(--second-hue), 8%, 75%);
  --text-color-light: hsl(var(--second-hue), 4%, 55%);
  --body-color: hsl(var(--second-hue), 48%, 8%);
  --container-color: hsl(var(--second-hue), 32%, 12%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "yekan-1", sans-serif;
  --biggest-font-size: 1.75rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;
  --tiny-font-size: 0.625rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semibold: 600;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/* Responsive typography */
@media screen and (min-width: 968px) {
  :root {
    --biggest-font-size: 2.5rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
}

/*=============== BASE ===============*/

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

html {
  scroll-behavior: smooth;
}

body,
button,
input,
textarea {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--text-color);
  transition: 0.4s; /* for light mode animation */
}

h1,
h2,
h3 {
  color: var(--title-color);
  font-weight: var(--font-semibold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
}

img {
  max-width: 100%;
  height: auto;
}

/*=============== THEME ===============*/
.change-theme {
  font-size: 1.25rem;
  cursor: pointer;
  transition: 0.3s;
}
.change-theme:hover {
  color: var(--first-color);
}

/*========== Variables Dark theme ==========*/
body.light-theme {
  --title-color: hsl(var(--second-hue), 15%, 15%);
  --text-color: hsl(var(--second-hue), 8%, 35%);
  --body-color: hsl(var(--second-hue), 100%, 99%);
  --container-color: #fff;
}

/*========== 
    Color changes in some parts of 
    the website, in light theme
==========*/
.light-theme .scroll-header {
  box-shadow: 0 2px 4px hsla(0, 0%, 1%, 0.1);
}
.light-theme .nav__menu {
  background-color: hsl(var(--second-hue), 32%, 90%, 0.8);
  box-shadow: none;
}
.light-theme .home__social-link {
  box-shadow: 0 2px 8px hsl(var(--second-hue), 48%, 8%, 0.1);
}
.light-theme .home__social-link,
.light-theme .home__scroll,
.light-theme .button,
.light-theme .button:hover,
.light-theme .active-work,
.light-theme .footer__title,
.light-theme .footer__link,
.light-theme .footer__copy {
  color: var(--title-color);
}
.light-theme .footer__social-link {
  background-color: var(--title-color);
}
.light-theme .about-box {
  box-shadow: 0 2px 8px hsl(var(--second-hue), 48%, 8%, 0.1);
}
.light-theme .skills__content,
.light-theme .services__card,
.light-theme .work__card,
.light-theme .testimonial__card,
.light-theme .contact__card {
  box-shadow: 0 2px 16px hsl(var(--second-hue), 48%, 8%, 0.1);
}
/*=============== REUSABLE CSS CLASSES ===============*/

.vide {
  border-radius: 1rem;
  margin-bottom: 0.75rem;
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 968px;
  margin-left: 1rem;
  margin-right: 1rem;
}

.textwork {
  color: hsl(37deg 100% 54%);
  font-size: small;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid-2 {
  display: grid;
  justify-content: center;
}

.main {
  overflow: hidden;
}

.section {
  padding: 4rem 0 1rem;
}

.section__title,
.section__subtitle {
  text-align: center;
}

.section__title {
  font-size: var(--h2-font-size);
  color: var(--first-color);
  margin-bottom: 2rem;
}

.section__subtitle {
  display: block;
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
}

/*=============== HEADER & NAV===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--body-color);
  z-index: var(--z-fixed);
}
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav__logo {
  justify-content: center;
  display: flex;
}
.nav__logo:hover {
  color: var(--first-color-alt);
}
.nav__logo .nav__texts {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  margin-right: 0.25em;
  justify-content: center;
  gap: 0.25em;
}
.nav__logo .nav__title {
  color: #1eb7d6;
    font-size: 1.25em;
}
}
.nav__logo .nav__subtitle {
  color: #cdcdcd;
    font-size: 0.85em;
    font-weight: 100;
}
.nav__menu {
  box-shadow: 0px 0px 25px 0px #0b111e;
  position: fixed;
  bottom: 1rem;
  background-color: hsl(var(--second-hue), 32%, 16%, 0.8);
  width: 90%;
  border-radius: 4rem;
  padding: 0.5rem 2.25rem;
  backdrop-filter: blur(10px);
  transition: 0.4s; /* for light mode animation */
}
.nav__list {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav__link {
  color: var(--text-color);
  font-size: 1.5rem;
  padding: 0.4rem;
  display: flex;
  border-radius: 5rem;
}
/* Active link */
.active-link {
  background: linear-gradient(
    180deg,
    hsl(var(--first-hue), var(--sat), var(--lig), 1),
    hsl(var(--first-hue), var(--sat), var(--lig), 0.2)
  );
  box-shadow: 0 0 16px hsl(var(--first-hue), var(--sat), var(--lig), 0.4);
  color: var(--title-color);
}

/* Change background header */
.scroll-header {
  box-shadow: 0 0 16px hsla(0, 0%, 4%, 0.3);
}

/*=============== HOME ===============*/
.home__container {
  position: relative;
}
.home__data {
  text-align: center;
}
.home__greeting,
.home__education {
  font-family: "yekan";
  font-size: 1.2rem;
}
.home__greeting {
  display: block;
  color: var(--title-color);
  margin-bottom: 0.25rem;
}
.home__education {
  font-family: "yekan";
  margin-bottom: 0.5rem;
}
.home__name {
  font-size: var(--biggest-font-size);
  margin-bottom: 0.5rem;
}
.home__img {
  width: 160px;
}
.home__handle {
  justify-self: center;
  width: 215px;
  height: 330px;
  background: linear-gradient(
    180deg,
    hsl(var(--first-hue), var(--sat), var(--lig), 1),
    hsl(var(--first-hue), var(--sat), var(--lig), 0.2)
  );
  border-radius: 10rem 10rem 1rem 1rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.home__buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}
.home__social,
.home__scroll {
  position: absolute;
}
.home__social {
  bottom: 3.5rem;
  right: 1.2rem;
  display: grid;
  row-gap: 0.8rem;
}
.home__social-link {
  width: max-content;
  background-color: var(--container-color);
  color: var(--first-color);
  padding: 0.25rem;
  border-radius: 0.65rem;
  display: flex;
  font-size: 1.35rem;
  transition: 0.4s;
}
.home__social-link:hover {
  background-color: var(--first-color);
  color: #fff;
}
.home__scroll {
  color: var(--first-color);
  left: 1rem;
  bottom: 3.4rem;
  display: grid;
  row-gap: 0.8rem;
  justify-items: center;
}
.home__scroll-icon {
  font-size: 1.25rem;
}
.home__scroll-name {
  font-size: var(--smaller-font-size);
  transform: rotate(-90deg);
}
/*=============== BUTTONS ===============*/
.button {
  display: inline-block;
  background-color: var(--first-color);
  color: var(--body-color);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-weight: var(--font-medium);
  transition: 0.4s;
}
.button:hover {
  background-color: var(--first-color-alt);
  color: var(--body-color);
}
.button--ghost {
  background-color: transparent;
  border: 2px solid var(--first-color);
  color: var(--first-color);
}
/*=============== ABOUT ===============*/
.about__container {
  row-gap: 2.5rem;
}
.about-img {
  width: 220px;
  border-radius: 1.5rem;
  justify-self: center;
}
.about__data {
  text-align: center;
}
.about__info {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.about__info-2 {
  display: grid;
  text-align: center;
  justify-content: center;
}

.about-box {
  background-color: var(--container-color);
  border-radius: 1.3rem;
  padding: 0.75rem 0.5rem;
}
.about-box-2 {
  width: 21rem;
  height: 10rem;
  background-color: var(--container-color);
  border-radius: 1.3rem;
  padding: 1.75rem 2.5rem;
}

.about-icon {
  font-size: 1.5rem;
  color: hsl(37deg 100% 54%);
  margin-bottom: 0.5rem;
}
.about__title {
  font-family: "yekan-1-n";
  font-size: var(--small-font-size);
}
.about__subtitle {
  font-family: "yekan-1-n";
  font-size: var(--tiny-font-size);
}
.about__description {
  font-family: "yekan-1";
  text-align: justify;
  margin-bottom: 2rem;
}
/*=============== SKILLS ===============*/
.skills__container {
  row-gap: 2rem;
  padding-top: 1rem;
}
.skills__content {
  background-color: var(--container-color);
  padding: 1.5rem;
  border-radius: 1.25rem;
}
.skills__title {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  color: var(--first-color);
  text-align: center;
  margin-bottom: 1.5rem;
}
.skills__box {
  display: grid;
  justify-content: center;
  column-gap: 2.5rem;
}
.skills__group {
  display: grid;
  row-gap: 1rem;
}
.skills__data {
  display: flex;
  column-gap: 0.5rem;
}
.skills .bxs-badge-check {
  font-size: 1rem;
  color: hsl(37deg 100% 54%);
}
.skills__name {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  line-height: 18px;
}
.skills__level {
  font-family: "yekan-1";
  font-size: var(--tiny-font-size);
}
/*=============== SERVICES ===============*/
.modalimg {
  width: 150px;
  border-radius: 10rem;
  margin-bottom: 1rem;
}
.teamimg {
  margin-top: -40px;
  width: 100px;
  border-radius: 10rem;
}

.services__container {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding-top: 1rem;
  row-gap: 3rem;
}
.services__card {
  background-color: var(--container-color);
  padding: 1rem 1rem;
  border-radius: 1.5rem;
  text-align: center;
}
.services__title {
  font-family: "yekan-1";
  font-size: var(--h3-font-size);
  margin-bottom: 0.5rem;
}
.services__button {
  color: hsl(37deg 100% 54%);
  font-size: var(--small-font-size);
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.25rem;
  cursor: pointer;
}
.services__button:hover .services__icon {
  transform: translateX(0.25rem);
}
.services__icon {
  font-size: 1rem;
  transition: 0.4s;
}

/* Services modal */
.services__modal {
  position: fixed;
  inset: 0;
  background-color: hsla(var(--second-hue), 28%, 16%, 0.7);
  padding: 2rem 1rem;
  display: grid;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  transition: 0.4s;
  z-index: var(--z-modal);
}
.services__modal-content {
  position: relative;
  background-color: var(--body-color);
  padding: 4.5rem 1.5rem 2.5rem;
  border-radius: 1.5rem;
}
.services__modal-title {
  font-size: var(--h3-font-size);
  color: var(--first-color);
  margin-bottom: 1rem;
}
.services__modal-description {
  font-family: "yekan-1";
  font-size: var(--small-font-size);
  margin-bottom: 2rem;
}
.services__modal-list {
  display: grid;
  row-gap: 0.75rem;
}
.services__modal-item {
  display: flex;
  align-items: flex-start;
  column-gap: 0.5rem;
}
.services__modal-icon {
  font-size: 1.5rem;
  color: var(--first-color);
}
.services__modal-info {
  font-family: "yekan-1";
  font-size: var(--small-font-size);
  text-align: justify;
}
.services__modal-close {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  font-size: 1.5rem;
  color: var(--first-color);
  cursor: pointer;
}
/*Active modal*/
.active-modal {
  opacity: 1;
  visibility: visible;
}

/*=============== WORK ===============*/
.work__container {
  padding-top: 1rem;
}
.work__filters {
  /*display: flex; */
  justify-content: center;
  align-items: center;
  column-gap: 0.75rem;
  width: 100%;
  /* margin-bottom: 1.5rem; */
  text-align: center;
  padding-right: 0.4rem;
  padding-left: 0.4rem;
}
.work__item {
  cursor: pointer;
  color: var(--title-color);
  padding: 0.25rem 0.75rem;
  font-weight: var(--font-medium);
  border-radius: 0.5rem;
  /* float: right; */
  display: inline-block;
  margin-bottom: 15px;
}
.work__card {
  background-color: var(--container-color);
  padding: 1rem;
  border-radius: 1rem;
}
.work__img {
  border-radius: 1rem;
  margin-bottom: 0.75rem;
}
.work__title {
  font-family: "yekan-1";
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  margin-bottom: 0.5rem;
}
.work__button {
  width: max-content;
  color: var(--first-color);
  font-size: var(--small-font-size);
  display: flex;
  align-items: center;
  column-gap: 0.25rem;
}
.work__button:hover .work__icon {
  transform: translateX(-0.25rem);
}
.work__icon {
  font-size: 1rem;
  transition: 0.4s;
}
/* Active item work*/
.active-work {
  background-color: var(--first-color);
  color: var(--body-color);
}
/*=============== TESTIMONIAL ===============*/
.testimonial__card {
  background-color: var(--container-color);
  padding: 1.25rem 1.5rem;
  border-radius: 1.5rem;
  margin-bottom: 3rem;
}
.testimonial__img {
  width: 60px;
  border-radius: 3rem;
  margin-bottom: 1rem;
}
.testimonial__name {
  color: hsl(37deg 100% 54%);
  font-family: "yekan-1";
  font-size: var(--normal-font-size);
  margin-bottom: 0.25rem;
}
.testimonial__description {
  font-size: var(--small-font-size);
}

/* Swiper class */
.swiper-pagination-bullet {
  background-color: var(--text-color-light);
}
.swiper-pagination-bullet-active {
  background-color: var(--first-color);
}
/*=============== CONTACT ===============*/
.contact__container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.contact__title {
  text-align: center;
  font-size: var(--h3-font-size);
  margin-bottom: 1.5rem;
}
.contact__card {
  background-color: var(--container-color);
  padding: 1rem;
  border-radius: 0.75rem;
  text-align: center;
  width: 20em;
  height: 10em;
  display: inline-grid;
  margin: 0.6rem;
}
.contact__card-icon {
  font-size: 2rem;
  color: var(--title-color);
  margin-bottom: 0.25rem;
}
.contact__card-title,
.contact__card_data {
  font-size: var(--small-font-size);
  margin-bottom: 0.75rem;
}
.contact__card-title {
  font-weight: var(--font-medium);
}
.contact__card_data {
  display: block;
}
.contact__button {
  color: hsl(37deg 100% 54%);
  font-size: var(--small-font-size);
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.25rem;
}
.contact__button:hover .contact__button-icon {
  transform: translateX(-0.25rem);
}
.contact__button-icon {
  font-size: 1rem;
  transition: 0.4s;
}
.contact__form-div {
  position: relative;
  margin-bottom: 2rem;
  height: 4rem;
}
.contact__form-input {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: 2px solid var(--text-color-light);
  background: none;
  color: var(--text-color);
  outline: none;
  padding: 1.5rem;
  border-radius: 0.75rem;
  z-index: 1;
}
.contact__form-tag {
  position: absolute;
  top: -0.75rem;
  right: 1.25rem;
  font-size: var(--smaller-font-size);
  padding: 0.25rem;
  background-color: var(--body-color);
  z-index: 10;
}
.contact__form-area {
  height: 11rem;
}
.contact__form-area textarea {
  resize: none;
}
/*=============== FOOTER ===============*/
.footer {
  background-color: var(--first-color);
  height: 12rem;
}

.footer1 {
  background-color: var(--first-color);
  height: 12rem;
}

.footer__container {
  padding: 2rem 0 6rem;
}
.footer__title,
.footer__link {
  color: var(--body-color);
}
.footer__title {
  text-align: center;
  margin-bottom: 2rem;
}
.footer__list {
  display: flex;
  justify-content: center;
  column-gap: 1.5rem;
  margin-bottom: 2rem;
}
.footer__social {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 1.25rem;
}
.footer__social-link {
  background-color: var(--body-color);
  color: var(--first-color);
  padding: 0.25rem;
  border-radius: 0.5rem;
  font-size: 1.5rem;
  display: inline-flex;
}
.footer__copy {
  display: block;
  margin-top: 4rem;
  color: var(--container-color);
  text-align: center;
  font-size: var(--small-font-size);
}
/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: 0.6rem;
  border-radius: 0.5rem;
  background-color: hsl(var(--second-hue), 8%, 38%);
}
::-webkit-scrollbar-thumb {
  background-color: hsl(var(--second-hue), 8%, 26%);
  border-radius: 0.5rem;
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 320px) {
  .nav__menu {
    padding: 1rem 1.5rem;
  }
  .home__buttons {
    flex-direction: column;
  }
  .home__handle {
    width: 150px;
    height: 253px;
  }
  .home__img {
    width: 130px;
  }
  .services__container {
    grid-template-columns: 165px;
    justify-content: center;
    row-gap: 3rem;
  }
}
/* For medium devices */
@media screen and (min-width: 576px) {
  .vide {
    width: 450px;
  }
  .nav__menu {
    width: 328px;
    left: 0;
    right: 0;
    margin: 0 auto;
  }
  .about__info {
    grid-template-columns: repeat(3, 140px);
    justify-content: center;
  }

  .about__info-2 {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    text-align: center;
    justify-content: center;
  }

  .about__description {
    padding: 0 5rem;
  }
  .skills__container {
    justify-content: center;
  }
  .skills__content {
    padding: 2rem 4rem;
  }
  .services__container {
    grid-template-columns: repeat(2, 180px);
    justify-content: center;
    row-gap: 3rem;
  }
  .services__modal-content {
    width: 500px;
    padding: 4.5rem 2.5rem;
  }
  .services__modal-description {
    padding: 0 3.5rem;
  }
  .work__container {
    justify-content: center;
  }
  .work__img {
    width: 295px;
  }
  .contacr__info {
    grid-template-columns: 300px;
    justify-content: center;
  }
  .contact__form {
    width: 360px;
    margin: 0 auto;
  }
}
@media screen and (min-width: 767px) {
  .about__container-2 {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    align-items: center;
    justify-content: center;
  }

  .work__container {
    grid-template-columns: repeat(3, max-content);
  }
  .work__container2 {
    justify-content: center;
  }

  .contact__container {
    flex-direction: row;
	    margin-top: 7rem;
  }

  .footer1 {
	position: absolute;
    width: 100%;
    bottom: 0;
  }
  
  .footer {
    width: 100%;
    bottom: 0;
  }
}

/* For large devices */

@media screen and (min-width: 505px) {
 .home__handle {
    width: 250px;
    height: 380px;
  }
  
  }

@media screen and (min-width: 992px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }
  .nav {
    height: calc(var(--header-height) + 1rem);
  }
  .home__handle {
    width: 290px;
    height: 400px;
  }
  .home__img {
    width: 220px;
  }
  .home__social-link {
    padding: 0.4rem;
    font-size: 2rem;
  }
  .home__scroll-icon {
    font-size: 2rem;
  }
  .about__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    column-gap: 4rem;
  }

  .about__container-2 {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    align-items: center;
    justify-content: center;
  }
  .about-img {
    width: 350px;
  }
  .about__data {
    text-align: initial;
  }
  .about__info {
    justify-content: center;
  }
  .about-box {
    text-align: center;
  }
  .about__description {
    padding: 0 0 0 4rem;
    margin-bottom: 2.5rem;
  }
  .skills__container {
    grid-template-columns: repeat(2, 350px);
    column-gap: 3rem;
  }
  .services__container {
    grid-template-columns: repeat(4, 215px);
    column-gap: 3rem;
  }
  .work__container {
    gap: 3rem;
  }
  .work__container2 {
    gap: 0rem;
  }
  .work__card {
    padding: 1.25rem;
  }
  .testimonial__container {
    width: 750px;
    padding: 0.7rem;
  }
  .testimonial__card {
    padding: 1.5rem 2rem;
  }
  .contact__container {
	      margin-top: 7rem;
    column-gap: 0rem;
  }
  .footer__social-link {
    font-size: 1.25rem;
    padding: 0.4rem;
    border-radius: 0.5rem;
  }
}

/* For portfolio section */
@media screen and (min-width: 290px) {
  .section-portfolio {
    padding: 15rem 0 1rem;
  }
}
@media screen and (min-width: 387px) {
  .section-portfolio {
    padding: 12rem 0 1rem;
  }
}
@media screen and (min-width: 676px) {
  .section-portfolio {
    padding: 9rem 0 1rem;
  }
}
@media screen and (min-width: 992px) {
  .section-portfolio {
    padding: 11rem 0 1rem;
  }
}

/* For uiux section */
.section__uiux {
  padding: 0 1em;
  display: flex;
  flex-direction: column;
}
.section__uiux h1 {
  font-size: var(--biggest-font-size);
  text-align: center;
  margin-top: -0.5em;
}
.section__uiux h3 {
  text-align: center;
  margin: 0.5em 0;
}
.section__uiux img {
  width: 50em;
  margin: 1em auto;
  border-radius: 1.5rem;
  background-color: var(--container-color);
  padding: 1em;
}

/* For uiux section */
.section__video {
  padding: 0 1em;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section__video h1 {
  font-size: var(--biggest-font-size);
  text-align: center;
}
.section__video h3 {
  text-align: center;
  margin: 0.5em 0;
}
.section__video p:last-child {
  margin-bottom: 1em;
}
.section__video video {
  width: 20em;
  margin-top: 4em;
  border-radius: 1rem;
}
@media screen and (min-width: 676px) {
  .section__video video {
    width: 40em;
  }
}
@media screen and (min-width: 992px) {
  .section__video video {
    width: 50em;
  }
}

/* others */

.plink {
  text-align: center;
  font-size: 0.8rem;
}
