@media screen and (max-width: 768px) {

body {
    padding: 0px;
    width: 100%;
    top: 0px;
}
    .foto {
    margin-left: 1rem;
    width: 3rem;
    height: 3rem;
    overflow: hidden;
}

h1 {
  font-size: 2.0rem;
  margin-left: -3rem;
  padding: 5rem;
  max-width: 200rem;
  height: 7rem;
  width: 14rem;

}

.titulo {
    height: 5rem;
    font-size: 2.5rem;
    margin-left: 0rem;
    flex-direction: column;
    text-align: left;
}
.Sobre {
    text-align: left;
    padding: 1rem;
    margin-left: 0rem;
    flex-direction: column;

}

.projetos {
    text-align: left;
    padding: 1rem;
    margin-left: 0rem;
    flex-direction: column;

}

.titulosobre {
    text-align: left;
    flex-direction: column;
}

.titulosobre:hover {
    font-size: 3.2rem;
}

.curriculo button {
display: none;
}


.verprojetos button {
   display: none;
}

nav {
    position: relative;
}

nav a {
    margin-right: 2rem;

}
.btncard button {
    scale: 1.4;
    text-align: auto;
    margin-left: 8rem;
    border-radius: 1rem;
    padding: 0.4rem;
    height: 2rem;
    width: 6rem;
    background-color: rgba(34, 21, 108, 0.477);
    border: none;
    cursor: pointer;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    margin-top: 1.5rem;
    color: white;
    animation: both;
    position: relative;
    margin-left: 8;
    margin-right: 8;
}

.btncard button:hover {
    background-image: linear-gradient(45deg, #3452fc, #22a784);
    
}


  
}
