:root {
  --main-bg-color: gray;
  --spacing: 15px;
  --headerSpacing: 150px;
  --blue: rgba(0, 150, 255, 1);
  --red: #ce0e2d;
  --green: green;
  --gray: gray;
}

* {
  box-sizing: content-box;
  padding: 0;
  margin: 0;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  font-size: 16px;
  color: white;
  font-family: "Work Sans", sans-serif;
}
a {
  text-decoration: none;
}

p {
  margin-block-start: 1em;
  margin-block-end: 1em;
}

h1 {
  font-size: 2.5em;
  text-transform: uppercase;
}
h2 {
  font-size: 1.2em;
  text-transform: uppercase;
}

.flex {
  display: flex;
}

header {
  height: var(--headerSpacing);
  background-color: black;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  z-index: 99;
  width: 100%;
  animation: top-down 1s;
}
header a {
  height: calc(80%);
}

.tothetop {
  position: fixed;
  z-index: 99;
  bottom: var(--spacing);
  right: var(--spacing);
  animation: down-up 1s;
}

.rocker:hover {
  animation-name: rock;
  animation-duration: 0.4s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

@keyframes rock {
  0% {
    transform: rotate(5deg);
  }
  100% {
    transform: rotate(-5deg);
  }
}
.headerfix {
  scroll-margin-top: var(--headerSpacing);
}

/* VIDEO */
.splash {
  height: 550px;
  width: 100%;
  position: relative;
  justify-content: center;
  align-items: center;
  margin-top: var(--headerSpacing);
}
video {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  z-index: 0;
}
.splash h2 {
  z-index: 1;
  position: relative;
  text-align: center;
  font-size: 1.5em;
  padding: var(--spacing);
  border: 3px white solid;
  width: 45%;
  transform: translateY(0);
}
/* VIDEO END */

.callout {
  justify-content: center;
  padding: 50px;
  align-items: flex-start;
}
.callout a {
  width: calc(80% / 4 - 15px);
  max-width: 300px;
  color: gray;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.callout img {
  width: 55%;
}
.callout a h2 {
  text-transform: uppercase;
  padding-top: 10px;
}
.callout a p {
  font-size: 0.8em;
}

.btn {
  display: block;
  margin-top: 25px;
  width: -webkit-min-content;
  width: -moz-min-content;
  width: min-content;
  white-space: nowrap;
  padding: 15px;
  background: white;
}

.btn {
  display: block;
  background: white;
  width: fit-content;
  border: 2px solid;
  padding: 1em 2em;
  transition: 0.35s;
  text-transform: uppercase;
  text-decoration: none;
  font-family: sans-serif;
}

.btn {
  color: black;
  &:hover,
  &:focus {
    border-color: white;
    color: #fff;
  }
}

.slide:hover,
.slide:focus {
  box-shadow: inset 16em 0 0 0 black;
}

.brdr {
  border-bottom: 3px solid white;
}
.brdr-left {
  margin-left: -35%;
  padding-left: 35%;
}
.brdr-right {
  margin-right: -35%;
  padding-right: 35%;
}

.content {
  opacity: 0;
  transition: 1s;
  transition-timing-function: cubic-bezier(0.47, 1.64, 0.41, 0.8);
}
.bottomup {
  transform: translateY(250px);
}

section {
  gap: 50px;
  align-items: center;
}

/* ABOUT */
.about {
  background: linear-gradient(
      135deg,
      rgba(221, 0, 0, 1) 0%,
      rgba(255, 89, 213, 0.5) 100%
    ),
    url(../images/sewing-multiply.jpg);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80dd0000', endColorstr='#80ff59d5',GradientType=1 );
  background-position: right;
  background-repeat: no-repeat;
  background-size: cover;
  padding-left: calc(100% / 10);
  padding-right: calc(100% / 10);
  overflow: clip;
}
/* ABOUT END */

/* LICENSE */
.licenses {
  padding-left: calc(100% / 10);
  padding-right: calc(100% / 10);
  padding-bottom: 50px;
  flex-wrap: wrap;
  background: linear-gradient(to bottom, #e5e5e5 0%, #ffffff 100%);
  justify-content: space-evenly;
}
.licenses h1 {
  width: 100%;
  text-align: center;
  padding-top: 50px;
  color: black;
}
.licenses img {
  width: calc(100% / 8);
}
.licenses img:hover {
  color: white;
  animation: roll 2s infinite;
  opacity: 0.7;
}
/* LICENSE END */

/* CUSTOM */
.squeegee {
  background: url("../images/squeegee.jpg");
  height: 400px;
  background-size: cover;
  background-position: center;
}
.custom {
  background-color: #00a8e1;
  background: linear-gradient(
      135deg,
      rgba(188, 214, 255, 0.5) 0%,
      rgba(0, 150, 255, 1) 100%
    ),
    url("../images/manual-multiply.jpg");
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80bcd6ff', endColorstr='#0096ff',GradientType=1 );
  background-position: left top;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 500px;
  padding-left: calc(100% / 10);
  padding-right: calc(100% / 10);
  overflow: clip;
}
.custom img {
  width: calc(65vw / 2);
  padding-top: 15px;
  padding-bottom: 15px;
}
/* CUSTOM END */

/* RETAIL */
.retail {
  background: linear-gradient(
      135deg,
      rgba(255, 153, 0, 1) 0%,
      rgba(255, 0, 0, 0.5) 100%
    ),
    url("../images/Website-BGs.jpg");
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff9900', endColorstr='#80ff0000',GradientType=1 );
  background-position: right top;
  background-repeat: no-repeat;
  min-height: 500px;
  padding-left: calc(100% / 10);
  padding-right: calc(100% / 10);
  overflow: clip;
}
.retail div {
  width: 60%;
}
.retail img {
  width: 30%;
}
/* RETAIL END */

/* WHOLESALE */
.wholesale {
  background-color: #00833e;
  background: linear-gradient(
      135deg,
      rgba(0, 155, 77, 1) 0%,
      rgba(149, 229, 218, 0.5) 100%
    ),
    url("../images/fabric-multiply.jpg");
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#009b4d', endColorstr='#8095e5da',GradientType=1 );
  background-position: left top;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 500px;
  padding-left: calc(100% / 10);
  padding-right: calc(100% / 10);
  overflow: clip;
}
/* WHOLESALE END */

.history {
  background: #e5e5e5;
  background: -moz-linear-gradient(
    top,
    #e5e5e5 0%,
    #ffffff 100%
  ); /* FF3.6-15 */
  background: -webkit-linear-gradient(
    top,
    #e5e5e5 0%,
    #ffffff 100%
  ); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    to bottom,
    #e5e5e5 0%,
    #ffffff 100%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e5e5e5', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
  padding-left: calc(100% / 10);
  padding-right: calc(100% / 10);
  padding-top: 50px;
}

.logo55 {
  width: 55%;
}

.timeline {
  margin-top: 50px;
  margin-bottom: 50px;
  color: black;
  display: flex;
  flex-wrap: wrap;
}
.timeline h2 {
  font-size: 1.25em;
  padding: 10px;
  box-shadow: inset 0 0 0 0 white;
}
.timeline .period {
  text-align: center;
  flex-grow: 1;
}
.timeline .period p {
  padding: 10px;
  margin: 0px;
}
.timeline .period:hover .point {
  background-color: black;
}
.timeline .period:hover img {
  opacity: 1;
}
.timeline .period img {
  -webkit-transition: all ease 0.4s;
  -moz-transition: all ease 0.4s;
  transition: all ease 0.4s;
  opacity: 0.25;
}
.timeline .line {
  background-color: black;
  width: 100%;
  height: 2px;
}
.timeline .line .point {
  position: relative;
  margin: auto;
  top: -0.5em;
  background-color: white;
  height: 1em;
  width: 1em;
  border: 2px black solid;
  border-radius: 50%;
  -webkit-transition: all ease 0.4s;
  -moz-transition: all ease 0.4s;
  transition: all ease 0.4s;
}

/* Contact */
.beach {
  background: url("../images/beach-one.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  min-height: 500px;
  justify-content: center;
  flex-wrap: wrap;
}
.beach form {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 65%;
}

input,
textarea {
  border: 3px solid black;
  background: white;
  font-size: 24px;
  height: 44px;
  padding: 5px;
  margin: 10px 0 10px 0;
}
input:focus,
textarea:focus,
button:focus {
  border: 3px solid white;
}
.beach label {
  display: flex;
  align-items: center;
  padding: 5px;
  color: black;
  width: calc(100% / 5);
  margin: 5px;
  border: 3px solid black;
  background: white;
  justify-content: center;
  min-width: 40%;
}
.beach label input {
  padding: 0;
  margin: 0;
  margin-right: 5px;
}
.beach input:placeholder-shown {
  margin-right: 5px;
}
/* Contact End */
.custom-bg {
  background: url("../images/bg-test.svg");
  background-size: cover;
}

.info {
  padding-top: 50px;
  margin-top: var(--headerSpacing);
  flex-wrap: wrap;
  justify-content: space-evenly;
  padding-left: calc(100% / 10);
  padding-right: calc(100% / 10);
  background: rgba(255, 255, 255, 0.9);
  overflow: clip;
  padding-bottom: 50px;
}

.info div {
  width: 45%;
}
.info h1 {
  color: black;
}
.info p {
  color: black;
}

.info img {
  width: 45%;
}

footer {
  padding: 25px;
  background: black;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
}
footer ul {
  list-style-type: none;
}
footer li {
  color: grey;
  padding-bottom: 10px;
}
footer li img {
  width: 30px;
}
footer a {
  color: white;
  font-size: 1.05em;
  padding-bottom: 10px;
}
footer a:visited {
  color: white;
}

.social {
  height: 25px;
}
.social:hover {
  -webkit-box-shadow: 0px 0px 16px 3px rgba(196, 46, 255, 0.62);
  -moz-box-shadow: 0px 0px 16px 3px rgba(196, 46, 255, 0.62);
  box-shadow: 0px 0px 16px 3px rgba(196, 46, 255, 0.62);
}

/*Animations */
@keyframes top-down {
  0% {
    transform: translate(0, -200%);
  }
  100% {
    transform: translate(0, 0);
  }
}
@keyframes down-up {
  0% {
    transform: translate(0, 200%);
  }
  100% {
    transform: translate(0, 0);
  }
}
@keyframes roll {
  0% {
    transform: rotate(0);
  }
  33.3% {
    transform: rotate(10deg);
  }
  66.6% {
    transform: rotate(-10deg);
  }
  99.9% {
    transform: rotate(0);
  }
}

.left {
  opacity: 0;
  transition: 1s;
  transform: translateX(-250px);
  transition-timing-function: cubic-bezier(0.47, 1.64, 0.41, 0.8);
}
.right {
  opacity: 0;
  transition: 1s;
  transform: translateX(250px);
  transition-timing-function: cubic-bezier(0.47, 1.64, 0.41, 0.8);
}

.up {
  opacity: 0;
  transition: 1s;
  transform: translateY(50px);
}

.show {
  opacity: 1;
  transform: translateY(0);
  transform: translateX(0);
}

.delay50 {
  transition-delay: calc(50ms * 1);
}
.delay100 {
  transition-delay: calc(50ms * 2);
}

.delay150 {
  transition-delay: calc(50ms * 3);
}

.delay200 {
  transition-delay: calc(50ms * 4);
}

@media only screen and (max-width: 700px) {
  .splash h2 {
    font-size: 1.1em;
  }
  .callout a {
    width: 45%;
  }
  .callout {
    gap: 0px;
    padding: 50px 0 50px 0;
    flex-wrap: wrap;
  }
  section {
    flex-wrap: wrap;
    justify-content: center;
    padding: 15px;
  }
  .retail div {
    width: 100% !important;
  }
  .retail img {
    width: 70% !important;
    padding-bottom: 25px;
  }

  .custom img {
    width: 100% !important;
  }
  .beach form {
    width: 95% !important;
  }
  .info div {
    width: 95%;
  }
  .info img {
    width: 95%;
  }
}
