/* 01. = fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Heebo:400,700|Open+Sans:400,700');
@import url("https://fonts.googleapis.com/css?family=Rubik:700&display=swap");


/* 02. = variables */
:root {
  --main-color: hsl(257, 68%, 73%);
  --light-red: hsl(0, 67%, 71%);
  --light-yellow: hsl(42, 73%, 74%);
  --black-90: hsl(0, 0%, 10%);
  --black-70: hsl(0, 0%, 30%);
  --white: hsl(0, 0%, 100%);
  --white-alpha-40: hsla(0, 0%, 100%, 0.4);
  --white-alpha-50: hsla(0, 0%, 100%, 0.5);
  --body-bg-color: hsl(42, 71%, 87%);
  --border-color-1: hsl(42, 45%, 73%);
  --border-color-2: hsla(44, 45%, 73%, 0.4);
  --shadow-color: hsl(42, 45%, 73%);
  --transition-time: 0.5s;
  --color: #3c3163;
}

/* 03. = override variables for dark theme */
body.dark {
  --body-bg-color: hsl(258, 14%, 18%);
  --white-alpha-40: hsl(0, 0%, 100%, 0.05);
  --black-90: hsl(0, 0%, 100%);
  --black-70: hsla(0, 0%, 100%, 0.7);
  --border-color-1: hsla(0, 0%, 100%, 0.12);
  --border-color-2: hsla(0, 0%, 100%, 0.05);
  --shadow-color: hsla(0, 0%, 0%, 0.15);
}

/* 04. = base */
html {
  scroll-behavior: smooth;
}

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

::before,
::after {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 16px;
  background-color: var(--body-bg-color);
  color: var(--black-70);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  color: var(--black-90);
}

h3 {
  font-size: 20px;
  font-weight: 500;

}

a {
  text-decoration: none;
  color: var(--main-color);
}

img {
  max-width: 100%;
  vertical-align: middle;
}

ul {
  list-style: none;
}

::selection {
  color: var(--white);
  background-color: var(--main-color);
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background-color: var(--body-bg-color);
}

::-webkit-scrollbar-thumb {
  background-color: var(--main-color);
}

/* 05. = container */
.container {
  max-width: 1170px;
  margin: auto;
  padding: 0 15px;
}

/* 06. = row */
.row {
  --cols: 12;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  grid-gap: 30px;
}

/* 07. = section */
.section-padding {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title .title {
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--main-color);
  margin: 0 0 8px;
}

.section-title .sub-title {
  font-size: 32px;
  font-weight: 600;
  text-transform: capitalize;
  color: var(--black-90);
  line-height: 1.2;
}

/* 08. = buttons */
button {
  cursor: pointer;
}

/* ALERT FORM SUBMIT */

/* The alert message box */
.my-alert {
  padding: 15px;
  background-color: #6af571;
  color: var(--black-90);
  margin-bottom: 10px;
  border-radius: 15px;
}

/* The close button */
.closebtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 16px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

/* When moving the mouse over the close button */
.closebtn:hover {
  color: black;
}

.buttonload {
  padding: 10px 28px;
  background-color: var(--main-color);
  color: var(--white);
  border-radius: 30px;
  font-weight: 500;
  font-size: 16px;
  text-transform: capitalize;
  line-height: 1.5;
  font-family: inherit;
  border: none;
  vertical-align: middle;
  user-select: none;
  position: relative;
  overflow: hidden;
}

.d-none {
  display: none;
}

/* ALERT FORM SUBMIT */
/* .btn {
  display: inline-block;
  padding: 10px 28px;
  background-color: var(--main-color);
  color: var(--white);
  border-radius: 30px;
  font-weight: 500;
  font-size: 16px;
  text-transform: capitalize;
  line-height: 1.5;
  font-family: inherit;
  border: none;
  vertical-align: middle;
  position: relative;
  overflow: hidden;
} */

.buttonload::before,
.buttonload::after {
  content: "";
  position: absolute;
  background-color: var(--white-alpha-50);
}

.buttonload::before {
  height: 8px;
  width: 8px;
  left: -8px;
  top: 6px;
  transition: left 0.2s ease;
}

.buttonload::after {
  height: 10px;
  width: 10px;
  right: -10px;
  bottom: 6px;
  transition: right 0.2s ease;
}

.buttonload:hover::before {
  left: 14px;
}

.buttonload:hover::after {
  right: 14px;
}

.buttonload:hover::before,
.buttonload:hover::after {
  animation: spin 2s linear infinite;
}

/* 09. = forms */
.input-box {
  margin-bottom: 20px;
}

.input-control::placeholder {
  color: var(--black-70)
}

