@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:wght@400;500;600;700&display=swap');

:root {
    --bg-color: #030303;
    --button-bg: #e0b30d;
    --button-register-hover: linear-gradient(to top, rgba(243, 192, 0, 1) , rgba(236, 208, 104, 1));
    --button-login-hover: F2C210;
    --text-color: rgba(247, 248, 255, 1);
    --main-color: rgb(1 255 125);
    --menu-text: rgba(246, 248, 255, 1);
    --table-header: rgba(15, 15, 15, 1);
    --table-even: rgba(27, 27, 27, 1);
    --table-odd: rgba(43, 43, 43, 1);
    --footer-bg: rgba(10, 9, 10, 1);
    --footer-color: #FDFCFC;
  }
  

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'IBM Plex Serif', serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

.toggle-body {overflow-y: hidden;}

h1 {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin: 20px;
    line-height: 52px;
}

h2 {
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    margin: 20px;
    line-height: 44px;
}

h2 {
    font-size: 26px;
    font-weight: 600;
}

.container img {
    display: block;
    max-width: 100%;
    margin: 15px auto;
}

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-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-icon {
    display: none;
    width: 27px;
    height: 18px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
    margin-right: 10px;
}

.burger-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--button-bg);
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
  }

 .burger-icon span:nth-child(1) {
    top: 0px;
    transform-origin: left center;
  }
  
 .burger-icon span:nth-child(2) {
    top: 8px;
    transform-origin: left center;
  }
  
 .burger-icon span:nth-child(3) {
    top: 16px;
    transform-origin: left center;
  }
  
 .burger-icon.open span:nth-child(1) {
    transform: rotate(45deg);
    top: -3px;
    left: 8px;
  }
  
 .burger-icon.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
  }
  
 .burger-icon.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 17px;
    left: 8px;
  }

.navigaton-l {
    display: flex;
    align-items: center;
    justify-content: start;
}
.brand-l {
  padding: 10px 15px;
  background-color: rgba(144, 144, 144, 0.12);
}
.brand-l span{
    color: white;
    font-size: 18px;
    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-c {
    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: 20;
    background-color: var(--bg-color);
    padding: 31px 15px;
    width: 100%;
    height: 94vh;
    left: -18px;        
}

.menu-toggle .menu-c {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;

}

.menu-toggle .menu-c a {
    width: 100%;
    padding: 16px 10px;
}


.menu a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    color: var(--menu-text);
}

.navigaton-r {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login {
    background: var(--bg-color);
    border: 2px solid var(--button-bg);
    color: var(--button-bg);
}

.login:hover {
    background: var(--button-bg);
    color: var(--bg-color);
}

.registration {
    border: none;
    background: var(--button-bg);
    color: var(--bg-color);
}

.registration:hover {background: var(--button-register-hover);}

main {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 48px;
}

.container-head {
    background-image: url(./images/bg.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    height: 600px;
}

.slide {
    max-width: 1070px;
    top: 60px;
    margin: 0px 20px;
    position: absolute;
}

.slide figure {
  position: absolute;
}

.slide .card-1 {
  bottom: -150px;
  right: -150px;
}
.slide .card-2 {
  left: -150px;
  top: 0;
}
.slide .card-3 {
  left: 50%;
  bottom: -280px;
}
.slide .card-4 {
  left: -170px;
  bottom: -100px;
}
.slide .slot{
  left: 80px;
  bottom: -130px;
}

.slide picture img {
    width: 100%;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    height: auto;
    position: relative;
    z-index: 15;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 15px 20px 0px 20px;
    gap: 24px;
    max-width: 1070px;
}

.container-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.container-section p span {
    color: var(--button-bg);
    text-decoration: underline;
}

.container-section ul, .container-section ol {
  margin-left: 30px;
}

.container-section ul li, .container-section ol li {
    margin-top: 8px;
    margin-bottom: 8px;
}

.middle-slide {
    max-width: 850px;
    margin: 8px 0px;
}

.middle-slide 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(--table-header);
  }

  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;
  }

  tbody tr:nth-child(even) {background-color: var(--table-even);}
  tbody tr:nth-child(odd) {background-color: var(--table-odd);}

  footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 63px;
    background-color: var(--footer-bg);
  }

  .footer-c {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .footer-c span {
    color: var(--footer-color);
    opacity: 50%;
    font-size: 12px;
    font-weight: 400;
    line-height: 14.63px;
  }
  

  @media (max-width: 1100px){
    .container-head {
      height: 500px;
    }

    .slide .card-3 {
      bottom: -180px;
    }

    .slide .card-3 img {
      width: 150px;
    }

    .slide .slot {
      bottom: -110px;
    }

    .slide .slot img {
      width: 260px;
    }
  }

  @media (max-width: 840px){
    .container-head {
      height: 440px;
    }
  }

  @media (max-width: 710px){ .menu {margin-left: 18px;}}

  @media (max-width: 680px){
    .slide {top: 31px;}

    .container-head {
      height: 272px;
    }

    .slide .card-3 {
      bottom: -100px;
    }

    .slide .card-3 img {
      width: 80px;
    }

    .slide .slot {
      left: -40px;
      bottom: -80px;
    }

    .slide .slot img {
      width: 180px;
    }

    nav {
        height: 56px;
    }

    .menu {
        display: none;
    }

    .burger-icon {
        display: flex;
    }

    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;
    }

    .slot img {width: 124px;}
  }


