/*@import url("resp.css");*/
/* @import "resp.css"; */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-100px); }
    to { opacity: 1; transform: translateY(0); }
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #1E8449, #2ECC71);
    background-image: url("../img/bg5.png");
    background-size: cover;
    color:wheat;
    text-align: center;
    margin: 0;
    width: 100%;
    /* overflow-x: hidden; */
    background-attachment: fixed;
}

header {
    position: absolute;
    width: 100%;
    top: 0%;
    padding-top: 5%;
    left: 50%;
    transform: translateX(-50%);
    height: fit-content;
    z-index: 2;
    background-image: linear-gradient(black,green,black,green);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

#hd{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    box-sizing: border-box;
}

#hd a{
    width: 20%;
    font-weight: bold ;
    border-radius: 10px;
    text-decoration: none;
    background-color: whitesmoke;
    padding: 1%;
    color: black;
}
#hd a:hover{
  background-color: green;
}

#hd a:visited{
  color: black
}


h1{
    color:green;
    background: rgba(0, 0, 0, 0.5);
    font-weight: bold;
    font-variant: small-caps;
    letter-spacing: 0.5rem;
    border-radius: 10px;

}

main{
margin-top: 30%;
}

section {
    padding: 1%;
    background: rgba(0, 0, 0, 0.5);
    animation: fadeIn 1s ease-in-out;
    transition: 1s ease;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
    height: fit-content;
}

h3{
    margin: 0;
}

section:hover{
    background: rgba(0, 0, 0, 0.7);
    color: white;
}

.project{
    margin-top: 3%;
    width: 100%;
    display: flex;
    flex-direction: column;
}
#bv{
    text-align: center;
}
#desc{
    text-align:justify;
    padding: 3%;
}


input, textarea, form button {
    width: 80%;
    padding: 10px;
    margin: 10px;
    border-radius: 5px;
    border: none;
    outline: greenyellow 1px solid;
}

input:hover, textarea:hover{
    background-color: #2ECC71;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transition: 0.3s;
}


form button {
    background: white;
    width: 20%;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1em;
    text-align: center;
}

form button:hover {
    background: #2ECC71;
    color: white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

#contact{
    box-sizing: border-box;
    animation: fadeIn 1s ease-in-out;
    display: flex;
    flex-direction: column;
    align-content: space-space-between;
}


#redes{
    width: 50%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin: 5% 5% ;
    margin-left: 25%
}

hr{
  border: solid whitesmoke 5%
}
#redes a img{
    width: 30px;
}

/*@media (min-width: 768px) and (max-width: 1023px)*/
 @media (min-width:720px) or (orientation:landscape){
    #contact{
        width: 40%;
        margin-left: 30%;
    }

    main{
        margin-top: 12%;
    }

    #hd a{
        width: 15%;
        padding: 0.3%;
    }

    #hd{
       justify-content:space-evenly;
       width: 80%;
       margin-left: 10%;
    }

    header{
        padding-top: 2%;
    }

    #projects{
        display: flex;
        justify-content: space-evenly;
    }

    .project{
        font-size: 1em;
        width: 22%;

    }

    .project img{
        margin-top: 2%;
        height: 45vh;
    }

    .project p{
display: none;
    }

    #pjct1{

    }

    section{
        background: none;
    }

    section:hover{
        background: none;
    }


    #about{
        width: 50%;
        margin-left: 25%;
    }
}


@media (max-width:720px) and (orientation:landscape){
    #hd a{
        font-size: 0.7em;
    }
}

@media (min-width:720px) and (orientation:landscape){
    #hd a{
        width: 15%;
    }
}

@media (max-width:392px) and (orientation:portrait){
    #hd a{
        font-size: 0.7em;
    }

}


/*@media (max-width: 767px) {
         /* Estilos para telas pequenas (celulares) */
 /*    }
@media (min-width: 768px) and (max-width: 1023px) {
         /* Estilos para telas médias (tablets) */
 /*    }
@media (min-width: 1024px) {
         /* Estilos para telas grandes (desktops) */
 /*    }



/* Tablets (768px and up) */
/*@media (min-width: 768px) {
    body {
        font-size: 18px;
        background-color: lightgray;
    }
}

/* Desktops (1024px and up) */
/*@media (min-width: 1024px) {
    body {
        font-size: 20px;
        background-color: #f0f0f0;
    }
}

/* Small screens (up to 480px) */
/*@media (max-width: 480px) {
    body {
        font-size: 14px;
        background-color: #ddd;
    }
}