.input-control {
  display: block;
  width: 100%;
  height: 42px;
  background-color: transparent;
  border: none;
  border-bottom: 2px solid var(--border-color-1);
  font-size: 16px;
  font-family: inherit;
  color: var(--black-90);
}

.input-control:focus {
  outline: none;
}

textarea.input-control {
  height: 120px;
  resize: none;
}

/* 10. = fancy border-radius box */
.fancy-br-box {
  height: 400px;
  width: 400px;
  margin: auto;
  position: relative;
  z-index: 1;
}

.fancy-br-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  border: 4px solid transparent;
  border-radius: 50% 40% / 40% 50%;
  transform: rotate(150deg);
  z-index: -1;
}

.fancy-br-box>img {
  border-radius: 30% 70% 50% 50% / 50%;
}

/* 11. = theme light dark switcher */
.switcher-btn {
  height: 40px;
  width: 40px;
  position: fixed;
  right: 0;
  bottom: 0;
  color: var(--black-90);
  z-index: 3;
  border-radius: 50;
  border: none;
  background-color: transparent;
}

.switcher-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: var(--main-color);
  z-index: -1;
  border-radius: 50%;
  transition: transform 0.3s ease;
  transform: scale(0);
}

.switcher-btn:hover::before {
  transform: scale(1);
}

/* 12. = animation keyframes */
@keyframes moveX {

  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(20px);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes zoomInOut {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

/* 13. = preloader */
.preloader {
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: var(--main-color);
  z-index: 10;
  display: flex;
  /* -webkit-animation: opacity 0.6s linear infinite;
  animation: opacity 0.6s linear infinite; */
  /* transition: opacity 0.6s ease; */
}

/* .preloader.fade-out {
  opacity: 0;
} */

.preloader img {
  width: 164px;
  margin: auto;
  animation: zoomInOut 2s linear infinite;
}

/* 14. = header */
.header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 2;
  padding: 8px 0;
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo a {
  font-size: 28px;
  text-transform: capitalize;
  font-weight: 600;
  color: var(--black-90);
}

.logo img {
  width: 180px;
  margin-right: 7px;
}

.nav-toggler {
  height: 34px;
  width: 40px;
  border: none;
  background-color: transparent;
}

.nav-toggler span {
  display: block;
  height: 2px;
  width: 24px;
  background-color: var(--black-90);
  margin: auto;
  position: relative;
  transition: background-color 0.3s ease;
}

.nav-toggler.active span {
  background-color: transparent;
}

.nav-toggler span::before,
.nav-toggler span::after {
  content: "";
  position: absolute;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: var(--black-90);
  transition: top 0.2s ease 0.2s, transform 0.2s ease;
}

.nav-toggler span::before {
  top: -7px;
}

.nav-toggler span::after {
  top: 7px;
}

.nav-toggler.active span::before,
.nav-toggler.active span::after {
  top: 0;
  transition-delay: 0s, 0.2s;
}

.nav-toggler.active span::before {
  transform: rotate(45deg);
}

.nav-toggler.active span::after {
  transform: rotate(-45deg);
}

.nav {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 8px;
  visibility: hidden;
  transition: visibility 0s ease 0.5s;
}

.nav.active {
  visibility: visible;
  transition-delay: 0s;
}

.nav li {
  background-color: var(--white-alpha-40);
  text-align: center;
  transform: translateY(20px);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: calc(0.05s * var(--item));
}

.nav.active li {
  opacity: 1;
  transform: translateY(0);
}

.nav li:first-child {
  border-radius: 10px 10px 0 0;
}

.nav li:last-child {
  border-radius: 0 0 10px 10px;
}

.nav a {
  display: block;
  padding: 8px 30px;
  font-weight: 500;
  color: var(--black-90);
  text-transform: capitalize;
  position: relative;
}

.nav a::before {
  content: "";
  height: 2px;
  width: 0;
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--main-color);
  transition: width 0.3s ease;
}

.nav a:hover::before {
  width: 12px;
}

/* 15. = home section */
.home {
  padding: 180px 0 80px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.home::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 200px;
  width: 200px;
  transform: translate(-50%, -50%);
  background-color: var(--main-color);
  border-radius: 50%;
  z-index: -1;
}

.home-img,
.home-text {
  grid-column: span 6;
  align-self: center;
}

.home-text h1 {
  font-size: 50px;
  text-transform: capitalize;
  margin: 0 0 25px
}

.home-text p {
  margin: 0 0 30px;
}

.home-img .fancy-br-box::before {
  border-color: var(--light-red);
}

.home-img .icon-box {
  position: absolute;
  left: -80px;
  bottom: -40px;
  animation: moveX 4s linear infinite;
}

.home-img .icon-box img {
  width: 260px;
  transform: rotateY(180deg);
}

/* 16. = about section */
.about {
  overflow: hidden;
}

.about-img,
.about-text {
  grid-column: span 6;
}

.about-img .fancy-br-box::before {
  border-color: var(--light-yellow);
}

.about-img .icon-box {
  position: absolute;
  right: -60px;
  bottom: -40px;
  animation: moveX 4s linear infinite;
}

.about-img .icon-box img {
  width: 260px;
}

.about-text h3 {
  margin: 15px 0;
}

.about-text ul li {
  margin-bottom: 6px;
  position: relative;
  padding-left: 30px;
}

.about-text ul i {
  color: var(--main-color);
  position: absolute;
  left: 0;
  top: 5px;
}

/* 17. = services section */
.services-item {
  grid-column: span 6;
  background-color: var(--white-alpha-40);
  padding: 30px;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  box-shadow: 0 0 10px var(--shadow-color);
}

.services-item .img-box {
  width: 120px;
  flex-shrink: 0;
  border-radius: 20px;
  border: 2px solid var(--border-color-1);
  padding: 8px;
}

.services-item .img-box img {
  border-radius: 20px;
}

.services-item .text {
  padding-left: 30px;
}

.services-item h3 {
  text-transform: capitalize;
  margin: 0 0 15px;
}

/* 18. = fun fact section */
.fun-fact {
  padding: 40px 0;
}

.fun-fact-item {
  grid-column: span 3;
  margin: 40px 0;
  text-align: center;
}

.fun-fact-item .box {
  height: 160px;
  width: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
  margin: auto;
}

.fun-fact-item .box::before,
.fun-fact-item .box::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  border-radius: 20%;
}

