@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Sora:wght@100..800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    list-style: none;
}

:root {
  --black: #000000;
  --red: #C60000;
  --yellow: #F3C100;
  --white: #ffffff;
  --gray-card: #222;
}

body {
  display: flex;
  height: 100vh;
  background: #111;
  color: #fff;
}

body::-webkit-scrollbar {
  width: 8px;
}

body::-webkit-scrollbar-track {
  background: var(--black);
}

body::-webkit-scrollbar-thumb {
  background-color: var(--red);
  border-radius: 20px;
}

/* MENU LATERAL */
nav {
  width: 80px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 10;
}

nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

nav li {
  position: relative;
}

nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--w);
  text-decoration: none;
  position: relative;

}

nav a i {
  font-size: 1.5rem;
  color: var(--white);
  transition: transform 0.3s, color 0.3s;
}

nav a:hover i {
  transform: scale(1.2);
  color: var(--red);
}

/* Tooltip estilizado */
nav a::after {
  content: attr(data-title);
  position: absolute;
  left: 70px;
  background: var(--red);
  color: #fff;
  padding: 5px 10px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  white-space: nowrap;
  font-size: 14px;
  z-index: 15;
  box-shadow: 1px 1px 15px var(--red);
}

nav a:hover::after {
  opacity: 1;
}

/* MAIN CONTENT */
main {
  margin-left: 80px;
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  overflow-y: auto;
  background-image: url('../image/background-sobre.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

#episodio-info {
  max-width: 1200px;
}

.video-wrapper {
  width: 100%;
  margin-bottom: 0;
}

.video-container {
  position: relative;
  width: 100%;
  height: 600px; /* Altura reduzida */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  z-index: 1;
  position: relative;
}

.video-info {
  color: var(--white);
  padding: 24px 20px;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  background-color: #111;
}

.video-info h1 {
  font-size: 2rem;
  padding: 10px 0px;
}

.video-info p {
  font-size: 1rem;
  color: var(--white);
  line-height: 1.6;
}

@media screen and (max-width: 360px){
  nav{
    width: 60px;
  }

  nav a i{
    font-size: 18px;
  }

  main {
    margin-left: 60px;
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
  }
  
  .video-container {
    position: relative;
    width: 100%;
    height: auto; /* Altura reduzida */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }

  .video-info h1 {
    font-size: 1.2rem;
    padding: 10px 0px;
  }

  .video-info p {
    font-size: 12px;
    color: var(--white);
    line-height: 1.6;
  }
}

@media screen and (min-width: 360px) and (max-width: 480px){
  nav{
    width: 60px;
  }

  nav a i{
    font-size: 18px;
  }

  main {
    margin-left: 60px;
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
  }
  
  .video-container {
    position: relative;
    width: 100%;
    height: 280px; /* Altura reduzida */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }

  .video-info h1 {
    font-size: 1.2rem;
    padding: 10px 0px;
  }

  .video-info p {
    font-size: 12px;
    color: var(--white);
    line-height: 1.6;
  }
}

@media screen and (min-width: 480px) and (max-width: 760px){
  nav{
    width: 60px;
  }

  nav a i{
    font-size: 18px;
  }

  main {
    margin-left: 60px;
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
  }
  
  .video-container {
    position: relative;
    width: 100%;
    height: 300px; /* Altura reduzida */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }

  .video-info h1 {
    font-size: 1.5rem;
    padding: 10px 0px;
  }

  .video-info p {
    font-size: 14px;
    color: var(--white);
    line-height: 1.6;
  }
}

@media screen and (min-width: 760px) and (max-width: 1024px){
  nav{
    width: 60px;
  }

  nav a i{
    font-size: 18px;
  }

  main {
    margin-left: 60px;
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
  }
  
  .video-container {
    position: relative;
    width: 100%;
    height: 500px; /* Altura reduzida */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  }

  .video-info h1 {
    font-size: 1.5rem;
    padding: 10px 0px;
  }

  .video-info p {
    font-size: 14px;
    color: var(--white);
    line-height: 1.6;
  }
}