@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap");
.container {
  max-width: 1100px;
  padding: 0 1.5rem;
  margin: auto;
  overflow: hidden;
}

.bg-main {
  background: #373b44;
  color: #fff;
}
.bg-dark {
  background: #000;
  color: #fff;
}
.bg-light {
  background: #fff;
  color: #fff;
}
.bg-medium {
  background: #aa4b6b;
  color: #fff;
}

.py-1 {
  padding: 1rem;
}
.py-2 {
  padding: 2rem;
}
.py-3 {
  padding: 3rem 0;
}
.py-4 {
  padding: 4rem 0;
}

.my-1 {
  margin: 1rem 0;
}
.my-2 {
  margin: 2rem 0;
}
.my-3 {
  margin: 3rem 0;
}
.my-4 {
  margin: 4rem 0;
}

.section-title {
  font-size: 2rem;
  display: block;
  color: #000;
  padding-bottom: 0.5rem;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
}

.bottom-line {
  height: 2px;
  width: 50%;
  background: #373b44;
  display: block;
  margin: 0 auto 0.5rem auto;
}

.lead {
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

.text-center {
  text-align: center;
}

*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  scroll-behavior: smooth;
}

:target {
  scroll-margin-top: 5rem;
}

body {
  font-size: 80%;
  background: #fff;
  color: #000;
}

a {
  text-decoration: none;
  color: #000;
}

ul {
  list-style: none;
}

h2,
h3,
h4 {
  text-transform: uppercase;
}

img {
  width: 100%;
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  font-weight: 400;
}

.headingpr {
  color: #373b44;
  margin-bottom: 6rem;
}
.headingpr--main {
  color: #373b44;
  font-size: 2rem;
  letter-spacing: 1.2rem;
  animation: moveInLeft 1s ease-out;
}
@media only screen and (max-width: 37.5em) {
  .headingpr--main {
    color: #aa4b6b;
    letter-spacing: 0.5rem;
    font-size: 1.5rem;
  }
}
.headingpr--sub {
  color: #aa4b6b;
  display: block;
  font-size: 2rem;
  letter-spacing: 0.5rem;
}
@media only screen and (max-width: 37.5em) {
  .headingpr--sub {
    letter-spacing: 0.5rem;
    font-size: 2rem;
  }
}

.headingsec {
  display: inline-block;
  font-size: 2rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #373b44;
}
@media only screen and (max-width: 37.5em) {
  .headingsec {
    font-size: 1.5rem;
  }
}
.headingsec:hover {
  text-shadow: 0.5rem 1rem 2rem rgba(0, 0, 0, 0.2);
}

.headingth {
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #aa4b6b;
}

.paragraph:not(:last-child) {
  margin-bottom: 1rem;
}

.btn-portfolio, .btn-dark, .btn-light, .btn-main {
  display: inline-block;
  padding: 0.8rem 2rem;
  transition: transform 0.5s;
  border: none;
  cursor: pointer;
}

.btn-main {
  color: #333;
  background-color: #373b44;
}
.btn-light {
  color: #333;
  background-color: #fff;
}
.btn-dark {
  color: #f4f4f4;
  background-color: #000;
  max-width: 150px;
}
.btn-portfolio {
  color: #f4f4f4;
  background-color: #000;
  border-radius: 10px;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.4);
}

button[class^=btn-]:hover,
a[class^=btn-]:hover,
input[class^=btn-]:hover {
  background-image: linear-gradient(to right bottom, #aa4b6b 60%, #f0d290);
  transform: scale(1.05);
  color: #000;
  font-weight: 700;
}

@keyframes moveInLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  80% {
    transform: translateX(20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0px);
  }
}
#main-nav {
  background-color: #373b44;
}
#main-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}
#main-nav .container #logo {
  height: 3rem;
  width: 3rem;
}
#main-nav .container .hamburger {
  display: none;
  background-color: #373b44;
  border: none;
  cursor: pointer;
}
#main-nav .container .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: #fff;
}
#main-nav .container .nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#main-nav .container .nav-item {
  margin-left: 5rem;
}
#main-nav .container .nav-link {
  font-size: 1.2rem;
  font-weight: 400;
  color: #fff;
}
#main-nav .container .nav-link:hover {
  color: #aa4b6b;
}

@media only screen and (max-width: 768px) {
  #main-nav .container .nav-menu {
    position: fixed;
    left: -100%;
    top: 5rem;
    flex-direction: column;
    background-color: #373b44;
    width: 100%;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    z-index: 100;
  }
  #main-nav .container .nav-menu.active {
    left: 0;
  }
  #main-nav .container .nav-item {
    margin: 2.5rem 0;
  }
  #main-nav .container .hamburger {
    display: block;
    cursor: pointer;
  }
  #main-nav .container .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  #main-nav .container .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  #main-nav .container .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}