.fun-fact-item .box::before {
  transform: rotate(22deg);
  opacity: 0.3;
  z-index: -2;
}

.fun-fact-item .box::after {
  transform: rotate(45deg);
  opacity: 0.5;
  z-index: -1;
}

.fun-fact-item:nth-child(1) .box::after,
.fun-fact-item:nth-child(1) .box::before {
  background-color: var(--light-red);
}

.fun-fact-item:nth-child(2) .box::after,
.fun-fact-item:nth-child(2) .box::before {
  background-color: var(--main-color);
}

.fun-fact-item:nth-child(3) .box::after,
.fun-fact-item:nth-child(3) .box::before {
  background-color: var(--light-yellow);
}

.fun-fact-item:nth-child(4) .box::after,
.fun-fact-item:nth-child(4) .box::before {
  background-color: var(--main-color);
}

.fun-fact-item h2 {
  font-size: 35px;
}

.fun-fact-item p {
  text-transform: capitalize;
}

/* 19. = pricing section */
.pricing-item {
  grid-column: span 4;
  background-color: var(--white-alpha-40);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px var(--shadow-color);
}

.pricing-header h3 {
  font-size: 24px;
  text-transform: capitalize;
  position: relative;
  overflow: hidden;
}

.pricing-header h3::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  bottom: 100%;
  transition: transform 0.5s ease;
}

.pricing-1 .pricing-body .fa-check-circle,
.pricing-1 .pricing-header .price,
.pricing-1 .pricing-header h3::before {
  color: var(--light-red)
}

.pricing-2 .pricing-body .fa-check-circle,
.pricing-2 .pricing-header .price,
.pricing-2 .pricing-header h3::before {
  color: var(--main-color)
}

.pricing-3 .pricing-body .fa-check-circle,
.pricing-3 .pricing-header .price,
.pricing-3 .pricing-header h3::before {
  color: var(--light-yellow)
}

.pricing-header h3 span {
  display: block;
  transition: transform 0.5s ease;
}

.pricing-item:hover .pricing-header h3 span,
.pricing-item:hover .pricing-header h3::before {
  transform: translateY(100%);
}

.pricing-header .price {
  font-size: 35px;
  display: flex;
  align-items: center;
  font-weight: bold;
  margin-top: 10px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--border-color-1);
}

.pricing-header .price span {
  font-size: 16px;
  margin-left: 10px;
  font-weight: 300;
}

.pricing-body {
  padding: 15px 0 20px;
}

.pricing-body li {
  margin-bottom: 6px;
  position: relative;
  padding-left: 25px;
}

.pricing-body i {
  position: absolute;
  left: 0;
  top: 5px;
}

.pricing-footer {
  border-top: 1px solid var(--border-color-1);
  padding-top: 20px;
}

