/* GENERAL STUFF */
:root {
  --margin-general: 100px;

  --main-color: rgba(45, 163, 241, 0.6);
  --dark-color: rgba(26, 105, 158, 0.6);

  --sidebar-bg: rgba(9, 53, 70, 0.9);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
}

body {
  background-image: url("../img/minesweeper-block.png");
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

#title 
{
  font-family: Arial; 
}

#square
{
  background-color: black;
  height: 400px;
  width: 400px;
}

/* TEXT */
h1 {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(85, 85, 85, 0.6);
  font-size: 40px;
  font-family: Arial, sans-serif;
  font-weight: bold;
}

h2 {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(85, 85, 85, 0.6);
  font-size: 30px;
  font-family: Arial, sans-serif;
  font-weight: bold;
}

p {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(85, 85, 85, 0.6);
  font-size: 20px;
  font-family: Arial, sans-serif;
}

a {
  color: #ffffff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* HEADER */

header {
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 0px;
  
}

#menu-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  justify-items: center;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;

  background-color: black;
  
  height: 80%;
  margin-top: 10px;
  margin-left: var(--margin-general);
  margin-right: var(--margin-general);
  margin-bottom: 0px;
  padding: 0px;
}

.header-img {
  width: 900px;
  height: 300px;
}

.main-body {
  background-color: white;
  margin-left: 50px;
  margin-right: 50px;
  
}

/* MENU */

.menu {
  display: flex;
  justify-content: center;
  
  background-color: #333;
  
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: var(--margin-general);
  margin-right: var(--margin-general);
  
}

.menu a {
  float: left;
  font-size: 16px;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.menu a:hover, .dropdown:hover .dropbtn {
  background-color: #121212;
}

/* MAIN */

main {
  background-color: var(--main-color);
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
  
  margin-left: var(--margin-general);
  margin-right: var(--margin-general);
  margin-top: 0;
  margin-bottom: 400px;

  padding-top: 0;
}

.intro {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  padding-left: 40px;
  padding-bottom: 40px;
}

.html-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;

  gap: 5px;

  margin: 10px;
}

/* SIDEBAR */
.sidebar-container {
  display: block;

  margin: 15px;

  background-color: var(--dark-color);
}

#sidebar {
  float: left;

  display: flex;
  flex-direction: column;
  gap: 5px;

  padding: 10px;

  background-color: var(--sidebar-bg);
  border-radius: 10px;

}

.side-nav {
  padding: 10px;
  text-align: center;
}

.side-nav div{
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 5px;
  padding-bottom: 5px;

  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: center;
  align-content: center;
  gap: 5px;
}

#sidebar span {
    background: linear-gradient(
      to bottom,
      rgba(85, 180, 255, 0.8) 0%,     /* Azul claro */
      rgba(23, 100, 131, 0.8) 100%    /* Azul medio */
    );
    border-radius: 3px;
    color: #f7f4f4;
    padding: 5px 5px 5px 5px;
    margin-bottom: 5px;
    margin-top: 5px;
    font-weight: normal;
    text-align: center;
}

.side-nav .section-header {
  display: block;
  text-align: center;
}

.side-nav .section-header span {
  display: block;
  width: 100%;
  text-align: center;
}

.sidebar-link {
  width: 15px;
  height: 15px;
}

.sidebar-img{
  width: 25px;
  height: 25px;
}

/* FOOTER */
footer {
  width: 100%;
  height: 20%;
  background-color: black;
  color: white;
  text-align: center;
  padding: 10px;
  margin-top: auto;
}