* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
img{
  width: 100%;
}
html {
  font-family: "poppins";
}

:root{
  --color-neutral-light: #F6F5EF;
  --color-main-light: #F1DADA;
  --color-main-medium: #E3B5B5;
}


.about_container{

  width: 80vw;
  margin: 0 10vw;
  height: 100vh;
  align-items: center;
  justify-content: center;

}

.about_text{


  padding-right: 2em;
  line-height: 2em;
  align-items: center;
  justify-content: center;
}

.about_text h3{
  font-family: Permanent Marker;
  font-size: 1.5rem;
  padding-bottom: 1em;
  opacity: 0.6;
}
.about_text p{
font-size: 1rem
}





.about_portrait{

  display: flex;
  align-items: center;
  justify-content: center;
}

.box{
  position: relative;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  overflow: hidden;
  background-color: ;
}

.box::before{
  content: '';
  position: absolute;

  inset: -10px 140px;
  background: var(--color-main-medium); 
  transition: 0.5s;
  animation: rotate 4s linear infinite;
}

.box:hover::before{
  inset: -20px 0px;
}



.box::after{
  content: '';
  position: absolute;
  inset: 6px;
  background-color: white;
  border-radius: 50%;
  z-index: 1;
}

.content{
  position: absolute;
  inset: 6px;
  /*border: 6px solid #ececec;*/
  z-index: 5;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.2s;
  pointer-events: none;
}

.box:hover .content img{
  opacity: 0;
}

@keyframes rotate{
  0%{
    transform: rotate(0deg);
  }
    100%{
    transform: rotate(360deg);
  }
}


@media(max-width: 500px){
  .about_text{
    padding-right: 0;
    margin-top: 120px;
  }

  .about_text p{
    font-size: 0.9rem
}
  .box{
    width: 300px;
    height: 300px;
  }
}



.guide{
  position: absolute;
  top: 80vh;
  left: 50vw;
  width: 30px;
  height: 30px;
  transform: translateX(-50%);
  
}


/*FIELDS*/

.fields{
  margin-bottom: 120px;
}

h2{
  text-align: center;
  font-size: 2.5rem;
  font-family: 'Permanent Marker', cursive;
  font-weight: 500;
  line-height: 1.5em;
  opacity: 0.6;
}

.fields h4{
  padding-top: 1.5em;
  font-family: poppins;
  font-size: 1rem;
  font-weight: 500; 
}

.ch-grid {
  padding-top: 20px;
  list-style: none;
  display: block;
  text-align: center;
  width: 100%;
}

.ch-grid li {
  width: 200px;
  height: 200px;
  display: inline-block;
  margin: 40px;
}

.ch-item {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  cursor: default;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.ch-thumb {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  position: absolute;
  box-shadow: inset 0 0 0 15px rgba(255,255,255, 0.5);
  transform-origin: 95% 40%;
  transition: all 0.3s ease-in-out;
}

.ch-thumb:after {
  content: '';
  width: 8px;
  height: 8px;
  position: absolute;
  border-radius: 50%;
  top: 40%;
  left: 95%;
  margin: -4px 0 0 -4px;
  background: radial-gradient(ellipse at center, rgba(14,14,14,1) 0%,rgba(125,126,125,1) 100%);
  box-shadow: 0 0 1px rgba(255,255,255,0.9);
}

.ch-img-1 { 
  background: yellow url(../img/about/ux.png);
  background-size: cover;
  z-index: 12;
}

.ch-img-2 { 
  background: pink url(../img/about/animation.png);
  background-size: cover;
  z-index: 11;
}

.ch-img-3 { 
  background: blue url(../img/about/coding.png);
  background-size: cover;
  z-index: 10;
}

.ch-info {
  position: absolute;
  width: inherit;
  height: inherit;
  border-radius: 50%;
  overflow: hidden;
  background: #333;
  box-shadow: inset 0 0 0 5px rgba(0,0,0,0.05);
}

.ch-info h3 {
  color: #fff;
  text-transform: uppercase;
  position: relative;
  letter-spacing: 2px;
  font-size: 18px;
  margin-left: 30px;
  margin-right: 30px;
  margin-bottom: 8px;
  padding: 22px 0 0 0;
  height: 85px;
  font-family: 'Open Sans', Arial, sans-serif;
  text-shadow: 0 0 1px #fff, 0 1px 2px rgba(0,0,0,0.3);
    border-bottom: 1px solid rgba(255,255,255,0.5);
}

.ch-info p {
  color: #fff;
  font-style: italic;
  margin: 0 auto;
  font-size: 12px;
  line-height: 1.5em;
}


.ch-item:hover .ch-thumb {
  box-shadow: inset 0 0 0 15px rgba(255,255,255, 0.5), 0 1px 3px rgba(0,0,0,0.2);
  transform: rotate(-110deg);
}


.resume{
  font-size: 3rem;
  font-family: 'Permanent Marker', cursive;
  text-align: center;
  opacity: 0.6;
}

.tt_container{
  display: block;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin: 80px 0;
}
.title{
  display: flex;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
}

.icon_ed, .icon_wk{
  width: 100px;
  height: 100px;
}
.icon_ed img{
  width: 100%;
}

.icon_wk img{
  width: 90%;
  padding-left: 0px;
  padding-top: 5px;
}


.tl_container {
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}


.timeline {
  width: 80%;
  height: auto;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline ul {
  list-style: none;
}
.timeline ul li {
  padding: 20px;
  background-color:white;
  color: black;
  border-radius: 10px;
  margin-bottom: 20px;
}
.timeline ul li:last-child {
  margin-bottom: 0;
}
.timeline-content h1 {
  font-weight: 500;
  font-size: 24px;
  line-height: 30px;

}
.timeline-content p {
  font-size: 16px;
  line-height: 30px;
  font-weight: 300;
  padding-top: 1em
}
.timeline-content .date {
  font-size: 12px;
  font-weight: 300;
  margin-bottom: 10px;
  letter-spacing: 2px;
}


@media only screen and (min-width: 768px) {
  .timeline:before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background-color: black;
  }
  .timeline ul li {
    width: 50%;
    position: relative;
    margin-bottom: 50px;
  }
  .timeline ul li:nth-child(odd) {
    float: left;
    clear: right;
    transform: translateX(-30px);
    border-radius: 20px 0px 20px 20px;
  }
  .timeline ul li:nth-child(even) {
    float: right;
    clear: left;
    transform: translateX(30px);
    border-radius: 0px 20px 20px 20px;
  }
  .timeline ul li::before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background-color: white;
    border: 1.5px solid black;
    top: 0px;
    transition: 0.4s;
  }
  .timeline ul li:nth-child(odd)::before {
    transform: translate(50%, -50%);
    right: -30px;
  }
  .timeline ul li:nth-child(even)::before {
    transform: translate(-50%, -50%);
    left: -30px;
  }
  .timeline-content .date {
    position: absolute;
    top: -30px;
  }
  .timeline ul li:hover::before {
    background-color: black;
  }
}


.contacts{

  width: 80vw;
  margin: 0 auto;
}

.contact{
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact a{
  display: flex;
  justify-content: center;
  align-items: center;
  color: black;
  text-decoration: none;
  transition: 0.6s;
}

.contact a:hover{
  transform: translateY(-20%);
}

.contact_icon{
  width: 60px;
  height: 60px;
}

.contact_icon img{
  width: 100%;
}

.contact p{
  padding-left: 2em;
}


@media (max-width: 500px){
  .contact{
    justify-content: left;
    padding-left: 20px;
  }
}