

@import 'https://fonts.googleapis.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i|Open+Sans:300,300i,400,400i,600,600i,700,700i,800,800i|Playfair+Display:400,400i,700,700i,900,900i';



h1 {
    
    font-family: 'Josefin Sans';
    font-size: 80px;
    line-height: 70px;
    color: #7c7878;
}

h4 {
    
    font-family: 'Josefin Sans';
    text-transform: capitalize;
    letter-spacing: 2px;
    position: relative;
    color: #afafaf;
    margin-left: 40px;
    font-weight: 700;
}

h4:before {
    position: absolute;
    width: 30px;
    left: -40px;
    content: "";
    display: block;
    height: 2px;
    background: #757577;
    top: 9px;
}

#own .size-50{
  font-size: 50px;
  line-height: 50px

}

#own .h-50 {
  height: 50px;

}








/* General
==================================================*/

body {
  
  font-family: 'Josefin Sans';
    font-size: 20px;
    line-height: 36px;
    background-color: black;
}

.size-50 {
    font-size: 50px;
    line-height: 50px
}

.h-50 {
    height: 50px;
}





/* Header
==================================================*/

header {
    text-align: center;
    -webkit-transition: all .5s;
    transition: all .5s;
    height: 65px;
}

nav ul {
    display: inline-block;
    padding-left: 0;
    list-style: none;
    padding: 20px;
    margin-bottom: 0;
    -webkit-transition: all .5s;
    transition: all .5s;
}

nav li {
    display: inline-block;
    margin: 10px;
}

nav li a {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #444;
    font-size: 11px;
    font-weight: bold;
}

.bg-nav {
    background: black;
    border-bottom: 1px solid black;
    
}

.bg-nav ul {
    padding: 10px;
}

a:focus {
    color: #9781de;
    text-decoration: none;
}

a:hover {
    color: #9781de;
    text-decoration: none;
}

a.active {
    color: #9781de;
}


/* home section
==================================================*/

#home {
   
    background-size: fill;
  
}

.table-cell {
    display: table-cell;
    vertical-align: middle;
}

.disply-table {
    display: table;
    height: 100vh;
}

/* about section
==================================================*/

#about {
  margin-top: 700px; 
  background-color: #101010;
  padding: 100px 0;
}

.about-img-div img {
  margin: 0 auto;
  width: 100vw;
  

}

@media (max-width: 2500px) {
  model-viewer {
    
    margin-top: 900px; /* Ajusta el tamaño máximo para dispositivos móviles */
    }
}

@media (max-width: 1900px) {
  #about {

    margin-top: 900px;
    
  }
}


@media (max-width: 600px) {
  #about {
      
    margin-top: 500px;
      
  }
}





/* experience section
==================================================*/

#experience {
  padding: 100px 0;
  background: #191919;
  border-radius: 40px;
}

.experience-row {
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
  border-radius: 40px;
}

.experience-row h3 {
  font-family: 'Lato', sans-serif;
  text-transform: capitalize;
  letter-spacing: 2px;
  color: #9781de;
  font-size: 16px;
  font-weight: bold;
  border-radius: 40px;  
}

.experience-row p {
  color: #888;
  margin-top: 20px;
  font-size: 15px;
  border-radius: 40px;
}

.experience-row .date {
  color: #000;
  font-size: 17px;
  border-radius: 40px;
}

.timeline {
  padding-left: 0;
  list-style: none;
  position: relative;
  border-radius: 40px;
  
}

.timeline:before {
  background-color: black;
  content: '';
  margin-left: -1px;
  position: absolute;
  top: 0;
  left: 2em;
  width: 2px;
  height: 100%;
  border-radius: 40px;
  
}

.timeline-event {
  position: relative;
  border-radius: 40px;
  
  
}

.timeline-event:hover .timeline-event-icon {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  background-color: #9781de;
  border-radius: 40px;
}

.timeline-event:hover .timeline-event-thumbnail {
  box-shadow: inset 40em 0 0 0 #6e56be;
  border-radius: 40px;
}

.timeline-event-copy {
  padding: 2em;
  position: relative;
  top: -1.875em;
  left: 4em;
  width: 100%;
  border-radius: 40px;
  border-radius: 40px;
}

.timeline-event-copy h3 {
  font-size: 1.75em;
  border-radius: 40px;
}

.timeline-event-copy h4 {
  font-size: 1.2em;
  margin-bottom: 1.2em;
  border-radius: 40px;
}

.timeline-event-copy strong {
  font-weight: 700;
  border-radius: 40px;
}

.timeline-event-copy p:not(.timeline-event-thumbnail) {
  padding-bottom: 1.2em;
  border-radius: 40px;
}

