* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "SUSE", sans-serif;
}

body {
    background-color: #000000;
}

/*REUSED STYLES*/

h1 {
    font-size: 210%;
}

h2 {
    font-size: 50px;
    color: #00B3FF;
    text-align: center;
    margin: 50px 0;
}

span {
    color: #ffffff;
}

section {
    padding: 50px;
}

/*HOME*/
header {
    width: 100%;
    background-color: rgba(0, 179, 255, 1);
    padding: 10px;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-toggle-btn {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle-btn .menu-icon,
.nav-toggle-btn.active .close-icon {
    display: block;
}

.nav-toggle-btn.active .menu-icon,
.nav-toggle-btn .close-icon {
    display: none;
}

.menu-icon, .close-icon {
    color: white;
}

ul.menu {
    display: flex;
}

li {
    list-style: none;
    display: inline-block;
    font-size: 2rem;
    font-weight: bold;
    margin-right: 10px;
    cursor: pointer;
}

.link-menu {
    text-decoration: none;
    color: #000000;
    transition: all 0.5s ease;
}

.link-menu:hover {
    color: #ffffff;
}

#img-home {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    width: 40vw;
}

/*SOBRE MIM*/
#section-sobre {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.davi {
    width: 20vw;
    border-radius: 20px;
    margin-block-start: 10px;
}

.class-sobre {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.p-sobre {
    width: 100%;
    font-size: 20px;
    text-align: justify;
    color: #ffff;
}

.button-contato {
    width: 180px;
    height: 45px;
    font-size: 20px;
    font-weight: 600;
    border: none;
    border: 2px solid white;
    border-radius: 30px;
    background-color: #00B3FF;
    transition: all 0.5s ease;
}

.button-contato a {
    text-decoration: none;
    cursor: pointer;
    color: black;
}

.button-contato:hover {
    opacity: 0.5;
}

/*PROJETOS*/
#section-card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    max-width: 300px;
    height: 500px;
    background-color: #00B3FF;
    border-radius: 30px;
    gap: 30px;
}

.h3-card {
    font-size: 140%;
    color: #000000;
    margin-block-start: 20px;
}

.img-card {
    border-radius: 15px;
    border: 5px solid #ffffff;
    max-width: 80%;
    transition: all 0.5s ease;
}

.p-card {
    text-align: justify;
    padding: 0 10px;
}

.button-card {
    width: auto;
    margin-block-end: 30px;
    border: none;
    border-radius: 45px;
    background-color: #000000;
    transition: all 0.5s ease;
}

.button-card a {
    text-decoration: none;
    font-size: 140%;
    padding: 10px;
    cursor: pointer;
    color: #ffffff;
}

.button-card:hover {
    opacity: 0.5;
}

/*CONTATO*/
footer {
    padding: 20px;
    gap: 15px;
}

.h2-contato {
    text-align: center;
    font-size: 50px;
    color: #00B3FF;
}

.p-contato {
    text-align: center;
    font-size: 20px;
    color: #ffffff;
    max-width: 90%;
    margin: 0 auto;
}

.icon-contato {
    width: 70px;
    cursor: pointer;
    transform: scale(1);
    transition: 0.5s;
}

.icon-contato:hover {
    transform: scale(1.3);
    transition: 0.5s;
}

.img-contato {
    margin-top: 20px;
    gap: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-img {
    margin: 20px;
    position: fixed;
    bottom: 0;
    right: 0;
    width: 50px;
    transform: scale(1);
    transition: 0.5s;
}

.home-img:hover {
    transform: scale(1.3);
    transition: 0.5s;
}

@media screen and (max-width: 850px) {
    .nav-toggle-btn {
        display: block;
    }

    ul.menu {
        display: none;
        flex-direction: column;
        width: auto;
        top: 50px;
        right: 0;
        background-color: #00B3FF;
        overflow-x: hidden;
        overflow-y: auto;
        position: fixed;
        border-bottom-left-radius: 20px;
    }

    ul.menu.active {
        display: flex;
        padding: 20px;
    }

    li {
        display: block;
        text-align: center;
        margin: 10px 0;
    }



    #img-home {
        flex-direction: column;
        align-items: center;
        z-index: 1;
    }

    #section-sobre {
        flex-direction: column;
    }

    .davi {
        width: 50vw;
    }
}

@media screen and (max-width: 700px) {
    header {
        z-index: 4;
        position: fixed;
    }

    h1 {
        margin-block-start: 10px;
    }

    .link-menu {
        font-size: 1rem;
    }

    .icon-contato {
        width: 40px;
    }

    .logo {
        z-index: -1;
    }

    #section-card {
        padding: 0;
    }
}