#header .intro {
  margin-top: 3rem;
  display: flex;
  flex-direction: row;
  gap: 5rem;
  align-items: center;
  justify-content: space-between;
}
#header .intro h1 span {
  font-size: 2.5rem;
}
#header .intro h1 {
  font-size: 3rem;
}
#header .intro p {
  font-size: 1.2rem;
}
#header .intro p a {
  color: #373b44;
  -webkit-text-decoration: wavy underline;
          text-decoration: wavy underline;
  font-weight: bold;
}
#header .intro img {
  width: 500px;
  aspect-ratio: 1;
  background: radial-gradient(circle closest-side, #aa4b6b 70%, #fff 100%);
}
#header .intro .img {
  --s: 500px; /* image size */
  --b: 3px; /* border thickness */
  --c: #ffff; /* border color */
  --f: 1; /* initial scale */
  width: var(--s);
  aspect-ratio: 1;
  padding-top: calc(var(--s) / 5);
  cursor: pointer;
  border-radius: 0 0 999px 999px;
  --_g: 50% / calc(100% / var(--f)) 100% no-repeat content-box;
  --_o: calc((1 / var(--f) - 1) * var(--s) / 2 - var(--b));
  outline: var(--b) solid var(--c);
  outline-offset: var(--_o);
  background: radial-gradient(circle closest-side, #781d42 calc(99% - var(--b)), var(--c) calc(100% - var(--b)) 99%, rgba(0, 0, 0, 0)) var(--_g);
  -webkit-mask: linear-gradient(#000 0 0) no-repeat 50% calc(1px - var(--_o))/calc(100% / var(--f) - 2 * var(--b) - 2px) 50%, radial-gradient(circle closest-side, #000 99%, rgba(0, 0, 0, 0)) var(--_g);
  transform: scale(var(--f));
  transition: 0.5s;
}
#header .intro img:hover {
  --f: 1.2;
}

@media (max-width: 500px) {
  #header .intro {
    padding-top: 2rem;
    flex-direction: column;
    gap: 0.5rem;
  }
  #header .intro h1 span {
    font-size: 2rem;
  }
  #header .intro h1 {
    font-size: 1.5rem;
  }
  #header .intro p {
    font-size: 1rem;
  }
}
#main-footer {
  background: #000;
  color: #fff;
  height: 5rem;
  display: flex;
  justify-content: space-around;
  height: 5rem;
  align-items: center;
}
#main-footer .footer-content a {
  color: #fff;
}
#main-footer .footer-content .fab {
  margin-right: 1rem;
  border: 2px #fff solid;
  border-radius: 50%;
  height: 1.5rem;
  width: 1.5rem;
  line-height: 1.5rem;
  text-align: center;
  padding: 0.5rem;
}
#main-footer .footer-content .fab:hover {
  background: #aa4b6b;
}

@media (max-width: 500px) {
  #main-footer {
    height: auto;
  }
  #main-footer .footer-content {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    height: auto;
  }
  #main-footer .footer-content .social {
    margin-bottom: 1.5rem;
  }
}
#portfolio_cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 2fr));
  grid-gap: 1rem;
  color: #fff;
}
#portfolio_cards .card .wrapper {
  background-color: #aa4b6b;
  min-height: 540px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
}
#portfolio_cards .card .wrapper:hover .data {
  transform: translateY(0);
}
#portfolio_cards .card .data {
  position: absolute;
  bottom: 0;
  transform: translateY(30rem);
  transition: transform 0.3s;
}
#portfolio_cards .card .data .content {
  padding: 1rem;
}
#portfolio_cards .card .title {
  font-size: 1.5rem;
}
#portfolio_cards .card .text {
  margin: 0;
}
#portfolio_cards .card .date {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #373b44;
  color: #fff;
  padding: 1rem;
  border-radius: 0 0 50%;
}
#portfolio_cards .card .date span {
  display: block;
  text-align: center;
}
#portfolio_cards .card .date .day {
  font-weight: 700;
  font-size: 24px;
  text-shadow: 2px 3px 2px rgba(0, 0, 0, 0.18);
}
#portfolio_cards .card .date .month {
  text-transform: uppercase;
}
#portfolio_cards .card .date .month,
#portfolio_cards .card .date .year {
  font-size: 10px;
}
#portfolio_cards .card .content {
  background-color: #373b44;
  box-shadow: 0 5px 30px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
#portfolio_cards .card .menu-content {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2rem;
  font-size: 1rem;
}
#portfolio_cards .card .menu-content li a {
  padding: 0.5rem;
  border: 1px solid transparent;
  border-radius: 1rem;
}
#portfolio_cards .card .menu-content li a i {
  margin-right: 0.5rem;
}
#portfolio_cards .card .menu-content li a:hover {
  border: 1px solid #000;
  color: #000;
}
#portfolio_cards .example-1 .wrapper {
  background: url("img/pj/main_1.gif") center/cover no-repeat;
}
#portfolio_cards .example-2 .wrapper {
  background: url("img/pj/main_2.gif") center/cover no-repeat;
}
#portfolio_cards .example-3 .wrapper {
  background: url("img/pj/main_3.gif") center/cover no-repeat;
}

