@font-face {
  font-family: "DM Sans";
  src: url(../fonts/DM_Sans/DMSans-Regular.ttf);
}

body {
  font-family: "DM Sans", sans-serif !important;
  background-color: #fff !important;
}

#tooSmall {
  padding: 0 10px;
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #000 !important;
  line-height: 1.18em;
  word-wrap: break-word;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.5em;
  letter-spacing: .13em;
  display: none;
}


.workingOnIt {
  text-align: center;
  font-size: 12px;
}

#sec-header {
  display: flex;
  justify-content: end;
  padding-right: 25px;
  top: -8px;
  position: relative;

}

#header-alert {
  padding-top: 50px;
}

#header-alert h4,
#header-alert h1 {
  color: #000;
}

#header {
  height: 240px;
  display: flex;
  flex-direction: column-reverse;
  margin-left: 0px !important;
}

#header section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 35px;
}

#header h1,
#header h4 span,
#header h4 {
  color: #000 !important;
  line-height: 1.18em;
  word-wrap: break-word;
}

.workingOnIt,
#header-alert h4,
#header h4 span,
#header h4 label {
  font-weight: 500;
  font-size: 12px;
  line-height: 1.5em;
  letter-spacing: .13em;
  position: relative;
}

#header h1 {
  letter-spacing: 1.56px;
  font-size: 55px;
  max-width: 800px;
}


#header h4 span:before {
  content: "";
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background-color: currentColor;
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
}


/* portfolio */
#portfolio {
  padding-top: 100px;
  display: flex;
  justify-content: space-around;
  margin-left: auto;
  margin-right: auto;
}

.item-higher .item-portafolio-img {
  height: 680px !important;
}


.item-portfolio {
  width: 456px;
  margin-bottom: 61px;
  padding: 0px;
}

.remove-pointer {
  cursor: default !important;
}

.item-portfolio .item-portafolio-img {
  position: relative;
  width: 100%;
  height: 300px;
  background-size: cover;
  background-repeat: no-repeat;
  cursor: pointer;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.09);
  top: 0;
  border-radius: 3px;
  vertical-align: top;
  transition: transform .6s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;

}

.item-portfolio .item-portafolio-img:hover {
  transform: translateY(-3px);
}

.item-portafolio-title {
  font-size: 16px;
  text-align: center;
  width: 100% !important;
  display: inline-block;
  margin-top: 33px;
  color: #000;
}


/* skills */

#skills {
  width: 100%;
  height: 492px;
  background-color: #131619;
  display: flex;
  justify-content: space-around;
  box-shadow: 1px 1px 20px #131619 inset;
}

#skills .icon {
  font-weight: 600;
  font-size: 82px;
  line-height: 137.2%;
  color: #fff;
  text-align: center;
}

.item-skill-title {
  color: #fff;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.285em;
}

.item-skills {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 10px;
}

.item-skills>.img-skill {
  width: 89px;
  height: 85px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 31px;
}

.item-description {
  color: #BEBEBE;
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.589em;
  font-weight: 400;
  word-break: break-all;
  max-width: 70%;
  text-align: center;
}


/* Invitation */
.item-invitation {
  display: flex;
  margin-top: 50px;
  margin-bottom: 70px;
}

.item-invitation>aside,
.item-invitation>main {
  width: 50%;
}

.item-invitation-right {
  text-align: right;
}

.item-invitation-right>aside {
  justify-content: right !important;

}

.item-invitation>aside {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: left;
}


.img-invitation3,
.img-invitation2,
.img-invitation {
  position: absolute;
  width: 250px;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 5px;
  top: 50%;
  transform: translateY(-50%);
}

.next-invitation .img-invitation {
  background-size: cover;
  background-position: center;
  background-position-y: 15px;
  background-position-x: -19px;
  height: 242px;
  background-color: #fff;
}
.img-invitation {
  width: 285px;
  left: 192px;
  z-index: 2;
  height: 480px;
  box-shadow: -3px -6px 10px -4px #958e8e;
}

.img-invitation2 {
  z-index: 1;
  right: 20px;
  background-position: center;
}

.img-invitation2,
.img-invitation3 {
  height: 390px;
}

.img-invitation3 {
  background-position-y: 86%;
}

.item-invitation-right .img-invitation3 {
  background-position-y: 95%
}

.section-img-invitation {
  width: 700px;
  height: 700px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #a7b6c6;
  position: relative;
}

.item-invitation>main {
  display: flex;
  align-items: center;
  padding: 0 40px;
  justify-content: center;
}

.item-invitation>main>section {
  width: 60%;
}

.item-invitation h2 {
  color: #000;
  font-size: 55px;
}

.item-invitation p {
  font-size: 17px;
  line-height: 1.589em;
  font-weight: 400;
  margin: 20px 0px;
}

.btn-item-invitation {
  color: #fff;
  background-color: #131619;
  border: 1px solid transparent;
  border-radius: 28px;
  padding: 11px 19px;
  display: inline-block;
  margin-top: 20px;
}

#buy-invitation {
  width: 100%;
  display: flex;
  justify-content: center;
}


/* our-projects */
#our-projects {
  background-color: #131619;
  width: 100%;
  margin-top: 90px;
  padding-top: 120px;
}

#our-projects header {
  text-align: center;
}

#our-projects header h2 {
  text-align: center;
  font-weight: 500;
  color: #fff;
  font-size: 55px;
  line-height: 1.18em;
}

#our-projects h4 {
  color: #FFF;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.5em;
  text-transform: uppercase;
  display: inline-block;
  position: relative;
  letter-spacing: .13em;
  padding-left: 9px;
  margin-bottom: 0;
}

#our-projects header p {
  color: #BEBEBE;
  margin-bottom: 13px;
}

#our-projects main {
  height: 500px;
}

#our-projects main .img-our-projects {
  width: 100%;
  height: 90%;
}


/* footer */

#footer main {
  display: flex;
  align-items: center;
  flex-direction: column;
  height: 650px;
  justify-content: center;
}

#footer main label {
  margin-bottom: 20px;
  font-size: 20px;
  line-height: 1.18em;
}

#footer main a {
  color: #fff;
  background-color: #131619;
  border: 1px solid transparent;
  border-radius: 28px;
  padding: 11px 19px;
  display: inline-block;
}

#footer h2 {
  color: #000;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5em;
  letter-spacing: .13em;
  margin-bottom: 0;
  padding: 10px 0;
}

#footer footer {
  text-align: center;
}