/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Variables */
:root{
    --primary-color: #27bdbe;
    --secondary-color: #4175fc;
    --hover-color: #084af3;
    --light-background-color: #fff;
    --text-color: #000;
    --light-text-color: #fff;
}

/* Styling the body */
body {
    font-family: Arial, sans-serif;
    font-size: 16px;
    background-color: #777;
    color: var(--text-color);
    margin:auto;
}

@media (min-width: 750px) {
    body, html {
        font-size: 20px;
    }
}

main {
    max-width: 750px;
    margin:auto;
}

/* Headings */
h1 {
    font-size: 2.5rem;
    font-weight: 500;
    text-align: center;
}

h2 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 0.3rem;
}

/* HEADER */
.navbar .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 750px;
    margin: auto;
}

.navbar .mobile-menu {
    margin-top: 100px;
    text-align: center;
    background-color: var(--light-background-color);
    max-width: 750px;
    width: 100%;
}

.navbar .mobile-menu ul{
    list-style: none;
    font-size: 1.5rem;
}

.navbar ul li{
    padding-bottom: 0.3rem;
    border-bottom: 1px solid var(--text-color);
    text-decoration: none;
}

.mobile-menu li:last-child {
    border-bottom: none;
}

.navbar ul li a {
    padding: 10px 20px;
    text-decoration: none;
    color: var(--secondary-color);
}

.navbar ul li a:hover {
    color: var(--hover-color);
}

.magnifying-glass {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--secondary-color);
}

.logo {
    width:70px;
    height:70px;
    border-radius: 50%;
    display: flex;
}

.logo-link{
    text-decoration: none;
    color: var(--light-text-color);
    margin-left: 0.5rem;
}

/* Hamburger Button */
.hamburger-button{
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
    margin-right: 0.5rem;
    background-color: var(--light-background-color);
}

.hamburger-button .hamburger-line{
    width: 40px;
    height: 6px;
    background-color: var(--secondary-color);
    margin: 6px 0;
}

.mobile-menu{
    position:fixed;
    top: 0;
    display: none;
    z-index: 100;
}

.mobile-menu.active{
    display: block;
}

/* BREADCRUMB */

.breadcrumb-nav {
    padding-top: 1rem;
}

.breadcrumb-list {
    list-style: none;
    padding: 0;
    display: flex;
    color: var(--light-text-color);
}

.breadcrumb-list li {
    margin-right: 0.5rem;
}

.breadcrumb-list a {
    color: var(--light-text-color);
}

.breadcrumb-list li + li::before {
    content: ">";
    margin-right: 0.3rem;
}

.breadcrumb-list a:hover {
    text-decoration: underline;
}

/* HERO */
.hero {
    background-image: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    padding: 2rem;
}

.hero h1, .hero p{
    color: var(--light-text-color);
    text-align: center;
}

/* MAIN CONTENT */

@media (min-width: 750px) {
    .flex-container{
        display: flex;
    }

    .flex-container .section{
        width: 50%;
    }
}

/* Text section */
.text-section {
    background-color: var(--light-background-color);
    padding: 1rem;
    text-align: left;
    line-height: 1.6rem;
}

.text-section p {
    margin-bottom: 0.7rem;
}

.text-section h2{
    margin-top: 1.7rem;
}

.text-section h3{
    margin-top: 1rem;
}

.text-section h2:first-child, .text-section h3:first-child {
    margin-top: 0rem;
}

.text-section a {
    color: var(--secondary-color); 
    text-decoration: none;
    font-weight: bold; 
}

.text-section a:hover {
    text-decoration: underline;
}

.text-section ul, .text-section ol {
    padding-left: 1.2rem;
}

.text-section li {
    margin-bottom: 0.5rem;
}

.text-section blockquote {
    font-style: italic;
    padding-left: 1rem;
    margin: 1.5rem 0;
}

/* Content Section */
.section {
    padding: 1rem 0;
    text-align: center;
}

.section p {
    margin-bottom: 0.3rem;
}

.flex-container .section, .flex-container .section {
    padding: 1rem;
    text-align: center;
}

.section p {
    color: var(--text-color);
}

/* FOOTER */
.dark-footer {
    text-align: center;
    padding: 0.5rem;
}

.dark-footer p, .dark-footer a{
    color: var(--light-text-color);
    margin-bottom: 0.3rem;
}

.dark-footer p{
    font-size: 0.8rem;
}

.footer-links {
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
}
.footer-links a {
    margin-bottom: 0.3rem;
}

.logo-container {
    display: inline-flex;
    width: 2.5rem;      
    height: 2.5rem;        
    background-color: var(--primary-color);
    border-radius: 50%;
    flex-direction: row;
    justify-content: center;  /* Center the logo horizontally */
    align-items: center;      /* Center the logo vertically */
}

.yt-logo, .discord-logo {
    width: 70%;
    height: 70%;
}

/* Buttons */
.btn, .footer-btn, .search-btn{ 
    display: inline-flex;
    padding: 0.6rem 1rem;
    text-decoration: none;
    color: var(--light-text-color);
}

.footer-social-btn{
    background-color: var(--primary-color);  
    border-radius: 50%;
    width: 5rem;
    height: 5rem;
}

.footer-btn{
    background-color: var(--primary-color);
}

.search-btn{
    background-color: var(--light-background-color);  
    font-size: 1.5rem;
}

.btn{
    background-color: var(--secondary-color);
}

.btn:hover, .footer-btn:hover, .logo-container:hover {
    background-color: var(--hover-color);
}

.search-btn:hover, .hamburger-button:hover {
    opacity: 0.8;
}

/*  START HERE PAGE */
.vertical-btn-stack {
    display: inline-block;
    text-align: center;
}

.vertical-btn-stack .btn {
    display: block;
    width: 10rem;
    margin-bottom: 0.5em;
}

.vertical-btn-stack .btn:last-child {
    margin-bottom: 0;
}

  /* Estilo para o botão de toggle */
  .toggle-button {
    background-color: var(--secondary-color);
    color: white;
    padding: 10px;
    text-align: left;
    border: none;
    width: 100%;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .toggle-button .arrow {
    transition: transform 0.2s ease;
    display: inline-block;
  }
  
  .toggle-button.active .arrow {
    transform: rotate(90deg); /* Arrow points down */
  }
  
  .toggle-content {
    display: none;
    margin-top: 10px;
    padding-left: 20px;
    font-size: 0.7rem;
    line-height: 1rem;
  }
  
  .toggle-content.visible {
    display: block;
  }
  