#intro {
  margin: 2rem 0 3rem;
}
#intro .intro-stack .flex {
  margin: 3rem;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  color: #000;
}
#intro .intro-stack .js .general {
  background: url("img/icons/code.svg") no-repeat center center;
  background-size: 80%;
}
#intro .intro-stack .js {
  padding: 1rem;
  position: relative;
}
#intro .intro-stack .js .general {
  width: 300px;
  height: 300px;
  position: relative;
}
#intro .intro-stack .js .general div {
  width: 60px;
  height: 60px;
  text-align: center;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  transform-origin: 150px 150px;
}
#intro .intro-stack .js .general div:nth-child(1) {
  transform: rotateZ(0deg);
}
#intro .intro-stack .js .general div:nth-child(1) img {
  transform: rotateZ(0deg);
}
#intro .intro-stack .js .general div:nth-child(2) {
  transform: rotateZ(45deg);
}
#intro .intro-stack .js .general div:nth-child(2) img {
  transform: rotateZ(-45deg);
}
#intro .intro-stack .js .general div:nth-child(3) {
  transform: rotateZ(90deg);
}
#intro .intro-stack .js .general div:nth-child(3) img {
  transform: rotateZ(-90deg);
}
#intro .intro-stack .js .general div:nth-child(4) {
  transform: rotateZ(135deg);
}
#intro .intro-stack .js .general div:nth-child(4) img {
  transform: rotateZ(-135deg);
}
#intro .intro-stack .js .general div:nth-child(5) {
  transform: rotateZ(180deg);
}
#intro .intro-stack .js .general div:nth-child(5) img {
  transform: rotateZ(-180deg);
}
#intro .intro-stack .js .general div:nth-child(6) {
  transform: rotateZ(225deg);
}
#intro .intro-stack .js .general div:nth-child(6) img {
  transform: rotateZ(-225deg);
}
#intro .intro-stack .js .general div:nth-child(7) {
  transform: rotateZ(270deg);
}
#intro .intro-stack .js .general div:nth-child(7) img {
  transform: rotateZ(-270deg);
}
#intro .intro-stack .js .general div:nth-child(8) {
  transform: rotateZ(315deg);
}
#intro .intro-stack .js .general div:nth-child(8) img {
  transform: rotateZ(-315deg);
}

@media only screen and (max-width: 768px) {
  #intro {
    margin: 2rem 0 3rem;
  }
  #intro .intro-stack .flex {
    margin: 2rem;
  }
}
#portfolio {
  color: #000;
}
#portfolio .portfolio_2 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 5rem;
}
#portfolio .portfolio_3 {
  color: #000;
}
#portfolio .portfolio_3 .process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  grid-gap: 1.5rem;
  text-align: center;
}
#portfolio .portfolio_3 .process-step {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 28px;
  background: #373b44;
  color: #fff;
  border-radius: 50%;
  height: 15px;
  width: 15px;
  line-height: 15px;
  padding: 1rem;
  transition: all 0.5s;
  display: grid;
  place-content: center;
}
#portfolio .portfolio_3 .process-icon {
  border-radius: 50%;
  background: #000;
  color: #fff;
  padding: 2rem;
  width: 70px;
  height: 70px;
  line-height: 70px;
  text-align: center;
  position: relative;
  transition: all 1s;
}
#portfolio .portfolio_3 .process-icon:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 1s;
}
#portfolio .portfolio_3 .process-icon:hover {
  background: #373b44;
}
#portfolio .portfolio_3 .process-icon:hover .process-step {
  background: #000;
  color: #fff;
}

#contact {
  max-width: 800px;
  margin: auto;
  margin-bottom: 30px;
}
#contact .contact-form {
  color: #fff;
}
#contact .contact-form .text-fields {
  display: grid;
  grid-template-areas: "name email" "subject phone" "message message";
  grid-gap: 1.2rem;
  margin-bottom: 1.2rem;
}
#contact .contact-form .text-fields .name-input {
  grid-area: name;
}
#contact .contact-form .text-fields .subject-input {
  grid-area: subject;
}
#contact .contact-form .text-fields .email-input {
  grid-area: email;
}
#contact .contact-form .text-fields .phone-input {
  grid-area: phone;
}
#contact .contact-form .text-fields .message-input {
  grid-area: message;
  grid-row: 3/span 2;
  height: 100px;
}
#contact .contact-form .text-fields .text-input {
  padding: 0.5rem 1rem;
}
#contact .contact-form button[type=submit] {
  width: 50%;
}
#contact .contact-info {
  margin: 30px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  text-align: center;
}

@media (max-width: 600px) {
  #contact .contact-form .text-fields {
    grid-template-areas: "name" "email" "subject" "phone" "message";
  }
  #contact .contact-form .text-fields .message-input {
    grid-row: 5;
  }
}/*# sourceMappingURL=styles.css.map */