@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Rubik", sans-serif;
}

a:active, button:active, button:focus {
    -webkit-tap-highlight-color: transparent;
}

body {
    display: flex;
    justify-content: center;
    min-height: 100vh;
    background-image: url('../imagens/bgmeu.png');
}

/* Botão Link */
.btn-link {
    background-color: #FF323D;
    color: white;
    padding: 7px 15px;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    width: 100%;
}

/* Botão Link */
.btn-link2 {
    background-color: #FF323D;
    color: white;
    padding: 15px;
    border-radius: 5px;
    text-decoration: none;
}


/* Botão de gerar cálculo */
.btn-gerar-calculo {
    width: 100%;
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(264deg, rgb(37, 37, 37) 0%, rgb(94, 94, 94) 93%);
    color: #fff;
    border: none;
    border-radius: 5px;
    border-bottom: 3px solid rgb(37, 37, 37);
    cursor: pointer;
}

.btn-gerar-calculo:hover {
    background: linear-gradient(264deg, rgb(68, 68, 68) 0%, rgb(122, 122, 122) 93%);
    border-bottom: 3px solid rgb(63, 63, 63);
}

/* Menu Lateral PC */
.sidebar {
    display: flex;
    flex-direction: column;
    /* width: 100%; */
    flex-basis: 200px;
    background-image: url('../imagens/bgmeu-escuro.png');
    background-color: #000000;
    color: #fff;
    padding: 20px;
    /* border-right: 2px solid red; */
}

.logo {
    display: flex;
    justify-content: center;
    /* background-color: yellowgreen; */
    width: 100%;
}

.sidebar img {
    width: 130px;
    /* background-color: #ff0000; */
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.sidebar h1 {
    font-size: 24px;
    color: #ff0000;
    margin-bottom: 30px;
    text-align: center;
}

.sidebar nav {
    /* background-color: yellow; */
    display: flex;
    flex-direction: column;
    /* background-color: yellowgreen; */
    width: 200px;
    /* margin-top: 15px; */
}

.navbutton-area {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    /* background-color: #ff0000; */
}

.navbutton-area img {
    width: 30px;
    filter: invert(100%);
    transition: transform 0.3s ease;
}

.navbutton-area img:hover {
    transform: translateY(-3px);
    filter: invert(90%);
}

.sidebar nav ul {
    list-style: none;
    /* background-color: yellow; */
    /* width: 100%; */
    /* width: 200px; */
}

.sidebar nav ul li {
    margin-bottom: 20px;
    /* background-color: #FF323D; */
    padding: 0 5px;
}

.sidebar nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

.sidebar nav ul li a:hover {
    color: #ff0000;
}

/* Menu Lateral Celular */
.hamburger { /* Menu Hamburger PC */
    visibility: hidden;
    font-size: 30px;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 10px;
}

.side-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    /* width: 250px; */
    height: 100%;
    background-color: #000000;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    z-index: 1000;
}

.side-menu .close-btn {
    background-color: yellow;
    /* align-self: flex-end; */
    font-size: 30px;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    /* padding: 10px; */
    /* margin-bottom: 20px; */
    /* text-align: left; */
    width: 100%;
}

.side-menu .close-btn:hover {
   color: #ddd;
}

.side-menu ul {
    list-style: none;
    /* background-color: yellow; */
    /* width: 100%; */
    /* width: 200px; */
}

.side-menu ul li {
    margin-bottom: 20px;
}

.side-menu ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

.side-menu ul li a:hover {
    color: #ff0000;
}

/* Container Principal */
.main-content {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: space-between;
    /* background-color: #ff0000; */
    /* border-right: 7px solid red; */
    /* padding: 20px; */
}

/* Cabeçalho */
header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-image: url('../imagens/bgmeu-escuro.png');
    /* margin: 30px; */
    text-align: center;
}

header img {
    display: none;
}

header h2 {
    font-size: 28px;
    color: #ff0000;
}

header p {
    font-size: 16px;
    color: #ffffff;
}

.menu-topo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

/* Containers */
.container {
    margin: 15px;
    /* height: 100vh; */
    /* padding: 20px; */
    /* background-color: #fff; */
    /* box-shadow: 0 0 10px rgba(0,0,0,0.1); */
    border-radius: 10px;
    display: flex;
    justify-content: center;
}

.container-menor {
    background-color: #F9F9F9;
    max-width: 700px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 20px;
    border-radius: 10px;
}


/* INFORMAÇÃO DA CALCULADORA */
.info-calc {
    background-color: #f3f3f3;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    font-size: 18px;
    text-align: justify;
}    

.btn {
    background-color: #ddd;
    color: #000000;
    padding: 10px;
}

/* Footer */
.footer-section {
    background-image: url('../imagens/bgmeu-escuro.png');
    padding: 20px;
    text-align: center;
    color: #fff;
}

.footer-section a {
    text-decoration: none;
    color: #ff0000;
}

.footer-section a:hover {
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 800px) {
    .sidebar {
        display: none;
    }

    /* .main-content {
        padding: 10px;
    } */

    /* header {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    } */

    header img {
        display: block;
    }

    header h2 {
        font-size: 24px;
    }

    /* .menu-topo {
        display: flex;
        flex-direction: column;
        align-items: center;
    } */

    /* .empty-pc {
        display: none;
    } */

    .tool-card h3 {
        font-size: 18px;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-section h2 {
       text-align: center;
    }

    .about-content p {
        font-size: 17px;
    }

    .product-section h2 {
        text-align: center;
    }

    .menu-buttons {
        display: none;
    }

    .hamburger {
        visibility: visible;
        /* background-color: aqua; */
    }

    .side-menu {
        display: flex;
        transform: translateX(100%);
        transition: transform 0.3s ease;
    }

    .side-menu.open {
        transform: translateX(0);
    }
}