.timeline-event-icon {
  -webkit-transition: -webkit-transform 0.2s ease-in;
  transition: -webkit-transform 0.2s ease-in;
  transition: transform 0.2s ease-in;
  transition: transform 0.2s ease-in, -webkit-transform 0.2s ease-in;
  -webkit-transform: rotate(45deg);
  transform: rotate(20deg);
  background-color: #9781de;
  outline: 6px solid #3f3f40;
  display: block;
  margin: 0.5em 0.5em 0.5em -0.5em;
  position: absolute;
  top: 0;
  left: 2em;
  width: 1em;
  height: 1em;
  border-radius: 40px;
  
}

.timeline-event-thumbnail {
  -moz-transition: box-shadow 0.5s ease-in 0.1s;
  -o-transition: box-shadow 0.5s ease-in 0.1s;
  -webkit-transition: box-shadow 0.5s ease-in;
  -webkit-transition-delay: 0.1s;
  -webkit-transition: box-shadow 0.5s ease-in 0.1s;
  transition: box-shadow 0.5s ease-in 0.1s;
  color: white;
  font-size: 12px;
  font-weight: bold;
  background-color: black;
  box-shadow: inset 0 0 0 0em #9781de;
  display: inline-block;
  margin-bottom: 1.2em;
  padding: 0.25em 1em 0.2em 1em;
  border-radius: 40px;
}


/* projects section
==================================================*/

#projects {
  padding: 100px 0;
  background: #0f0f0f; 
}

.portfolio .categories-grid span {
  font-size: 30px;
  margin-bottom: 30px;
  display: inline-block;
  
}

.portfolio .categories-grid .categories ul li {
  list-style: none;
  margin: 20px 0;
   
}

.portfolio .categories-grid .categories ul li a {
  display: inline-block;
  color: #60606e;
  padding: 0 10px;
  margin: 0 14px;
  -webkit-transition: all .2s ease-in-out .2s;
  transition: all .2s ease-in-out .2s;
  border-radius: 200px;
}

.portfolio .categories-grid .categories ul li a:hover,
.portfolio .categories-grid .categories ul li a:focus {
  text-decoration: none;
}

.portfolio .categories-grid .categories ul li a.active {
  background-color: #9781de;
  padding: 0px 20px;
  color: white;
  text-decoration: none;
  
}

.portfolio_filter {
  padding-left: 0;
  
}

.portfolio_item {
  position: relative;
  overflow: hidden;
  display: block;
  margin-bottom: 30px;
  
  border-radius: 100px;
}

.portfolio_item .portfolio_item_hover {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  background-color: #9781de;
 
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  opacity: 0;
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
  color: #333;
}

.portfolio_item .portfolio_item_hover .item_info {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  padding: 10px;
  width: 100%;
  font-weight: bold;
}

.portfolio_item .portfolio_item_hover .item_info span {
  display: block;
  color: #fff;
  font-size: 18px;
  -webkit-transform: translateY(-100px);
  transform: translateY(-100px);
  -webkit-transition: all .3s ease-in-out .3s;
  transition: all .3s ease-in-out .3s;
  opacity: 0;
}

.portfolio_item .portfolio_item_hover .item_info em {
  font-style: normal;
  display: inline-block;
  background-color: #644ead;
  padding: 5px 20px;
  color: #fff;
  margin-top: 10px;
  -webkit-transform: translateY(100px);
  transform: translateY(100px);
  -webkit-transition: all .3s ease-in-out .3s;
  transition: all .3s ease-in-out .3s;
  opacity: 0;
  font-size: 10px;
  letter-spacing: 2px;
}



.portfolio_item:hover .item_info em,
.portfolio_item:hover .item_info span {
  opacity: 1;
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

.portfolio .categories-grid .categories ul li {
  float: left;
}

.portfolio .categories-grid .categories ul li a {
  padding: 0 10px;
  -webkit-transition: all .2s ease-in-out .2s;
  transition: all .2s ease-in-out .2s;
}

.portfolio_filter {
  padding-left: 0;
  display: inline-block;
  margin: 0 auto;
  text-align: center;
}

.portfolio_item img {
 
  
}

.portfolio-padding {
  padding: 50px 0;
}

.portfolio-inner {
  padding-bottom: 0 !important;
  padding-top: 55px;
}

.modal-content {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0);
  border: none;
}

.popup-modal {
  background: #fff;
}

.close-popup-modal {
  float: right;
  margin: 20px;
  font-size: 22px;
  opacity: 0;
  cursor: pointer;
  -webkit-transition: all .3s;
  transition: all .3s;
  -webkit-transition-delay: .6s;
  transition-delay: .6s;
  position: fixed;
  z-index: 100000;
  right: 14px;
}

.animatedModal-on .close-popup-modal {
  opacity: 1;
}

.modal-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  line-height: 50px;
}


/* contact
==================================================*/

#contact {
  padding: 100px 0;
  background: #f3f3f3
}

#contact-form input,
#contact-form textarea {
  height: 50px;
  margin-bottom: 10px;
  border-radius: 0;
}