.pricing-1 .pricing-footer .btn {
  background-color: var(--light-red)
}

.pricing-2 .pricing-footer .btn {
  background-color: var(--main-color)
}

.pricing-3 .pricing-footer .btn {
  background-color: var(--light-yellow)
}

/* 20. = contact section */
.contact {
  overflow: hidden;
}

.contact-details,
.contact-form {
  grid-column: span 6;
  position: relative;
}

.contact .section-title {
  text-align: left;
  margin-bottom: 15px;
}

.contact-details .text-1 {
  margin-bottom: 20px;
}

.contact-info-item {
  position: relative;
  margin-bottom: 10px;
  padding-left: 30px;
}

.contact-info-item i {
  position: absolute;
  left: 0;
  top: 7px;
  font-size: 14px;
}

.contact-details .social-links {
  margin-top: 25px;
}

.contact-details .social-links a {
  height: 35px;
  width: 35px;
  color: var(--main-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 5px;
  border: 2px solid var(--main-color);
  transition: color 0.3s ease;
  position: relative;
}

.contact-details .social-links a:hover {
  color: var(--white);
}

.contact-details .social-links a::before {
  content: " ";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: var(--main-color);
  border-radius: 50%;
  z-index: -1;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.contact-details .social-links a:hover::before {
  transform: scale(1);
}

.contact-form::before,
.contact-form::after {
  content: "";
  position: absolute;
  transform: rotate(10deg);
}

.contact-form::before {
  right: 4px;
  top: 0px;
  height: 40px;
  width: 40px;
  background-color: var(--light-red);
  z-index: -1;
}

.contact-form::after {
  left: 15px;
  bottom: 0;
  height: 20px;
  width: 20px;
  background-color: var(--main-color);
}

.contact-form .icon-box {
  width: 120px;
  animation: moveX 4s linear infinite;
}

.contact-box {
  background-color: var(--white-alpha-40);
  padding: 50px;
  border-radius: 30px;
  box-shadow: 0 0 10px var(--shadow-color);
}

/* 21. = footer  */
.footer {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.footer::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  height: 200px;
  width: 200px;
  transform: translate(50%, 50%);
  background-color: var(--light-red);
  border-radius: 50%;
  z-index: -1;
}

.footer-top {
  padding: 40px 0 10px;
  border-top: 1px solid var(--border-color-2);
}

.footer-item {
  grid-column: span 4;
  text-align: justify;
}

.footer-center {
  padding-left: 60px;
}

.footer-item h3 {
  text-transform: capitalize;
  margin: 0 0 15px;
}

.footer ul li {
  margin-bottom: 6px;
}

.footer ul a {
  display: inline-block;
  color: var(--black-70);
  text-transform: capitalize;
  transition: color 0.3s ease;
}

.footer ul a:hover {
  color: var(--main-color);
}

.footer-bottom {
  border-top: 1px solid var(--border-color-2);
  padding: 20px 0;
  text-align: center;
}

/* 22. = responsive */

@media (max-width:1199px) {}

.container {
  padding: 0 30px;
}

@media (max-width:911px) {
  .fancy-br-box {
    height: 280px;
    width: 280px;
  }

  .home-text h1 {
    font-size: 35px;
  }

  .section-title .sub-title {
    font-size: 32px;
  }

  .services-item {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .services-item .img-box {
    margin-bottom: 20px;
  }

  .services-item .text {
    padding-left: 0;
  }

  .fun-fact-item {
    grid-column: span 6;
  }

  .pricing-item {
    grid-column: span 6;
  }

  .contact-box {
    padding: 30px;
  }

  .footer-item {
    grid-column: span 6;
  }
}

@media (max-width:767px) {
  .container {
    padding: 0 15px;
  }

  .home {
    padding: 140px 0 80px;
  }

  .home-img,
  .home-text {
    grid-column: span 12;
  }

  .home-img {
    order: -1;
  }

  .home-text {
    margin-top: 60px;
  }

  .section-title .sub-title {
    font-size: 26px;
  }

  .about-img,
  .about-text {
    grid-column: span 12;
  }

  .about-text {
    margin-top: 60px;
  }

  .pricing-item {
    grid-column: span 12;
  }

  .contact-details,
  .contact-form {
    grid-column: span 12;
  }

  .contact-form {
    margin-top: 40px;
  }
}

@media (max-width:575) {
  .services-item {
    grid-column: span 12;
  }

  .fun-fact-item {
    grid-column: span 12;
  }

  .footer-item {
    grid-column: span 12;
  }

  .row {
    grid-gap: 15px
  }
}

/* ARTICLES CSS */
a {
  color: inherit;
}

.cards-wrapper {
  display: grid;
  justify-content: center;
  align-items: center;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 4rem;
  padding: 0;
  margin: 0 auto;
  width: max-content;

}

.card {
  font-family: 'heebo';
  --bg-filter-opacity: 0.5;
  background-image: linear-gradient(rgba(0, 0, 0, var(--bg-filter-opacity)), rgba(0, 0, 0, var(--bg-filter-opacity))), var(--bg-img);
  height: 16em;
  width: 13.75em;
  font-size: 1.5em;
  color: white;
  border-radius: 1em;
  padding: 1em;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 5em -1em black;
  transition: all, var(--transition-time);
  position: relative;
  overflow: hidden;
  border: 10px solid #ccc;
  text-decoration: none;
}

.card:hover {
  transform: rotate(0);
}

.card h1 {
  margin: 0;
  font-size: 1em;
  line-height: 1.2em;
  color: var(--main-color);
}

.card p {
  font-size: 0.5em;
  font-family: 'Open Sans';
  margin-top: 0.5em;
  line-height: 2em;
}

.card .tags {
  display: flex;
}

.card .tags .tag {
  font-size: 0.5em;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 0.3rem;
  padding: 0 0.5em;
  margin-right: 0.5em;
  line-height: 1.5em;
  transition: all, var(--transition-time);
}

.card:hover .tags .tag {
  background: var(--color);
  color: white;
}

/* .card .date {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 0.75em;
  padding: 1em;
  line-height: 1em;
  opacity: .8;
} */

.card:before,
.card:after {
  content: '';
  transform: scale(0);
  transform-origin: top left;
  border-radius: 50%;
  position: absolute;
  left: -50%;
  top: -50%;
  z-index: -5;
  transition: all, var(--transition-time);
  transition-timing-function: ease-in-out;
}

.card:before {
  background: #ddd;
  width: 250%;
  height: 250%;
}

.card:after {
  /* background: white; */
  width: 200%;
  height: 200%;
}

.card:hover {
  color: var(--color);
}

.card:hover:before,
.card:hover:after {
  transform: scale(1);
}

.card-grid-space .num {
  font-size: 3em;
  margin-bottom: 1.2rem;
  margin-left: 1rem;

}

.info {
  font-size: 1.2em;
  display: flex;
  padding: 1em 3em;
  height: 3em;
}

.info img {
  height: 3em;
  margin-right: 0.5em;
}

.info h1 {
  font-size: 1em;
  font-weight: normal;
}

/* MEDIA QUERIES */
@media screen and (max-width: 1285px) {
  .cards-wrapper {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 900px) {
  .cards-wrapper {
    grid-template-columns: 1fr;
  }

  .info {
    justify-content: center;
  }

  .card-grid-space .num {
    margin-left: 0;
    text-align: center;
  }
}

@media screen and (max-width: 500px) {
  .cards-wrapper {
    padding: 4rem 2rem;
  }

  .card {
    max-width: calc(100vw - 4rem);
  }
}

@media screen and (max-width: 450px) {
  .info {
    display: block;
    text-align: center;
  }

  .info h1 {
    margin: 0;
  }
}

/* ARTICLES CSS */

/* BUTTON 3D EFFECT */
.home-text a {
  position: relative;
  display: inline-block;
  cursor: pointer;
  outline: none;
  border: 0;
  vertical-align: middle;
  text-decoration: none;
  font-size: inherit;
  font-family: inherit;
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
}

a.learn-more {
  padding: 1.25em 2em;
  border: 2px solid #b18597;
  border-radius: 0.75em;
  font-weight: 700;
  color: #382b22;
  text-transform: uppercase;
  background: #fff0f0;
  transform-style: preserve-3d;
  transition: .15s cubic-bezier(0, 0, .6, 1);
}

a.learn-more::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #f9c4d2;
  box-shadow: 0 0 0 2px #b18597, 0 .625em 0 0 #ffe3e2;
  transform: translate3d(0, .75em, -1em);
  transition: .15s cubic-bezier(0, 0, .6, 1);
}

a.learn-more:hover {
  background: #ffe9e9;
  transform: translate(0, .25em);
}

a.learn-more:hover::before {
  box-shadow: 0 0 0 2px #b18597, 0 .5em 0 0 #ffe3e2;
  transform: translate3d(0, .5em, -1em);
}

a.learn-more:active {
  background: #ffe9e9;
  transform: translate(0, .75em);
}

a.learn-more:active::before {
  box-shadow: 0 0 0 2px #b18597, 0 0 #ffe3e2;
  transform: translate3d(0, 0, -1px);
}

/* BUTTON 3D EFFECT */