@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@400;500;600;700&display=swap');

:root {
    --bg-color: #1a191e;
    --bg-menu-color: #3d3c00;
    --button-bg: linear-gradient(to right, rgb(152 4 119) , rgb(233 168 1));
    --button-register-hover: rgb(143 139 12);
    --button-login-hover: rgb(197 29 17);
    --text-color: rgba(247, 248, 255, 1);
    --main-color: rgba(0, 158, 127, 1);
    --menu-text: rgba(246, 248, 255, 1);
  }
  

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.content img {
    display: block;
    max-width: 100%;
    margin: 15px auto;
}

body {
    font-family: 'Geologica', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

.toggle-body {overflow-y: hidden;}

h1 {
    font-size: 44px;
    font-weight: 700;
    padding: 28px 0;
    text-align: center;
}

h2 {
    font-size: 36px;
    font-weight: 600;
    padding: 29px 0;
    text-align: center;
}

h2 {
    font-size: 30px;
    font-weight: 600;
    padding: 25px 0;
    text-align: center;
}

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(--bg-menu-color);
}

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;
    border-radius: 8px;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 700;
}

.burger-menu {
    display: none;
    width: 27px;
    height: 18px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
    margin-right: 10px;
}

.burger-menu 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;
  }

 .burger-menu span:nth-child(1) {
    top: 0px;
    transform-origin: left center;
  }
  
 .burger-menu span:nth-child(2) {
    top: 8px;
    transform-origin: left center;
  }
  
 .burger-menu span:nth-child(3) {
    top: 16px;
    transform-origin: left center;
  }
  
 .burger-menu.open span:nth-child(1) {
    transform: rotate(45deg);
    top: -3px;
    left: 8px;
  }
  
 .burger-menu.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
  }
  
 .burger-menu.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 17px;
    left: 8px;
  }

.left-nav {
    display: flex;
    align-items: center;
    justify-content: start;
}

.logo span{
    color: white;
    font-size: 23px;
    font-weight: 700;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 48px;
    position: relative;
}

.menu img {
    display: none;
}

.toggle-img {
    display: block !important;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
}

.menu-content {
    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: var(--bg-color);
    padding: 31px 15px;
    width: 100%;
    height: 94vh;        
}

.menu-toggle .menu-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;

}

.menu-toggle .menu-content a {
    width: 100%;
    border-bottom: 1px solid var(--main-color);
    padding: 16px 10px;
}


.menu a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 500;
    color: var(--menu-text);
}

.right-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login {
    background: linear-gradient(var(--bg-menu-color), var(--bg-menu-color)) padding-box, var(--button-bg) border-box;
    border: 2px solid transparent;
}

.login:hover {
    background: var(--button-login-hover);
}

.registration {
    border: none;
    background-image: var(--button-bg);
}

.registration:hover {background: var(--button-register-hover);}

main {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 48px;
}

.content-header {
    background: linear-gradient(0deg, rgba(26,25,30,1) 22%, rgba(61,60,0,1) 44%);
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.banner {
    max-width: 1070px;
    margin: 24px 20px 24px 20px;
    position: relative;
}

.banner img {
    width: 100%;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    height: auto;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0px 20px;
    gap: 24px;
    max-width: 1070px;
}

.content-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.content-section p span {
    color: rgba(0, 206, 165, 1);
    text-decoration: underline;
}

.content-section ul, .content-section ol {
  margin-left: 40px;
  margin-bottom: 10px;
}

.content-section ul li, .content-section ol li {
    margin-top: 8px;
}

.middle-banner {
    max-width: 850px;
    margin: 8px 0px;
}

.middle-banner img {
    width: 100%;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    height: auto;
}


table {
    /* border-collapse: collapse; */
    border-collapse: separate;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
    border-spacing: 0;
    overflow: hidden;
  }

  thead tr {
    background: var(--main-color);
  }

  tbody tr:last-child {
    border-radius: 13px;
  }

  table td {
    border: 1px solid var(--main-color);
  }
  

  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: var(--bg-menu-color);
  }

  .footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .footer-content span {
    color: rgba(239, 239, 239, 1);
    font-size: 12px;
    font-weight: 400;
    line-height: 14.63px;
  }
  

  @media (max-width: 680px){
    nav {
        height: 56px;
    }

    .menu {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    .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;
    }
  }


