*{
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

span {
    color:aqua
}

header {
    scroll-behavior: smooth;
    text-align: center;
    position: sticky;
    justify-content: center;
    align-content: center;
    height: 200px;
    width: 100vw;
    background-color: rgb(35, 35, 35);
    border-radius: 7px;
    border-bottom: 3px solid rgba(255, 255, 255, 0.397);
}

nav{
    margin-top: 3.5rem;
}

.header-text {
    color: white;
    font-family: sans-serif;
    margin-left: 50px;
    font-size: 20px;
    text-decoration: none;
    width: 100px;
    height: 100px;
}

desc {
    display: flex;
    text-align: right;
}

.importante {
    font-weight: bold;
    font-family: sans-serif;
    font-style: italic;
}

.general-text {
    color: rgb(255, 249, 249);
    font-family: sans-serif;
    font-size: 16px;

}

.box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    border-width: 1px;
    border-color: rgb(10, 187, 187);
    border-style: solid;
    border-width: 6px;
    background-color: rgb(40, 40, 40);
    margin: 25px;
    padding: 15px;
    border-radius: 50px;
    box-shadow: 6px 6px 6px 6px;
    transition: 1s;
}

.box:hover{
    box-shadow: 6px 6px 6px 6px rgb(10, 140, 140);
    background-color: rgb(48, 48, 48);
    cursor: pointer;
}

@keyframes drop {
    from {
      transform:
        rotate(-0deg) translateY(-75%);
      opacity: 0;
    }
    to {
      transform:
        rotate(0deg) translateY(0%);
      opacity: 1;
    }
}

.mainpage {
    background-color: rgb(40, 40, 40);
}

.paint-titles {
    color: rgb(34, 194, 194);
    font-family: sans-serif;
}

.image {
    width: 150px;
    height: 150px;
    margin: 10px;
    object-fit: contain;
    animation: drop 1000ms;
}

td, th {
    border-bottom: 5px solid rgb(10, 187, 187);
    padding: 3px;
    border-radius: 5px;
    text-align: center;
}

.projects {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

table {
    text-align: center;
    margin: 2em;
    width: 50vw;
}

form {
    box-shadow: 0 0 10px cyan;
    padding: 20px 20px 35px 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background-color: transparent;
    margin: 20px;
}

input {
    border: 0;
    border-radius: 4px;
    background-color: transparent;
    color: rgb(255, 255, 255);
    width: 100%;
    height: 40px;
    font-family: sans-serif;
    padding-left: 15px;
}

fieldset {
    padding: 0;
    border: 2px solid rgb(71, 70, 70);
    border-radius: 4px;
    height: 75px;
}

legend {
    margin-left: 10px;
    padding-left: 15px;
    padding-right: 15px;
}

footer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
}

.container {
    display: flex;
    justify-content: center;
}

h3 {
    display: flex;
    justify-content: center;
}

section {
    padding: 20px;
    margin: auto;
}

@media screen and (max-width: 794px) {
    header nav{
        margin-top: 2.5rem;
    }
}

@media screen and (max-width: 408px) {
    header nav{
        margin-top: 0.7rem;
    }

}

@media screen and (max-width: 512px) {
    .image{
        width: 75px;
        height: 75px;
    }
}
