/* style.css */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&display=swap");

@font-face {
    font-family: portada;
    src: url(PortadaARA-Regular.otf)
}
@font-face {
    font-family: portada-bold;
    src: url(PortadaARA-Extrabold.otf)
}


:root {
  --dark-grey: #333333;
  --medium-grey: #636363;
  --light-grey: #eeeeee;
  --ash: #f4f4f4;
  --primary-color: #EE0E51;
  --secondry-color: #FFA41B;
  --prime-rgb: 238, 14, 81;
  --white: white;
  --border: 1px solid var(--light-grey);
  --shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px,
    rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
  --primary-shadow : 0 5px 20px rgb(var(--prime-rgb),0.4);
  --dark-shadow : 0 0 15px rgb(0,0,0,0.2);
}
* {
    margin: 0;
    padding: 0;
    letter-spacing: 1px;
    font-weight: 300;
    font-family: portada;
    scrollbar-width: thin;
    scroll-behavior: smooth;
    scrollbar-color: var(--primary-color) var(--white);
}

body {
  font-family: inherit;
  background-color: var(--white);
  color: var(--dark-grey);
  direction: rtl;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background-color: transparent;
  cursor: pointer;
  color: inherit;
}
.unav {
    height: 35px;
    background-color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    font-size: 1.1rem;
}
.unav a{
    color: var(--white);
    font-family: "Inter", sans-serif;
}
.btn {
  display: block;
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 0.1rem 2rem;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 16px;
  box-shadow: var(--primary-shadow);
}

.icon {
  padding: 0.5rem;
  background-color: var(--light-grey);
  border-radius: 10px;
}

.logo {
  margin-right: 1.5rem;
}

#nav-menu {
  border-bottom: var(--border);
}

.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 2rem;
  height: 90px;
  padding: 1.2rem 3rem;
  box-shadow: 0 5px 20px rgb(var(--prime-rgb),0.2);
  background-color: var(--white);
}

.menu {
  position: relative;
  background: var(--white);
}

.menu-bar li:first-child .dropdown {
  flex-direction: initial;
  min-width: 480px;
}

.menu-bar li:first-child ul:nth-child(1) {
  border-right: var(--border);
}

.menu-bar li:nth-child(n + 2) ul:nth-child(1) {
  border-bottom: var(--border);
}

.menu-bar .dropdown-link-title {
  font-weight: 600;
}

.menu-bar .nav-link {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.6px;
  padding: 0.3rem;
  min-width: 60px;
  margin: 0 0.6rem;
}


.menu-bar .nav-link:hover,
.dropdown-link:hover{
  color: var(--primary-color);
}

.nav-start,
.nav-end,
.menu-bar,
.right-container,
.right-container .search {
  display: flex;
  align-items: center;
}

.dropdown {
  display: flex;
  flex-direction: column;
  min-width: 230px;
  background-color: var(--white);
  border-radius: 10px;
  position: absolute;
  top: 36px;
  z-index: 1;
  visibility: hidden;
  opacity: 0;
  transform: scale(0.97) translateX(-5px);
  transition: 0.1s ease-in-out;
  box-shadow: 0 5px 20px rgb(var(--prime-rgb),0.2);
}

.dropdown.active {
  visibility: visible;
  opacity: 1;
  transform: scale(1) translateX(5px);
}

.dropdown ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.2rem;
  font-size: 0.95rem;
}

.dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.15rem;
}

.dropdown-link {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-radius: 7px;
  transition: 0.1s ease-in-out;
}

.dropdown-link p {
  font-size: 0.8rem;
  color: var(--medium-grey);
}

.right-container {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}

.right-container .search {
  position: relative;
}

.right-container img {
  border-radius: 50%;
}

.search input {
  background-color: var(--ash);
  border: none;
  border-radius: 6px;
  padding: 0.7rem;
  padding-left: 2.4rem;
  font-size: 16px;
  width: 100%;
  border: var(--border);
}

.search .bx-search {
  position: absolute;
  left: 10px;
  top: 50%;
  font-size: 1.3rem;
  transform: translateY(-50%);
  opacity: 0.6;
}

#hamburger {
  display: none;
  padding: 0.1rem;
  margin-left: 1rem;
  font-size: 1.9rem;
}

.main {
    width: 95vw;
    height: 50vw;
    display: flex;
    color: var(--white);
}
.main img {
    width: 60%;
}
.circle {
    position: absolute;
    right: -10vw;
    top: 0;
    z-index: -1;
    animation: fadeIn 1s ease-in infinite alternate;
}
.hosting {
    position: absolute;
    left: 5vw;
    margin-top: 5vh;
}
.main div a {
    font-size: 1rem;
    font-family: portada-bold;
    text-decoration: none;
    color: var(--primary-color);
    background-color: var(--white);
    padding: 2px 20px;
    border-radius: 16px;
    margin: 5px;
}
.main div .a {
    background-color: unset !important;
    color: var(--white-2);
    border: 2px solid var(--white);
}
.main div .tit {
    margin-top: 100px;
    margin-right: 100px;
    max-width: 350px;
}

