@import url('https://fonts.googleapis.com/css2?family=Vollkorn:wght@400;500;600;700&display=swap');

:root {
    --bg: #251a03;
    --nav-bg: #570505;
    --table-odd: #1D1D1D;
    --table-even: #0E0E0E;
    --text-color: rgba(247, 248, 255, 1);
    --red-light: rgba(255, 44, 63, 1);
    --red: rgba(197, 11, 28, 1);
    --button-color: linear-gradient(to right, var(--red-light) , var(--red));
    --menu-hover: rgba(229, 186, 87, 1);
  }
  

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vollkorn', serif;
    background-color: var(--bg);
    overflow-x: hidden;
    color: var(--text-color);
}

.toggle-body {overflow-y: hidden;}

h1 {
    font-size: 44px;
    font-weight: 700;
    text-align: center;
    margin: 20px 0;
}

h2 {
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    margin: 20px 0;
}

h3 {
    font-size: 29px;
    font-weight: 600;
    text-align: center;
    margin: 20px;
}

p {
    font-size: 16px;
    font-weight: 400;
    line-height: 23.68px;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: var(--nav-bg);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0px 15px;
    max-width: 1070px;
    height: 72px;
}

button {
    outline: none;
    padding: 10px 30px;
    cursor: pointer;
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
}

.mobile-burger {
    display: none;
    width: 27px;
    height: 18px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
    margin-right: 10px;
}

.mobile-burger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--text-color);
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
  }

 .mobile-burger span:nth-child(1) {
    top: 0px;
    transform-origin: left center;
  }
  
 .mobile-burger span:nth-child(2) {
    top: 8px;
    transform-origin: left center;
  }
  
 .mobile-burger span:nth-child(3) {
    top: 16px;
    transform-origin: left center;
  }
  
 .mobile-burger.open span:nth-child(1) {
    transform: rotate(45deg);
    top: -3px;
    left: 8px;
  }
  
 .mobile-burger.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
  }
  
 .mobile-burger.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 17px;
    left: 8px;
  }

.left-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-brand span{
    color: var(--white);
    font-size: 21px;
    font-weight: 700;
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-left: 50px;
}

.navigation-items {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
  }

.menu-toggle {
    display: flex !important;
    position: absolute;
    align-items: start;
    top: 56px;
    left: 0;
    margin: 0;
    z-index: 10;
    background-color: rgba(31, 31, 31, 1);
    padding: 31px 15px;
    width: 100%;     
    height: 100%; 
}

.menu-toggle .navigation-items {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;
    position: absolute;
    z-index: 25;

}

.menu-toggle .navigation-items a {
    margin-left: 30px;
    width: 100%;
    padding: 16px 10px;
}


.navigation-items a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
}

.navigation-items a:hover {
  color: var(--menu-hover);
}

.navigation-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-login {
    background: var(--nav-bg);
    border: 2px solid var(--red-light);
  }
  
.nav-login:hover {
  background: var(--red);
  border: 2px solid var(--red);
}

.nav-register {
    border: none;
    background: var(--button-color);
    padding: 11px 31px;
}

.nav-register:hover {background: var(--red-light);}

main {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 48px;
    background-image: url(./images/bg.png);
    background-position: top -60px center;
    background-repeat: no-repeat;
    background-size: 100%;
}

.body-content {
    display: flex;
    align-items: start;
    justify-content: center;
    width: 100%;
}

.body-content-banner {
    max-width: 1070px;
    margin: 20px 20px 10px 20px;
    position: relative;
}

.body-content-banner img {
    width: 100%;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    height: auto;
}

.body-content-middle-content img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
    height: auto;
}

.body-content-middle {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0px 20px 0px 20px;
    gap: 24px;
    max-width: 1070px;
}

.body-content-middle-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.body-content-middle-content p span {
    color: var(--blue);
    text-decoration: underline;
}

.body-content-middle-content ul, .body-content-middle-content ol {
  margin-left: 40px;
    margin-bottom: 15px;
}

.body-content-middle-content ul li, .body-content-middle-content ol li {
    margin-top: 8px;
}

.body-content-middle-banner {
    max-width: 850px;
    margin: 8px 0px;
}

.body-content-middle-banner img {
    width: 100%;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    height: auto;
}


table {
    border-collapse: separate;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
    border-spacing: 0;
    overflow: hidden;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.25);
  }

  thead tr {
    background: black !important;
    color: white;
  }

  tr:nth-child(odd) {background-color: var(--table-odd);}
  tr:nth-child(even) {background-color: var(--table-even);}

  tbody tr:last-child {
    border-radius: 13px;
  }
  

  table th {
    font-size: 18px;
    font-weight: 600;
    padding: 20px;
  }

  table td {
    font-size: 16px;
    font-weight: 400;
    padding: 1.2em;
  }

  table th,
  table td {
    text-align: center;
  }

  tr:first-child th:first-child {
    border-top-left-radius: 13px;
  }
  tr:first-child th:last-child {
    border-top-right-radius: 13px;
  }
  tr:last-child td:first-child {
    border-bottom-left-radius: 13px;
  }
  tr:last-child td:last-child {
    border-bottom-right-radius: 13px;
  }

  tr td {
    border-top: none;
  }

  tr td:not(:last-child) {
    border-right: none;
  }
  tr td:not(:last-child) {
    border-top: none;
    border-right: none;
  }

  footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 63px;
    background-color: #570505;
  }

  .footer {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .footer span {
    color: var(--white);
    font-size: 12px;
    font-weight: 400;
    line-height: 14.63px;
  }
  

  @media (max-width: 680px){
    main {
      background-position: top 0px center;
    }

    nav {
        height: 56px;
    }

    .navigation {
        display: none;
    }

    .mobile-burger {
        display: flex;
    }

    .body-content-banner {
        margin-top: 31px;
    }

    button {
        padding: 10px 16px;
        font-size: 12px;
    }

    h1 {font-size: 32px;}
    h2 {font-size: 26px;}
    h3 {font-size: 20px;}
    p {font-size: 14px;}

    table th {
        font-size: 16px;
        padding: 12px;
    }
    
    table td {
      padding: 12px;
      font-size: 14px;
    }
  }

