* {
    margin: 0;
    padding: 0;
    font-family: 'Courier New', Courier, monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    display: block;
    text-align: center;
    background-color: black;
    color: white;
}

a {
    text-decoration: none;
}

#logo {
    position: relative;
    align-items: center;
    top: 0px;
    float: left;
    width: 100%;
    max-width: 150px;
}

.menu-principal {
    display: flex;
    flex-direction: row;
    align-items: center;

}
.menu-principal ul{
    display: flex;
    align-items: center;
    width: 100%;
}

.menu-principal li {
    display: inline-block;
    width: 100%;
    text-align: center;
    list-style: none;
}

.menu-principal a {
    display: inline-block;
    font-size: 10px;
    text-decoration: none;
    padding: 10px 0;
    color: white;
}

.menu-principal a:hover {
    color: #DAA520;
}

button {

    margin-bottom: 5px;
    border-radius: 5px;
    cursor: pointer;
}

.container {
    margin: 0 auto;
    position: relative;
    top: 50px;
    color: #DAA520;
    text-align: left;
    width: 100%;
    height: 600px;
    text-align: center;
    align-items: center;
}

.apresentation {
    display: flex;
}

.apresentation button {
    margin-top: 15px;
    margin-left: 30px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #191970;
    text-shadow: 0 0 0.125em rgba(0, 0, 0, 0.5), 0 0 0.25em currentColor;
    box-shadow: inset 0 0 0.5em 0 var(--cor-azul), 0 0 0.5em 0 var(--cor-azul);
}

.apresentation button a {
    color: #00FFFF;
    text-decoration: none;
}

.text {
    margin-top: 40px;
    width: 100%;

}

.text h1 {
    overflow: hidden;
    margin: 0 auto;
    display: inline-block;
    font-weight: normal;

}

.text h1:after {
    content: '';
    display: inline-block;
    background-color: white;
    margin-left: 2px;
    height: 25px;
    width: 4px;
    animation: cursor 0.4s infinite;
}
@keyframes cursor {
    0% {
        opacity: 1;
    }

    49% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

#top-img {
    max-width: 200px;
}

#title-perfil {
    position: relative;
}

#perfil {
    border-radius: 50%;
    width: 150px;
    height: 150px;
}

.img-perfil,
.text-perfil {
    padding: 0 80px;
    margin-top: 80px;

}

.img-perfil {
    float: left;
}

.text-perfil {
    float: right;
    text-align: center;
}

.menu-perfil {
    margin-top: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 400px;
}
.menu-perfil p{
    text-align: center;
    display: inline-block;
    padding: 10px;
}

.btn_email,
.btn_contact {
    background: transparent;
    color: #00FFFF;
    border: 1px solid #191970;
    padding: 5px;
}

.btn:hover {
    color: #191970;
}

.menu-projects {
    margin-top: 300px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.projects {
    color: white;
    margin-top: 20px;
    position: relative;
    display: inline-block;
    padding: 10px 0;
    width: 100%;
    height: 100%;
}

.project {
    position: relative;
    max-height: 250px;
    padding: 35px 0;
}

.project a {
    display: flex;
    justify-content: center;
    color: white;
    padding: 15px 0;

}

.project span {
    position: absolute;
    top: 200px;


}

.project:hover {
    border: 1px solid white;
}

.menu-projects img {
    border-radius: 50%;
    width: 100px;
    height: 100px;

}
.popup-wrapper{
    top: 0;
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    z-index: 1;
}
.popup-close{
    color: red;
    border-radius: 0 10px 0 0;
    padding: 2px;
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    cursor: pointer;
    float: right;
    border: 1px solid red;
}
.popup-close:hover{
    background-color: red;
    color: white;
}
.popup{
    color: black;
    position: relative;
    margin: 300px auto;
    background-color: white;
    height: 360px;
    width: 400px;
    border-radius: 10px;
}
.popup-content form{
    margin: 0 10px;
    display: flex;
    flex-direction: column;
    padding: 20px 5px;
}
.popup-content h1{
    margin-bottom: 5px;
}
.popup-content form textarea{
    margin-top: 10px;
}
.popup-content form input{
    display: inline-block;
    padding: 5px;
    margin-top: 10px;
}
.popup-content #btn_submit{
    cursor: pointer;
}

@media screen and (min-width: 600px) {
    .menu-principal a{
        font-size: 23px;
        padding: 0 20px;
    }
    .menu-principal{
        padding: 40px;
        display: block;
    }
    .menu-principal li{
        display: inline;
        width: auto;
    }
    .menu-principal ul{
        display: block;
        align-items: flex-end;
    }
    #logo{
        top: -75px;
        max-width: 200px;
    }
    #top-img{
        max-width: 400px;
        margin-right: 200px;
    }
    .apresentation{
        justify-content: space-between;
    }
    .apresentation button{
        padding: 20px;
        margin-top: 80px;
    }
    .menu-perfil{
        display: block;
        margin-top: 300px;
    }
    .img-perfil{
        margin-left: 80px; 
    }
    .text-perfil{
        margin-right: 80px;

        display: inline;
    }
    .menu-perfil p{
        display: block;
    }
    .menu-projects{
        display: block;
        margin-top: 500px;
    }
    .project{
       margin-top: 100px;
    }
    .projects{
        display: inline-flex;
        margin: 0 auto;
        justify-content: center;
        height: 700px;
    }
    .project a{
        padding: 0 50px;
    }
    .menu-projects img{
        width: 150px;
        height: 150px;
    }
}
@media screen and (min-width: 1200px) {

    .text-perfil{
        margin-right: 0;
        float: left;
    }
    .img-perfil{
        margin-left: 400px;
    }
    .img-perfil, .text-perfil{
        margin-top: 100px;
    }
    .menu-perfil{
        margin-top: 350px;
    }
}