/* Fonte Regular */
@font-face {
    font-family: 'TT Runs';
    src: url('../fonts/tt_runs/TT Runs Trial Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Fonte Medium */
@font-face {
    font-family: 'TT Runs';
    src: url('../fonts/tt_runs/TT Runs Trial Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

/* Fonte Bold */
@font-face {
    font-family: 'TT Runs';
    src: url('../fonts/tt_runs/TT Runs Trial Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* Fonte Light */
@font-face {
    font-family: 'TT Runs';
    src: url('../fonts/tt_runs/TT Runs Trial Light.ttf') format('truetype');
    font-weight: lighter;
    font-style: normal;
}

* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	font-family: 'TT Runs', sans-serif;
	scroll-behavior: smooth;
}

:root {
	--ttruns_medium: 500;
	--ttruns_regular: normal;
	--ttruns_bold: bold;
	--ttruns_lighter: lighter;
	--amarelo: #E5FF2C;
	--cinza: #00000029;
}

.amarelo {
	color: var(--amarelo);
}

.header-container {
	width: 100%;
	padding: 10px 40px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	z-index: 2;
	height: 20vh;
}

.logo_header {
	width: 20%;
}

.navbar .link_navbar {
	color: white;
	text-decoration: none;
	margin: 0 25px;
}

.link_navbar:hover {
	color: var(--amarelo);
	transition: .3s linear;
}

.mobile {
	display: none;
}

.btn_contact button {
	outline: none;
	padding: 10px 40px;
	border-radius: 10px;
	background-color: var(--amarelo);
	color: black;
	border: none;
	font-weight: var(--ttruns_medium);
	font-size: 16px;
}

.btn_contact button:hover {
	cursor: pointer;
	box-shadow: 0 0 15px rgba(255, 255, 255, .5), 0 0 15px rgba(255, 255, 255, .5);
	transition: .15s linear;
}

footer  {
	text-align: center;
	width: 100%;
	padding: 30px 0 10px;
	margin-top: 100px;
}

footer img {
	width: 15%;
}

.sidebar {
    position: fixed;
    left: -20px;
    bottom: 0;
    width: 50px;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    z-index: 1000;
    background-color: #262626;
    padding: 5px 10px;
    border-top-right-radius: 10px;
    opacity: .6;
}

.sidebar-image {
    width: 100%;
    margin: 5px;
    border-radius: 5px;
}

.sidebar:hover {
	left: 0px;
	opacity: 0.8;
	transition: .2s linear;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-icon {
    display: block;
    width: 25px;
    height: 3px;
    background: white; /* Adjust color as needed */
    margin: 5px 0;
}

.sidebar-image:hover {
	cursor: pointer;
}


/* Estilo do botão */
.scroll-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none; /* Inicialmente oculto */
    background-color: var(--amarelo);
    color: black;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    cursor: pointer;
    z-index: 1000;
    transition: opacity 0.3s;
}

.scroll-top-btn:hover {
	cursor: pointer;
	filter: brightness(0.9);
}

/* Exibir botão ao rolar */
.scroll-top-btn.show {
    display: block;
}

footer {
	background-color: #111111;
}

footer > * {
	color: white;
	text-decoration: none;
	font-weight: var(--ttruns_regular);
}

.text_footer {
	padding: 20px 0 10px;
}

.links_footer {
	display: flex;
	justify-content: center;
	padding-bottom: 20px;
}

.links_footer a {
	color: white;
	text-decoration: none;
	padding: 0 10px;
	font-weight: var(--ttruns_medium);
}

.links_footer a:first-child {
	border-right: 2px solid white;
}

.rights_footer {
	width: 90%;
	margin: 0 auto;
	padding-top: 10px;
	border-top: 1px solid rgba(255, 255, 255, .2);
	display: flex;
	justify-content: space-between;
}

.rights_footer > * {
	color: white;
	text-decoration: none;
	font-weight: var(--ttruns_medium);
}


footer a:hover {
	color: #d9d9d9;
	transition: .2s linear;
}

header {
	background-color: black;
}

footer > * {
    color: white !important;
}

@media (max-width: 768px) {
     header {
        padding: 10px 20px;
        height: auto;
        flex-direction: column;
        align-items: flex-start;
    }

    .logo_header {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .navbar .link_navbar {
        margin: 0 10px;
    }

    .text-main {
        width: 100%;
        padding-left: 0;
    }

    .image-main {
        width: 100%;
        margin-top: 0;
        margin-left: 0;
    }

    .main_introduction {
        flex-direction: column;
        align-items: center;
    }
    .content-text {
        width: 100%;
        padding: 0 20px;
    }

    .marquee h1 {
        font-size: 0.8rem;
    }
    .header-container {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .navbar {
        display: none; /* Hide the menu by default */
        flex-direction: column;
        position: absolute;
        top: 100px; /* Adjust based on header height */
        right: 10px;
        background-color: black;
        border: 1px solid white; /* Adjust border color as needed */
        padding: 10px;
        border-radius: 5px;
    }
    .navbar a {
        padding: 10px 0;
        text-align: center;
    }

    .navbar .sidebar-image {
        display: block;
        width: 30px;
        margin: 10px auto;
    }
    .navbar.active {
        display: flex; /* Show the menu when active */
    }

    .menu-toggle {
        display: block;
    }
    .logo_header {
        width: 40%;
        margin-top: 10px;
    }
    .sidebar-desktop {
        display: none;
    }
    .image-main {
        width: 100%;
        margin: 0 auto;
    }
    .content-text h1 {
        font-size: 45px !important;
    }
    .content-text p {
        font-size: 16px !important;
    }
    .title_service {
        font-size: 30px !important;
    }
    .cards_service {
        justify-content: center;
    }
    .card_service {
        width: 90%;
    }
    .cards_references {
        flex-wrap: wrap;
    }
    .card_reference:nth-child(2) {
        margin: 50px 0;
    }
    .card_reference {
        width: 80%;
        margin: 50px 0;
    }
    .card_reference:nth-child(3) {
        margin: 50px 0 0;
    }
    .title_references {
        font-size: 40px !important;
    }
    #contact h1 {
        font-size: 40px !important;
    }
    #contact a {
        font-size: 12px;
    }
    #contact a img {
        width: 20px;
    }
    .cards_references {
        margin-top: 20px;
    }
    .subtitle_service {
        width: 100%;
    }
    .header-container {
        padding: 10px 0 0;
        height: auto;
    }
    footer img {
        width: 40%;
    }
    #about {
        width: 90%;
        padding: 0 10px;
        flex-wrap: wrap;
    }
    .text_about_us {
        width: 100%;
        margin-top: 20px;
    }
    .logo_3d {
        width: 100%;
        margin-right: 0;
    }

    .links_footer {
        flex-wrap: wrap;
    }
    .links_footer a:first-child {
        border: none;
    }
    .links_footer a {
        padding: 5px;
    }
}

@media (min-width: 1420px) {
	.content-text h1 {
		font-size: 80px !important;
	}
}