.main div .tit h1 {
    font-family: portada-bold;
    font-size: 3rem;
}
.main div .tit P {
    font-size: 1.5rem;
}

@keyframes fadeIn {
    from {
        top: -20vh;
        right: -5vw;
        opacity: 0.7;
    }
    to {
        top: -25vh;
        right: -7vw;
        opacity: 1;
    }
  }

.se_lay {
  width: 100%;
  color: var(--ash);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.se_lay h1{
  font-family: portada-bold;
  color: var(--primary-color);
  text-shadow: var(--primary-shadow);
  text-align: center;
}

.se_lay .rows {
  padding: 50px;
  width: 95%;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
}
.se_lay .box {
  max-width: 250px;
  height: 300px;
  background: #ee0e51;
  background: -webkit-linear-gradient(137deg, #ee0e51 0%, #f73f76 100%);
  background: linear-gradient(137deg, #ee0e51 0%, #f73f76 100%);
  border-radius: 8px;
  padding: 5px 25px;
  margin: 10px;
  box-shadow: var(--dark-shadow);
}
.se_lay .box .img {
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  margin-top: 15px;
}
.se_lay .box .green {
  background-color: #116D6E;
}
.se_lay .box .red {
  background-color: #8C3333;
}
.se_lay .box .blue {
  background-color: #252B48;
}
.se_lay .box .purple {
  background-color: #3D246C;
}
.se_lay .box img {
  width: 65px;
  height: 65px;

}

.th_lay {
  margin-top: 100px;
  width: 100%;
  color: var(--ash);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.th_lay .rows{
  padding: 50px;
  width: 90%;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
}
.th_lay .rows .box {
  width: 250px;
  padding: 50px;
  margin: 10px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: var(--dark-shadow);
  display: flex;
  flex-direction: column;
}
.th_lay .rows .sbox {
  width: 250px;
  padding: 50px;
  margin: 10px;
  background-color: var(--primary-color);
  border-radius: 8px;
  box-shadow: var(--dark-shadow);
  display: flex;
  flex-direction: column;
}
.th_lay .box span {
  display: flex;
  align-items: flex-end;
  justify-content: end;
  direction: ltr;
}
.th_lay .box h2 {
  font-family: portada-bold;
  color: var(--primary-color);
}
.th_lay .box p {
  color: var(--dark-grey);
}
.th_lay .box a {
  position: relative;
  background: #ee0e51;
  background: -webkit-linear-gradient(137deg, #ee0e51 0%, #f73f76 100%);
  background: linear-gradient(137deg, #ee0e51 0%, #f73f76 100%);
  box-shadow: var(--primary-shadow);
  padding: 5px 15px;
  border-radius: 8px;
  font-family: portada-bold;
  text-align: center;
  transition: box-shadow 1s;
  z-index: 1;
}
.th_lay .box a:hover {
  transition: all ease-in-out 0.4s;
}
.th_lay .box a::before {
  position: absolute;
  content: "";
  border-radius: 8px;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #ee0e51;
  background: -webkit-linear-gradient(330deg, #ee0e51 0%, #fc79a1 100%);
  background: linear-gradient(330deg, #ee0e51 0%, #fc79a1 100%);
  transition: opacity 0.5s linear;
  z-index: -1;
  opacity: 0;
}
.th_lay .box a:hover::before {
  opacity: 1;

}
.th_lay .sbox span {
  display: flex;
  align-items: flex-end;
  justify-content: end;
  direction: ltr;
}
.th_lay .sbox h2 {
  font-family: portada-bold;
  color: var(--white);
}
.th_lay .sbox p {
  color: var(--white);
}
.th_lay .sbox a {
  position: relative;
  background: #f86f03;
  background: -webkit-linear-gradient(91deg, #f86f03 0%, #ffa41b 100%);
  background: linear-gradient(91deg, #f86f03 0%, #ffa41b 100%);
  padding: 5px 15px;
  border-radius: 8px;
  font-family: portada-bold;
  text-align: center;
  transition: box-shadow 1s;
  z-index: 1;
}
.th_lay .sbox a:hover {
  transition: all ease-in-out 0.4s;
}
.th_lay .sbox a::before {
  position: absolute;
  content: "";
  border-radius: 8px;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: #f86f03;
  background: -webkit-linear-gradient(332deg, #f86f03 0%, #ffa41b 100%);
  background: linear-gradient(332deg, #f86f03 0%, #ffa41b 100%);
  transition: opacity 0.5s linear;
  z-index: -1;
  opacity: 0;
}
.th_lay .sbox a:hover::before {
  opacity: 1;

}
.th_lay h1{
  font-family: portada-bold;
  color: var(--primary-color);
  text-shadow: var(--primary-shadow);
  text-align: center;
}
.th_lay .box ul {
  margin-top: 20px;
}
.th_lay .box li {
  background-color: var(--white);
  color: var(--dark-grey);
  padding: 10px;
  border-radius: 8px;
  margin: 10px;
  border-right: 8px solid var(--primary-color);
  border-top: 1px solid var(--primary-color);
  border-bottom: 1px solid var(--primary-color);
  border-left: 1px solid var(--primary-color);
  transition: border-left ease-in-out 0.8s;
}
.th_lay .box li:hover {
  border-left: 100px solid var(--primary-color);
  transition: border-left ease-in-out 0.8s;
}
.th_lay .sbox ul {
  margin-top: 20px;
}
.th_lay .sbox li {
  background-color: var(--white);
  color: var(--dark-grey);
  padding: 10px;
  border-radius: 8px;
  margin: 10px;
  border-right: 8px solid var(--secondry-color);
  border-top: 1px solid var(--secondry-color);
  border-bottom: 1px solid var(--secondry-color);
  border-left: 1px solid var(--secondry-color);
  transition: border-left ease-in-out 0.8s;
}
.th_lay .sbox li:hover {
  border-left: 100px solid var(--secondry-color);
  transition: border-left ease-in-out 0.8s;
}

.fo_lay {
  margin-top: 100px;
  width: 100%;
  color: var(--ash);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
}
.fo_lay .box {
  margin: 100px;
  padding: 5%;
  width: 80%;
  background-color: var(--white);
  box-shadow: var(--dark-shadow);
  border-radius: 8px;
}
.fo_lay h1{
  font-family: portada-bold;
  color: var(--primary-color);
  text-shadow: var(--primary-shadow);
  text-align: center;
}
.fo_lay p{
  margin: 30px;
  color: var(--primary-color);
  text-align: justify;
}
.footer_svg {
  margin-bottom: -20px;
}
footer {
  background-color: var(--primary-color);
  min-height: 100px;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  align-items: start;
  padding: 50px;
}
footer ul {
  color: white;
  margin: 20px;
}
footer .li {
  font-family: portada-bold;
  font-size: 1.2rem;
}
.c {
  display: flex;
  justify-content: center;
  background-color: var(--secondry-color);
}
.c p {
  color:  var(--dark-grey);
}
@media (max-width: 1170px) {
    .main div .tit {
        margin-top: 50px;
        margin-right: 50px;
        max-width: 250px;
    }
  #hamburger {
    display: block;
  }
  @keyframes fadeIn {
    from {
        top: -1vh;
        right: -5vw;
        opacity: 0.7;
    }
    to {
        top: -2vh;
        right: -7vw;
        opacity: 1;
    }
  }
  .container {
    padding: 1.2rem;
  }

  .menu {
    display: none;
    position: absolute;
    top: 87px;
    left: 0;
    min-height: 100vh;
    width: 100vw;
  }

  .menu-bar li:first-child ul:nth-child(1) {
    border-right: none;
    border-bottom: var(--border);
  }

  .dropdown {
    display: none;
    min-width: 100%;
    border: none !important;
    border-radius: 5px;
    position: static;
    top: 0;
    left: 0;
    visibility: visible;
    opacity: 1;
    transform: none;
    box-shadow: none;
  }

  .menu.show,
  .dropdown.active {
    display: block;
  }

  .dropdown ul {
    padding-left: 0.3rem;
  }

  .menu-bar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    row-gap: 1rem;
    padding: 1rem;
  }

  .menu-bar .nav-link {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0;
  }

  .menu-bar li:first-child .dropdown {
    min-width: 100%;
  }

  .menu-bar > li:not(:last-child) {
    padding-bottom: 0.5rem;
    border-bottom: var(--border);
  }
}
@media screen and (max-width: 888px) {
    @keyframes fadeIn {
        from {
            top: -20vh;
            opacity: 0.7;
        }
        to {
            top: -25vh;
            opacity: 1;
        }
      }
    .main {
        flex-direction: column;
        align-items: center;
        height: 100vh;
    }
    .main img {
        width: 150vw;
        height: 150vh;
    }
    .circle {
        position: absolute;
        height: 100vh;
        top: -20vh;
        right: unset;
    }
    .hosting {
        display: none;
    }
}
@media (max-width: 600px) {
  .right-container {
    display: none;
  }
}
