* {
    margin: 0;
    padding: 0;
   box-sizing: border-box;
}

html {
    background-color: #fff;
    color: #555;
    font-family: 'Lato', 'Arial', sans-serif;
    font-weight: 300;
      text-rendering: optimizeLegibility;
}

header {
    height: 100vh;
    width: 100vw;
    background-image: linear-gradient(rgba(0, 0, 0, 0.623), rgba(0, 0, 0, 1)), url(img/ABDOM2.png);
    background-size: cover;
    background-position: center;
}

header nav {
    position: absolute;
    top: 15px;
    display: flex;
    align-items: center;
    width: 100%;
}

header .logo {
    width: 100px;
    margin-left: 25px;
    border: solid 5px black;
    border-radius: 40px;
}

header .logo:hover {
    border: solid 8px transparent;
}

header .main-nav {
    list-style: none;
    display: flex;
    justify-content: space-around;
    flex-grow: 1;
    flex-direction: left;
    margin-left: 8%;
    margin-right: 37%;
}

header .main-nav ul {
    margin-right: 30%;
}

header .main-nav a {
    color: white;
    font-size: 1.6rem;
    font-weight: 400;
}

header .main-nav li {

    padding-bottom: 12px;
    padding-right: 12px;
    border-right: solid 4px rgb(255, 123, 0);
    border-bottom: solid 4px rgb(255, 123, 0);
    transition: border-right 0.3s, border-bottom 0.3s;
}

header .main-nav li:hover {
    border-left: solid 5px green;
    border-top: solid 5px green;
}

.main-nav li a {
    text-decoration: none;
}

.localizacao {
    padding-top: 100px;
    text-align: center;
    color: blue;
}

.localizacao p {
    padding-bottom: 30px;
}

@media (max-width: 768px) {
    header .main-nav {
        flex-direction: column;
        align-items: center;
    }

    header .main-nav li {
        border-right: none;
        border-bottom: none;
        margin-bottom: 10px;
    }

    header .logo {
        margin-left: 0;
    }

    .hero-text-box {
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }
}

#logo3d2 {
    width: 5px;
    height: 5px;
    left: 5px;
    bottom: 5px;
    animation: moveBox 4s;
    animation-fill-mode: forwards;
}


@keyframes moveBox {
    0% {
        width: 5px;
        height: 5px;
        left: 5px;
        bottom: 5px;
    }

    50% {
        width: 45px;
        height: 45px;
        left: 45px;
        bottom: 45px;
    }

    100% {
        width: 90px;
        height: 90px;
        left: 90px;
        bottom: 90px;
    }
}