@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@300;600;700;800;900&display=swap");
:root {
  --max-width: 1300px;
  --primary-color: #7734E9;
  --secondary-color: #211C4B;
  --white-txt: #EBEBEB;
  --higlight: #FDD73E;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Nunito Sans", sans-serif;
  color: var(--secondary-color);
}

body {
  background: #fff;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 1px;
}

h1 {
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
}

h2 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
}

h3 {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}

a {
  text-decoration: none;
  z-index: 100;
}

ul {
  list-style: none;
}

svg {
  position: absolute;
}

img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

svg:nth-child(2) {
  right: 0;
}

.cta {
  background: var(--higlight);
  display: inline-block;
  padding: 8px 20px;
  font-weight: 800;
  border-radius: 10px;
  transition: all 0.5s;
}

.cta:hover {
  background: var(--secondary-color);
  color: var(--higlight);
}

.hero {
  background-color: var(--primary-color);
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}
.hero .detail {
  position: absolute;
  width: 100%;
  top: 20%;
  display: grid;
  place-items: center;
  padding: 20px;
}
.hero .heading, .hero .s-heading, .hero .desc {
  color: var(--white-txt);
}
.hero .name {
  position: relative;
}
.hero .name .s-heading {
  position: absolute;
  display: block;
  top: 20px;
  right: -50px;
  font-weight: 600;
}
.hero .heading {
  font-size: 4rem;
  text-shadow: 4px 4px 8px rgba(24, 23, 23, 0.4);
}
.hero .desc {
  margin: 25px 0;
  width: 50%;
  text-align: center;
}
.hero .wave {
  bottom: 0;
}

@media only screen and (max-width: 600px) {
  .hero .detail {
    top: 15%;
  }
  .hero .desc {
    width: 80%;
    font-size: 0.9em;
  }
  .hero .heading {
    font-size: 3.5em;
  }
  .hero .name .s-heading {
    font-size: 0.9em;
    position: absolute;
    right: -35px;
  }
}
main {
  padding: 20px;
  margin: 0 auto;
  min-height: 100vh;
  max-width: var(--max-width);
}

.title {
  margin: 50px 0;
}

.container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  max-width: inherit;
}
.container .card {
  position: relative;
  width: 400px;
  margin: 10px;
  overflow: hidden;
}
.container .card .img-box {
  width: 100%;
  height: 200px;
}
.container .card .content-box {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.container .card .content-box h3, .container .card .content-box p {
  color: var(--white-txt);
}
.container .card .content-box h3 {
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.container .card .content-box p {
  font-size: 14px;
}
.container .card .content-box .content {
  position: relative;
  padding: 30px;
  z-index: 1;
  transition: 0.5s;
  transform: translateX(-400px);
}
.container .card .content-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  opacity: 1;
  transform: scaleX(0);
  transition: transform 0.5s ease-in-out;
  transform-origin: right;
}
.container .card:hover .content-box::before {
  transform: scaleX(1);
  transition: transform 0.5s ease-in-out;
  transform-origin: left;
}
.container .card:hover .content {
  transform: translateX(0px);
  transition-delay: 0.5s;
}

footer {
  background-color: var(--secondary-color);
  width: 100%;
  padding: 20px;
  display: flex;
  width: 100%;
}
footer p {
  color: var(--primary-color);
}

.footer-container-left {
  padding: 50px 0;
  position: relative;
  width: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.footer-container-left i {
  color: var(--primary-color);
  transition: 0.5s;
}
.footer-container-left i:hover {
  color: var(--higlight);
}
.footer-container-left .socmed {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.footer-container-left .loc {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-top: 50px;
}
.footer-container-left .loc .loc-det {
  max-width: 10ch;
  text-align: center;
  margin-left: 5px;
}
.footer-container-left .loc .loc-det i {
  font-size: 1.8em;
  margin-bottom: 10px;
}
.footer-container-left .loc .loc-det p {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
}
.footer-container-left .loc .loc-det:hover p, .footer-container-left .loc .loc-det:hover i {
  color: var(--higlight);
}

.footer-right-container {
  margin: 0;
  width: 70%;
}
.footer-right-container h2 {
  color: var(--white-txt);
}
.footer-right-container .skills {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  min-height: 200px;
  text-align: center;
  flex-wrap: wrap;
  gap: 15px;
}
.footer-right-container .skills i {
  color: var(--primary-color);
}
.footer-right-container .skills p {
  font-weight: 600;
  margin-top: 20px;
  color: var(--primary-color);
}

@media only screen and (max-width: 800px) {
  footer {
    flex-direction: column;
  }
  .footer-container-left {
    width: 100%;
    order: 2;
    padding: 30px 0;
  }
  .footer-right-container {
    width: 100%;
  }
  .footer-right-container h2 {
    margin-bottom: 20px;
  }
  .footer-right-container .skills {
    padding: 30px 0;
    border-bottom: 2px solid var(--higlight);
  }
}/*# sourceMappingURL=style.css.map */