* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    color: white;
}

body {
    height: 100vh;
    background: url('/inicio/img/backIndex.png') no-repeat center center/cover;
    position: relative;
}

main {
    height: calc(100% - 100px);
    overflow: auto;
}


.oculto {
    opacity: 0;
    transition: opacity 1s ease;
}

.oculto.aparecer {
    opacity: 1;
}

.menu-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
}

.logo img {
    height: 40px;
    padding-left: 25px;
}

.menu {

    background-color: #ffffff;

    ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        justify-content: flex-end;
    }

    a {
        text-decoration: none;
    }
}

.icons {

    li a i {
        margin-right: 40px;
        font-size: 20px;
        color: #707070;
    }

    i:hover {
        transition: transform 0.1s ease;
        transform: scale(1.5);
    }
}

.slider {
    
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 10px 10px 5px;
    padding: 10px;
    border-radius: 10px 10px 0 0;
    background: url('/inicio/img/backIcons.jpg') no-repeat center center/cover;

    img {
        max-width: 100%;
        height: auto;
    }

    p {
        max-width: 480px;
        font-weight: bold;
    }

    hr {
        margin: 20px 0;
    }

}

.products {

    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 20px;
    padding: 50px;
    margin: 5px 10px 0;
    background-color: #00000090;

    .products-index {

        height: 500px;
        max-width: 250px;
        padding: 20px;
        text-align: center;
        border: #007FFF 1px solid;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
        position: relative;
        overflow: hidden;

        h3 {
            padding-bottom: 20px;
            color: #007FFF;
        }

        i {
            font-size: 30px;
            padding-bottom: 10px;
            color: #007FFF;
        }

        p {
            padding-bottom: 20px;
            color: #007FFF;
            font-weight: bold;
        }

        img {
            position: absolute;
            bottom: 100px;
            left: 50%;
            transform: translateX(-50%);
            max-width: 100%;
            height: auto;
        }

        button {
            position: absolute;
            bottom: 20px;
            left: 20px;
            right: 20px;
            padding: 10px;
            background-color: #007FFF;
            border: none;
            cursor: pointer;
            border-radius: 5px;
            transition: transform 0.2s ease;
        }

        button:hover {
            background-color: #007FFF80;
        }

    }
}

#store {
    background: url('/inicio/img/backIcons.jpg') no-repeat center center/cover;
}

#oceanBlue {
    background: url('/inicio/img/backIcons.jpg') no-repeat center center/cover;
}

#buildShareIot {
    background: url('/inicio/img/backIcons.jpg') no-repeat center center/cover;
}

#academy {
    background: url('/inicio/img/backIcons.jpg') no-repeat center center/cover;
}

.news {

    background-color: #47047499;
    padding: 30px;
    margin: 5px 10px 0;

    h1 {
        text-align: center;
        padding-bottom: 15px;
    }

    .news-contents {
        padding-top: 20px;
        display: flex;
        justify-content: space-around;
        gap: 20px;
        flex-wrap: wrap;

        p {
            padding-bottom: 15px;
        }

        h4 {
            font-weight: bold;
            text-align: center;
        }

        .news-left {

            img {
                height: 500px;
                padding-top: 30px;
            }

            text-align: center;
        }

        .news-right,
        .news-midle {

            max-width: 320px;
            background-color: #00000070;
            border: solid 5px #ffffff;
            padding: 20px;
            text-align: justify;

            i {
                color: greenyellow;
                font-size: 24px;
            }

        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 0 auto;
            /* (opcional) centraliza horizontalmente */
        }

    }
}

.about {

    background: url('/inicio/img/backAbout.jpg') no-repeat center center/cover;
    padding: 30px;
    margin: 5px 10px 0;

    h1 {
        text-align: center;
        padding-bottom: 15px;
    }

    p {
        padding-bottom: 10px;
    }

    .about-contents {
        display: flex;
        padding-top: 20px;
        justify-content: center;
        gap: 60px;
        text-align: justify;
    }

    .about-left,
    .about-right {
        max-width: 400px;
    }
}


.newsletter {

    display: flex;
    justify-content: space-around;
    padding: 30px;
    margin: 5px 10px 0;
    background-color: #00000070;

    h1,
    p {
        text-align: center;
        padding-bottom: 15px;
    }

    form {
        max-width: 400px;
        margin: auto;

        button {
            padding: 12px;
            width: 100%;
            background: #4CAF50;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }

        button:hover {
            background: #45a049;
        }
    }

    label {
        display: block;
        font-weight: bold;
    }

    input {
        width: 100%;
        padding: 10px;
        border-radius: 4px;
        border: 1px solid #404040;
        color: #007FFF;
        font-weight: bold;
        margin-bottom: 25px;
    }

    img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
        border-radius: 10px;
    }
}

.newsletter-left,
.newsletter-right {
    min-width: 300px;
    padding: 25px;
}

.contact {

    margin: 5px 10px 10px;
    padding: 60px 0;
    border-radius: 0 0 10px 10px;
    background: url('/inicio/img/backIcons.jpg') no-repeat center center/cover;

    h3 {
        color: #404040;
        padding: 5px;
    }

    .contact-menu {
        display: flex;
        gap: 20px;
        justify-content: space-evenly;
        flex-wrap: wrap;
    }

    .contact-menu-contents {
        text-align: center;
        min-width: 250px;
    }

    p {
        padding: 5px;
    }

    i {
        font-size: 24px;
        padding: 10px;
    }

    i:hover {
        transition: transform 0.1s ease;
        transform: scale(1.5);
    }

    a {
        text-decoration: none;
    }

    a:hover {
        font-weight: bold;
    }

    i,
    p,
    a {
        color: #404040;
    }
}


#msg {
    text-align: center;
    margin-top: 15px;
    color: #333;
    font-weight: bold;
}

.rodape {
    height: 50px;
    position: fixed;
    background-color: #ffffff10;
    bottom: 0;
    width: 100%;
    font-size: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 799px) {

    main {
        height: calc(100% - 150px);
    }

    .menu-container {
        display: block;
        align-items: center;
        height: 100px;
        width: 100%;
        text-align: center;
    }

    .menu-itens {

        background-color: #00000010;

        .icons {

            li a i {
                margin: 10px;
            }

            display: flex;
            justify-content: space-evenly;
        }


    }

    .slider {
        h1 {
            font-size: 30px;
        }
    }

    .newsletter {
        display: block;
    }

}

@media (max-width: 699px) {

    .slider {
        h1 {
            font-size: 20px;
        }
    }

}

@media (max-width: 599px) {

    .slider {
        display: block;
        height: auto;
        text-align: center;
        padding-bottom: 0;
    }

    .about-contents {
        flex-direction: column;
        align-items: center;

    }
}