@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500;600;700&display=swap');
:root {
    --white: rgb(248 203 236);
    --button-bg: rgb(255 59 27);
    --button-hover: rgba(181, 195, 254, 1);
    --text-color: rgba(9, 7, 10, 1);
    --bg-footer: rgba(226, 184, 213, 1);
    --table-header: rgba(255, 236, 250, 1);
    --table-row: rgba(255, 242, 251, 1);
    --table-border: #FFF2FB;
  }
  

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'EB Garamond', serif;
    background-color: var(--white);
    color: var(--text-color);
    overflow-x: hidden;
}

.toggle-body {overflow-y: hidden;}

h1 {
    font-size: 44px;
    font-weight: 700;
    padding: 19px 0;
    line-height: 55px;
}

h2 {
    font-size: 37px;
    font-weight: 600;
    text-align: center;
    padding: 20px 0;
    line-height: 45px;
}

h2 {
    font-size: 26px;
    font-weight: 600;
}

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(--white);
    border-bottom: 1px solid rgba(227, 220, 251, 1);
}

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;
}

.burger-btn {
    display: none;
    width: 27px;
    height: 18px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;
    margin-right: 10px;
}

.burger-btn 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-btn span:nth-child(1) {
    top: 0px;
    transform-origin: left center;
  }
  
 .burger-btn span:nth-child(2) {
    top: 8px;
    transform-origin: left center;
  }
  
 .burger-btn span:nth-child(3) {
    top: 16px;
    transform-origin: left center;
  }
  
 .burger-btn.open span:nth-child(1) {
    transform: rotate(45deg);
    top: -3px;
    left: 8px;
  }
  
 .burger-btn.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
  }
  
 .burger-btn.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 17px;
    left: 8px;
  }

.left-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-section span{
    color: var(--text-color);
    font-size: 22px;
    font-weight: 700;
}

.menu-section {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-left: 50px;
}

.menu-section img {
    display: none;
}

.toggle-img {
    display: block !important;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;    
}

.menu-section-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.site-content img {
    display: block;
    margin: 10px auto;
    max-width: 100%;
}

.menu-toggle {
    display: flex !important;
    position: absolute;
    align-items: start;
    top: 57px;
    left: 0;
    margin: 0;
    z-index: 10;
    background-color: var(--white);
    padding: 31px 15px;
    width: 100%;
    height: 94vh;        
}

.menu-toggle .menu-section-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;

}

.menu-toggle .menu-section-content a {
    width: 100%;
    border-bottom: 1px solid rgba(190, 174, 201, 1);
    padding: 16px 10px;
}


.menu-section a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-color);
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sign-in {
    background: transparent;
    border: 2px solid var(--button-bg);
    color: var(--text-color);
  }
  
.sign-in:hover {
  border: 2px solid var(--button-hover);
}

.registr {
    border: none;
    background: var(--button-bg);
    padding: 11px 31px;
}

.registr:hover {background: var(--button-hover);}

main {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin-bottom: 48px;
}

.site-header {
    background-image: url(./images/bg.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: start;
    justify-content: center;
    width: 100%;
}

.site-banner {
    max-width: 1070px;
    margin: 42px 20px 48px 20px;
    position: relative;
}

.site-banner img {
    width: 100%;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    height: auto;
}

.site-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0px 20px;
    gap: 24px;
    max-width: 1070px;
}

.site-content-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.site-content-section h1 {
  text-align: center;
}

.site-content-section p span {
    color: #FF4CA8;
    text-decoration: underline;
}

.site-content-section ul, .site-content-section ol {
    margin-left: 40px;
}

.site-content-section ul li, .site-content-section ol li {
    margin-top: 8px;
}

.site-mid-banner {
    max-width: 850px;
    margin: 8px 0;
}

.site-mid-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;
  }

  thead tr {
    background: var(--table-header);
  }

  tr:nth-child(even) {background-color: var(--table-row);}

  tbody tr:last-child {
    border-radius: 13px;
  }

  tbody tr td:first-child {
    border-left: 1px solid var(--table-border);
  }

  tbody tr td:last-child {
    border-right: 1px solid var(--table-border);
  }

  tbody tr:last-child td {
    border-bottom: 1px solid var(--table-border);
  }
  

  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-footer);
  }

  .footer-section {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .footer-section span {
    color: var(--text-color);
    font-size: 12px;
    font-weight: 400;
    line-height: 14.63px;
  }
  

  @media (max-width: 680px){
    nav {
        height: 56px;
    }

    .menu-section {
        display: none;
    }

    .burger-btn {
        display: flex;
    }

    .site-banner {
        margin-top: 31px;
    }

    button {
        padding: 10px 16px;
        font-size: 12px;
    }

    h1 {
        font-size: 36px;
        line-height: 47px;
    }

    h2 {
        font-size: 28px;
        line-height: 36px;
    }
    h3 {
        font-size: 20px;
    }
    p {font-size: 16px;}

    table th {
        font-size: 16px;
        padding: 12px;
    }
    
    table td {
      padding: 12px;
      font-size: 14px;
    }
  }

