* {
  margin:0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}


html {
  scroll-behavior: smooth;
}


header {
  background: #006;
  width: 100%;
  height: 500px;
  background-image: url("baner1.jpg");
  background-repeat: no-repeat;
  background-size: 100% 500px;
  object-fit: cover;
}

header aside {
  background-image: url("fundo10.jpg");
  background-repeat: no-repeat;
  background-size: 500px 500px;
  width: 400px;
  position: relative;
  top: 20%;
  left: 20px;
  height: 250px;
  padding: 20px;
  border-radius: 0 35px 0 35px;
  opacity: 0.5;
  filter: brightness(95%)
}


header aside h2{
  color: white;
  font-size: 4.5em;
}

header aside p{
  font-size: 17px;
  margin-top: 10px;
  color: #000;
}

header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  height: 50px;
  padding: 10px;
  background: rgba(66, 68, 90, 0.5);
  z-index: 15;
}


header nav h2 {
  color: #006DF0;
  font-size: 30px
}

header nav div {
  margin-right: 18px;
}

header nav div a {
  text-decoration: none;
  color: #eee;
  font-size: 16px;
  padding: 10px;
}


article {
  width: 100%;
}

.zebra {
  width: 100%;
  height: 500px;
}


.zebra:nth-child(even){/* odd=inpar, even=par */
  background: #006DF0
}


#servicos, .experiencias {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 70px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

.titlo {
  text-transform: uppercase;
  color: #006DF0;
  letter-spacing: 1px;
  font-size: 45px;
}

.cartoes {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 0;
  gap: 30px;
  flex-wrap: wrap;
}

.cartao {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #006DF0;
  box-shadow: 5px 5px 5px #3D474B;
  border-radius: 10px 10px 10px 10px;
  padding: 10px;
  width: 270px;
  transition: 0.5s;
  position: relative;
  overflow: hidden;
  height: 170px;
  box-sizing: border-box
}


.bgcartao {
  background-color: rgba(66, 68, 90, 1);
  z-index: 10;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  opacity: .8;
  position: absolute;
  transition: 0.5s;
}

.cartao:hover {
  transform: scale(1.08);
  height: 240px;
  border-radius: 20px 0 20px 0;

}

.cartao:hover .bgcartao {
  opacity: 0;
}

.cartao ion-icon {
  font-size: 65px;
  margin-bottom: 10px;
  position: absolute;
  z-index: 10000000;
  transform: translateY(30px);
  transition: 0.5s;
}

.html {
  color: #ED6915;
}

.python {
  color: #3A71A0
}

.css {
  color: #4269F5;
}

.js {
  color: #D5D649;
}

.php {
  color: #7B7FB5
}

.cartao:hover ion-icon {
  position: static;
  transform: translateY(0);
}

.cartao h3 {
  color: #006;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 1px;
}

.cartao p {
  font-weight: 400;
  font-size: 15px;
  margin-top: 5px;
}


/* experiência */

.experiencias {
  box-sizing: initial;
  width: 100%;
  padding: 50px 0;
}

.experiencias .experiencias-cont {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px;
  
}

.experiencias .titlo {
  color: #0000f9;
  padding: 50px 0;
}

.experiencias .experiencias-cont .column {
  width: calc(50% - 30px);
}

.experiencias .experiencias-cont .left .text {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #007;
}

.experiencias .experiencias-cont .left p {
  text-align: justify;
  color: #004
}

.experiencias .experiencias-cont .left a {
  display: inline-block;
  background: #006;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  padding: 8px 16px;
  margin-top: 20px;
  border-radius: 6px;
  border: 2px solid crimson;
  transition: all 0.3s ease;
}

.experiencias .experiencias-cont .left a:hover {
  color: crimson;
  background: none;
}

.experiencias .experiencias-cont .right .bars {
  margin-bottom: 15px;
}


.experiencias .experiencias-cont .right .info {
  display: flex;
  margin-bottom: 5px;
  align-items: center;
  justify-content: space-between;
}

.experiencias .experiencias-cont .right span {
  font-weight: 500;
  font-size: 18px;
  color: #005;
}

.experiencias .experiencias-cont .right .line {
  height: 5px;
  width: 100%;
  background: lightgrey;
  position: relative;
  border-radius: 20px;
}

.experiencias .experiencias-cont .right .line::before {
  content: "";
  position: absolute;
  height: 100%;
  left: 0;
  top: 0;
  background: #009;
  transition: all 0.5s
}


.experiencias .experiencias-cont .right .line:hover::before {
  background: #00f;
}

.experiencias-cont .right .html::before {
  width: 97%;
  border-radius: 20px;
}

.experiencias-cont .right .css::before {
  width: 90%;
  border-radius: 20px;
}

.experiencias-cont .right .js::before {
  width: 60%;
  border-radius: 20px;
}

.experiencias-cont .right .php::before {
  width: 55%;
  border-radius: 20px;
}

.experiencias-cont .right .mysql::before {
  width: 65%;
  border-radius: 20px;
}

.experiencias-cont .right .sqlite::before {
  width: 70%;
  border-radius: 20px;
}

.experiencias-cont .right .python::before {
  width: 85%;
  border-radius: 20px;
}

.experiencias-cont .right .java::before {
  width: 55%;
  border-radius: 20px;
}


/* Contactos */

#contactos {
  padding: 0px 60px;
  box-sizing: border-box;
}

#contactos h2 {
  text-align: center;
  padding: 0px 0;
  padding-top: 30px;
}

.contactos-cont {
  background: #888;
}




/* footer */

#rodape {
  height: 30px;
  width: 100%;
  margin-top: 100px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}


@media (max-width: 600px){
  header {
    background: #006;
    width: 100%;
    height: 250px;
    background-image: url("./img/baner1.jpg");
    background-repeat: no-repeat;
    background-size: 100% 250px;
    object-fit: cover;
  }
  
  
  
  header aside {
    background-image: url("./img/fundo10.jpg");
    background-repeat: no-repeat;
    background-size: 250px 250px;
    width: 200px;
    position: relative;
    top: 85px;
    left: 5px;
    height: 100px;
    padding: 10px;
    border-radius: 0 35px 0 35px;
    opacity: 0.5;
    filter: brightness(95%)
  }
  
  header aside h2{
    font-size: 23px;
  }

  header aside p {
    font-size: 11px;
     margin-top: 5px;
  }
  
  header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    height: 35px;
    padding: 5px;
    background: rgba(66, 68, 90, 0.5);
    z-index: 15;
  }
  
  
  header nav h2 {
    color: #006DF0;
    font-size: 25px
  }
  
  header nav div {
    margin-right: 10px;
  }
  
  header nav div a {
    text-decoration: none;
    color: #eee;
    font-size: 12px;
    padding: 10px 2px;
  }
  
  #servicos {
    padding: 50px 20px;
  }

  .cartao {
    width: 100%;
  }
  
  .experiencias {
    height: 600px;
  }
  
  .experiencias #experiencias-cont {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    padding: 0 10px;
    flex-direction: row;
  
  }
  
  .experiencias .experiencias-cont .column {
    width: 100%;
    margin-bottom: 35px;
  }
  
  
  .experiencias .experiencias-cont .left p {
    text-align: left;
    color: #004
  }
  
  .titlo {
    font-size: 30px;
  }
  
  .experiencias .titlo {
    padding: 20px 0;
  }
  
  #rodape {
    font-size: 13px;
    margin-bottom: 0;
  }
}


@media (prefers-color-scheme: dark) {
  body {
    background-color: #111B21;
  }
}