#contact-form label {
  display: block;
  margin-bottom: .2em;
  font-size: 13px;
  line-height: 13px;
  font-size: 1.3rem;
  line-height: 1.3rem;
  color: #000;
}

#contact-form label.error {
  margin-top: 10px;
  margin-bottom: 1em;
  font-size: 12px;
  line-height: 12px;
  font-size: 1.2rem;
  line-height: 1.2rem;
  color: #D33E43;
  margin-left: 10px
}



#contact-form input[type="text"].error,
#contact-form input[type="password"].error,
#contact-form input[type="date"].error,
#contact-form input[type="datetime"].error,
#contact-form input[type="datetime-local"].error,
#contact-form input[type="month"].error,
#contact-form input[type="week"].error,
#contact-form input[type="email"].error,
#contact-form input[type="number"].error,
#contact-form input[type="search"].error,
#contact-form input[type="tel"].error,
#contact-form input[type="time"].error,
#contact-form input[type="url"].error,

#contact-form textarea.error {
  border-color: #D33E43
}

textarea {
  resize: none;
}

fieldset {
  border: 0px;
  margin: 0;
  padding: 0
}

.required {
  color: #e9266d
}

#success,
#error {
  display: none
}

#success p,
#error p {
  display: block;
}

#success p {
  color: #425BB5;
  font-size: 15px;
  text-align: center;
  padding: 10px;
  border: 2px solid #425BB5;
  margin-top: 10px;
}

#error p {
  color: #D33E43;
  font-size: 15px;
  text-align: center;
  padding: 10px;
  border: 2px solid #D33E43;
  margin-top: 10px;
}

#submit {
  background-color: #425BB5;
  color: #fff;
  padding: 10px 40px;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
  width: 100%;
}

.social {
  padding-left: 0;
  list-style: none;
  margin-top: 20px;
}

.social li {
  float: left;
}

.social li a {
  color: #de86df;
  font-size: 35px;
  margin-right: 15px;
  transition: all .3s;
  -webkit-transition: all .3s;
}

.social li a:hover {
  color: #de86df;
  
}


/* Responsive media queries
==================================================*/

@media (max-width: 991px) {
 .portfolio .categories-grid .categories ul li a {
      padding: 0 2px;
  }
}

@media (max-width: 768px) {
 .timeline-event-copy {
      width: 90%;
      left: 2em;
  }
}

@media (max-width: 500px) {
  h1 {
      font-family: 'Playfair Display', serif;
      font-size: 50px;
      line-height: 50px;
  }
  #home,
  .disply-table {
      height: 200px;
  }
  .about-border {
      width: 265px;
  }
  .portfolio .categories-grid .categories ul li {
      list-style: none;
      margin: 10px 0;
  }
}

@media (max-width: 420px) {
  nav li {
      margin: 6px;
  }
  nav li a {
      font-size: 10px;
  }
}




:not(:defined) > * {
  display: none;
}

html {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

model-viewer {
  width: 100%;
  height: 90%;
  background-color: #ffffff;
}


.progress-bar {
  display: block;
  width: 33%;
  height: 10%;
  max-height: 2%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  border-radius: 25px;
  box-shadow: 0px 3px 10px 3px rgba(0, 0, 0, 0.5), 0px 0px 5px 1px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.9);
  background-color: rgba(0, 0, 0, 0.5);
}

.progress-bar.hide {
  visibility: hidden;
  transition: visibility 0.3s;
}

.update-bar {
  background-color: rgba(255, 255, 255, 0.9);
  width: 0%;
  height: 100%;
  border-radius: 25px;
  float: left;
  transition: width 0.3s;
}

#ar-button {
  background-image: url(ar_icon.png);
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position: 12px 50%;
  background-color: black;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  bottom: 16px;
  padding: 0px 16px 0px 40px;
  font-family: Roboto Regular, Helvetica Neue, sans-serif;
  font-size: 14px;
  color:white;
  height: 36px;
  line-height: 36px;
  border-radius: 18px;
  border: 1px solid #DADCE0;
}

#ar-button:active {
  background-color: #E8EAED;
}

#ar-button:focus {
  outline: none;
}

#ar-button:focus-visible {
  outline: 1px solid #4285f4;
}

@keyframes circle {
  from { transform: translateX(-50%) rotate(0deg) translateX(50px) rotate(0deg); }
  to   { transform: translateX(-50%) rotate(360deg) translateX(50px) rotate(-360deg); }
}

@keyframes elongate {
  from { transform: translateX(100px); }
  to   { transform: translateX(-100px); }
}

model-viewer > #ar-prompt {
  position: absolute;
  left: 50%;
  bottom: 60px;
  animation: elongate 2s infinite ease-in-out alternate;
  display: none;
}

model-viewer[ar-status="session-started"] > #ar-prompt {
  display: block;
}

model-viewer > #ar-prompt > img {
  animation: circle 4s linear infinite;
}