/* Main */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  background-color: #eaeaea;
  font-family: "Roboto", sans-serif;
}
html {
  scroll-behavior: smooth;
}
.container {
  max-width: 940px;
  margin: 0 auto;
  position: relative;
  padding: 0 15px;
}
.logo {
  margin-bottom: 60px;
}
.title {
  font-size: 32px;
  margin-bottom: 30px;
  margin-top: 200px;
  max-width: 400px;
}
.sub-title {
  text-transform: uppercase;
  color: #025e84;
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 20px;
}
.text {
  font-size: 18px;
}
td[data-blue] {
  background-color: #c3dae0;
}
.mobile {
  display: none;
}
.table-mobile {
  display: none;
}
.main-title {
  text-transform: uppercase;
  text-align: center;
  font-size: 55px;
  max-width: 500px;
  margin: 0 auto;
}
.main-title span {
  background-color: #035e85;
  color: #fff;
  padding: 10px 90px;
  display: inline-block;
}
.angled {
  clip-path: polygon(0 0, 95% 0, 100% 100%, 5% 100%);
}
.insta {
  margin-bottom: 30px;
  display: inline-block;
  background-color: #025e84;
  padding: 5px 15px;

  a {
    color: #fff;
    text-decoration: none;
    transition: all 0.4s;
  }

  a:hover {
    font-size: 18px;
  }
}
.main-anchors {
  background-color: #025e84;
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
  padding: 10px 0;

  span {
    width: 100%;
    font-size: 55px;
    color: #fff;
    margin-bottom: 15px;
  }

  a {
    color: #fff;
    text-align: center;
    flex-grow: 1;
    text-decoration: none;
    transition: all 0.4s;
    text-transform: uppercase;
  }

  a:hover {
    font-size: 18px;
  }
}
.main-buttons {
  display: flex;
  margin-top: 15px;
  margin-bottom: 20px;
  justify-content: center;
  max-width: 500px;
  margin: 0 auto;
}
.main-buttons a {
  color: #fff;
  text-decoration: none;
  background-color: #025e84;
  padding: 5px 20px;
  flex-grow: 1;
  text-align: center;
}
.est {
  position: absolute;
  top: -50px;
  right: 0;
}
.est svg {
  width: 500px;
  height: auto;
}
#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background-color: #025e85;
  width: 35px;
  height: 35px;
  border: 0;
  padding: 3px;
  border-radius: 50%;

  svg path{
    fill: #fff;
  }
}

/* TOP */
#top {
}

/* HAT */
#hat {
  .size-image {
    position: absolute;
    right: 15px;
    top: -150px;
    z-index: -1;

    img {
      height: 365px;
      width: auto;
    }
  }
}

/* PANTS */
#pants {
  .size-image {
    position: absolute;
    right: 15px;
    top: -150px;
    z-index: -1;

    img {
      height: 485px;
      width: auto;
    }
  }

  table thead th:first-of-type {
    width: 25%;
  }
}

/* SHIRT */
#shirt {
  .size-image {
    position: absolute;
    right: 15px;
    top: -150px;
    z-index: -1;

    img {
      height: 405px;
      width: auto;
    }
  }

  table thead th:first-of-type {
    width: 33%;
  }
}

/* TABLE */
.table_component {
  overflow: auto;
  width: 100%;
  margin-top: 100px;

  table {
    border: 2px solid #dededf;
    height: 100%;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-spacing: 1px;
    text-align: left;
  }

  th {
    border: 2px solid #fff;
    background-color: #025e84;
    color: #fff;
    padding: 5px;
    font-weight: 500;
    text-align: center;
  }

  td {
    border: 2px solid #fff;
    color: #000000;
    padding: 10px;
    text-align: center;
  }

  td:first-of-type {
    background-color: #c3dae0;
  }

  .table-row {
    display: flex;
    font-size: 12px;
    border-bottom: 2px solid #ddd;
  }
}

.table-row:last-of-type {
  border-bottom: 0;
}
.table-row span {
  padding: 10px;
  width: 50%;
  text-align: right;
}
.table-row span:first-of-type {
  background-color: #025e84;
  text-align: left;
  color: #fff;
}
.table-part {
  margin-bottom: 20px;
  padding: 5px;
  border: 2px solid #ddd;
}

@media screen and (max-width: 768px) {
  #hat {
    & .size-image {
      img {
        height: 275px;
        width: auto;
      }
    }
  }

  #pants {
    & .size-image {
      img {
        height: 380px;
        width: auto;
      }
    }
  }
  #shirt {
    & .size-image {
      top: -88px;
      img {
        height: 360px;
        width: auto;
      }
    }
  }

  .logo img {
    width: 125px;
    height: auto;
  }

  .est {
    top: -40px;
  }
  .est svg {
    width: 350px;
  }
}

@media screen and (max-width: 640px) {
  #hat {
    & .size-image {
      img {
        height: 180px;
        width: auto;
      }
    }
  }

  #pants {
    & .size-image {
      img {
        height: 300px;
        width: auto;
      }
    }
  }
  #shirt {
    & .size-image {
      top: -88px;
      img {
        height: 260px;
        width: auto;
      }
    }
  }
  .mobile {
    display: inline-block;
  }
  .desktop {
    display: none !important;
  }
  .table-desktop {
    /* display: none; */
  }
  .est {
    top: -20px;
  }
  .est svg {
    width: 250px;
  }
  .table-mobile {
    display: block;
  }
  .title {
    font-size: 26px;
    margin-bottom: 22px;
  }
  .sub-title {
    font-size: 18px;
  }
  .text {
    font-size: 15px;
  }
  .logo img {
    width: 95px;
    height: auto;
  }

  .size-image.shirt img {
    height: 260px;
  }

  .table-desktop {
    display: none;
  }

  .table_component table {
    border: none;
  }
  .size-image.pants img {
    height: 300px;
  }
  #pants .title {
    width: 230px;
  }
  #shirt .title {
    width: 230px;
    margin-top: 70px;
  }
  .main-title {
    font-size: 37px;
  }

  .size-image.shirt {
    right: 0;
    top: -50px;
  }

  .main-anchors {
    span {
      font-size: 42px;
    }

    a {
      font-size: 14px;
    }
  }
}
