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

body {
  font-family: Arial, sans-serif;
  -webkit-font-smoothing: antialised;
  background-color: #000;
  color: #999;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  color: #fff;
}

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

p {
  margin: 0.5rem 0;
}

img {
  width: 100%;
}

/* Variables */
:root {
  --primary-color: #e50914;
  --second-color: #141414;
}

/* Header */
.showcase {
  width: 100%;
  height: 93vh;
  background-image: url('../img/Netflix-Background.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.showcase::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 93%;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.1);
  box-shadow: inset 120px 100px 250px #000, inset -120px -100px 250px #000;
}

.showcase-top {
  position: relative;
  height: 90px;
  z-index: 2;
}

.showcase-top img {
  width: 120px;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.showcase-top a {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(-50%, -50%);
}

.showcase-content {
  position: sticky;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin-top: 7rem;
  z-index: 2;
}

.showcase-content h1 {
  font-weight: 700;
  font-size: 4.4rem;
  line-height: 1.1;
  margin: 0 0 2rem;
}

.showcase-content p {
  text-transform: uppercase;
  color: #fff;
  font-weight: 400;
  font-size: 1.1rem;
  line-height: 1.25;
  margin: 0 0 2rem;
}

/* Tabs */
.tabs {
  background-color: var(--second-color);
  padding-top: 1rem;
  border-bottom: 3px solid #3d3d3d;
}

.tabs .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1rem;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.tabs p {
  font-size: 1.2rem;
  padding-top: 0.5rem;
}

.tabs .container > div {
  padding: 1.5rem 0;
}

.tabs .container > div:hover {
  cursor: pointer;
}

.tab-border {
  border-bottom: 4px solid var(--primary-color);
}

.active {
  color: #fff;
}

.tab-content {
  padding: 3rem 0;
  background-color: #000;
  color: #fff;
}

#tab-1-content,
#tab-2-content,
#tab-3-content {
  display: none;
}

.show {
  display: block !important;
}

#tab-1-content .tab-1-content-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 2rem;
  align-items: center;
  justify-content: center;
}

#tab-2-content .tab-2-content-top {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-gap: 1rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

#tab-2-content .tab-2-content-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 2rem;
  text-align: center;
  align-items: center;
  justify-content: center;
}

table {
 width: 100%;
 margin-top: 2rem;
 border-collapse: collapse;
 border-spacing: 0;
}

table thead th {
  text-transform: uppercase;
  padding: 0.8rem;
}

table tbody tr td {
  color: #999;
  padding: 0.8rem 1.2rem;
  text-align: center;
}

table tbody tr td:first-child {
  text-align: left;
}

table tbody tr:nth-child(odd) {
  background-color: #222;
}
/* Tabs */

/* Container */
.container {
  max-width: 70%;
  margin: auto;
  overflow: hidden;
  padding: 0 2rem;
}
/* Container */

/* Text Styles */
.text-xl {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.text-lg {
 font-size: 1.8rem;
 margin-bottom: 1rem;
}

.text-md {
  font-size: 1.5rem;
  margin-bottom: 1rem;
 }

.text-center {
  text-align: center;
}

.text-dark {
  color: #999;
}
/* Text Styles */

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: #fff;
  padding: 0.4rem 1.3rem;
  font-size: 1rem;
  text-align: center;
  border: none;
  cursor: pointer;
  margin-right: 0.5rem;
  outline: none;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
  border-radius: 2px;
}

.btn:hover {
  opacity: 0.9;
}

.btn-rounded {
  border-radius: 5px;
}

.btn-xl {
  font-size: 2rem;
  padding: 1.5rem 2.1rem;
  text-transform: uppercase;
}

.btn-lg {
  font-size: 1rem;
  padding: 0.8rem 1.3rem;
  text-transform: uppercase;
}
/* Buttons */

/* Footer */
.footer {
  max-width: 70%;
  margin: auto;
  overflow: auto;
}

.footer,
.footer a {
  color: #999;
  font-size: 0.9rem;
}

.footer p {
  margin-bottom: 1.5rem;
}

.footer .footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 2rem;
}

.footer li {
  line-height: 1.9;
}
/* Footer */

/* Media Querys */
@media screen and (max-width: 578px) {
  /* Global Styles */
  .btn {
    margin-right: unset;
  }

  .container {
    max-width: 80%;
    padding: unset;
  }
  /* Header */
  .showcase .showcase-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
  }

  .showcase-top img {
    position: unset;
    top: unset;
    left: unset;
    transform: unset;
  }

  .showcase-top a {
    position: unset;
    top: unset;
    left: unset;
    transform: unset;
  }

  .showcase-content {
    margin-top: 2rem;
  }

  .showcase-content h1 {
    font-size: 3.4rem;
  }

  .btn-xl {
    font-size: unset;
  }

  /* Tabs */
  .tabs .container {
    overflow: unset;
  }

  #tab-1-content .tab-1-content-inner {
    grid-template-columns: 1fr;
  }

  .text-lg {
    font-size: 1.1rem;
  }

  #tab-2-content .tab-2-content-bottom {
    grid-template-columns: 1fr;
  }

  .table-container {
    overflow-x: auto;
  }

}
