/**
* Reset
**/

*, *:before, *:after {
  box-sizing: border-box;
}

/**
* Variables
**/

:root {
  --metric-rhythm: 2rem;
  --metric-interaction-padding: 0.6rem 0.6rem;
}

/**
* Base
**/

body {
  height: 100vh;
  font-family: 'Josefin Sans', sans-serif;
  margin: 0;
  padding: 0;
  background-color: white;
  display: grid;
  grid-template-columns: 65% 35%;
  grid-template-areas:
    "header side-image"
    "main side-image"
    "main side-image"
    "footer side-image";
  /* background-image: url('https://res.cloudinary.com/gb2020/image/upload/v1589217438/base%20apparel%20coming%20soon/bg-pattern-desktop_ohtovt.svg'); */
  background-size: 100% 100%;
}

/**
* Utilities
**/

.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: auto;
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

.flow {
  --flow-space: var(--metric-rhythm);
}

.flow > * + * {
  /* margin-top: 1em; */
  /* margin-top: var(--flow-space); */
}

/**
* Header
**/

header {
  grid-area: header;
  height: 100px;
  padding-top: 3rem;
  padding-left: 10rem;
}

/**
* Side
**/

.side-image {
  grid-area: side-image;
  background-image: url('https://images.pexels.com/photos/7541807/pexels-photo-7541807.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
  background-repeat: no-repeat;
  background-size: cover;
}

/**
* Main
**/

.main {
  grid-area: main;
  max-width: 800px;
  padding-left: 10rem;
}

h2 {
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  /* word-spacing: 100vw; */
  line-height: 1.3em;
}

h2 .heading--pink {
  font-weight: 300;
  /* color: hsl(0, 36%, 70%); */
  /* color: #ff8400; */
  /* color: #009aff; */
  /* color: #fa00a1; */
  color: #B9311E;
  letter-spacing: 0.33em;
}

.main p {
  color: hsl(0, 36%, 70%);
  line-height: 1.5em;
  width: 49ch;
}

.form {
    /* --flow-space: 3.5rem; */
}

.form__control {
  display: flex;
  position: relative;
  width: 48ch;
  border: 1px solid hsl(0, 36%, 70%);
  border-radius: 999px;
  transition: 0.2s;
  --flow-space: 0.5rem;
}

.form__control:focus-within {
  border-width: 2px;
}

.form__control label {
  position: absolute;
  text-transform: capitalize;
  height: 100%;
  color: hsl(0, 36%, 70%);
  display: flex;
  align-items: center;
  padding-left: 2rem;
  width: 100%;
  transition: 0.2s;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active  {
  -webkit-box-shadow: 0 0 0 30px white inset !important;
}

.form__control input {
  border: none;
  background-color: transparent;
  outline: 0;
  padding: 20px 0 20px 2rem;
  flex: auto;
}

input:focus + label, input:not([value=""]) + label {
    align-items: flex-start;
    opacity: 0.75;
    transform: translateY(-1.5rem);
}


.button {
  z-index: 1;
  /* background-image: linear-gradient(135deg, hsl(0, 80%, 86%), hsl(0, 74%, 74%)); */
  /* background-color: #ff8400; */
  /* background-color: #3d3740; */
  /* background-color: #5e3374; */
  background-color: #B9311E;
  min-width: 7.5rem;
  border-radius: 999px;
  cursor: pointer;
}

.button:hover, .button:focus {
  filter: brightness(1.05);
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
  color: #fff;
  outline: 0;
}

.button svg {
  transform: translateY(1px); /* Optical adjustment */
}

/**
 * ALERT COMPONENT
 */

.form__alert {
    --flow-space: 0;
}

.alert {
  --alert-text: hsl(0, 36%, 70%);

  display: flex;
  align-items: flex-start;
  color: var(--alert-text);
  animation: slide-up 250ms ease;
}

.alert[data-state='success'] {
  --alert-text: green;
}

.alert__icon {
  font-size: 1.6em;
  flex-shrink: 0;
}

.alert__content {
  padding-left: 2rem;
}

.alert__content b {
  display: block;
}

/**
 * ANIMATIONS
 */
@keyframes slide-up {
  0% {
    opacity: 0;
    transform: translateY(0.4rem);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/**
* Footer
**/
.jewels{
  font-size: 15px;
  color: #352d2b !important;
  font-weight: 200;
  margin-left: 4.7rem;
  margin-top: 0px;
  padding-top: 0px;
}
footer {
  grid-area: footer;
  display: flex;
  /* justify-content: center; */
}

footer p {
  padding-left: 10rem;
  font-size: 12px;
}
footer a {
  color: hsl(0, 36%, 70%);
}

/**
* Media Query
**/

@media screen and (-ms-high-contrast: active) {
  input[type],
  button {
    border: 1px solid;
  }
}
  

@media(max-width: 1000px) {
  body {
    grid-template-columns: 100%;
    grid-template-areas:
      "header"
      "side-image"
      "main"
      "footer";
  }
  
  .side-image {
    min-height: 25rem;
    background-image: url('https://images.pexels.com/photos/7541807/pexels-photo-7541807.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
  }
  
  .main, header {
    padding: 1rem;
    width: 100vw;
    margin: 0 auto;
  }
  .logo{
    width: 50% !important;
  }
  header {
    grid-area: header;
    height: 70px;
    /* padding-top: 1rem;
    padding-left: 8rem; */
}
  .main h2, .main p {
    text-align: center;
  }
  
  .main h2 {
    font-size: 3rem;
  }
  
  .main p, .form__control {
    width: 98%;
    margin: 0 auto;
  }
}
@media screen and (max-device-width: 820px) {
  header {
    grid-area: header;
    height: 100px;
    /* padding-top: 1rem;
    padding-left:17rem; */
}
.logo {
  width: 35% !important;
  margin: auto !important;
}
}
@media screen and (max-device-width:425px) {
  .logo {5
    width: 25% !important;
    margin: auto !important;
}
.jewels{
  font-size: 12px;
  margin-left: 1.8rem;
}
}
.shareArticle {
  display: flex;
  /* flex-flow: column;
  align-items: center; */
  width: 100%;
  padding: 15px;
  /* padding-top: 0px; */
  padding-left: 0px;
}

.shareSocial {
  display: flex;
  flex-flow: row;
  align-items: center;
  /* margin-bottom: 30px; */
  @media (max-width: 767px) {
    flex-flow: column;
  }
  .socialTitle {
    margin: 0 15px 0 0;
    font-size: 20px;
    @media (max-width: 767px) {
      margin-bottom: 15px;
      text-align: center;
    }
  }
  .socialList {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    justify-content: center;
    flex-flow: row wrap;
    li {
      margin: 5px;
      &:first-child {
        padding-left: 0;
      }
      a {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 40px;
        height: 40px;
        border-radius: 100%;
        text-decoration: none;
        background-color: #999;
        color: #fff;
        transition: .35s;
        i {
          position: absolute;
          top: 50%;
          left: 50%;
          transform-origin: top left;
          transform: scale(1) translate(-50%, -50%);
          transition: .35s;
        }
        &:hover {
          i {
            transform: scale(1.5) translate(-50%, -50%);
          }
        }
      }
      &:nth-child(1) a {
        /* background-color: #135cb6; */
        background-color: #191447
        /* background-color: #009aff */
        /* background-color: #5e3374 */
      }
      &:nth-child(2) a {
        /* background-color: #00aced; */
        background-color: #191447
        /* background-color: #009aff */
        /* background-color: #5e3374 */
      }
      &:nth-child(3) a {
        font-size: 20px;
        /* background-color: #ad378e; */
        background-color: #191447
        /* background-color: #009aff */
        /* background-color: #5e3374 */
      }
      &:nth-child(4) a {
        font-size: 20px;
        /* background-color: #cda737; */
        background-color: #191447
        /* background-color: #009aff */
        /* background-color: #5e3374 */
      }
      &:nth-child(5) a {
        /* background-color: #1FB381; */
        background-color: #191447
        /* background-color: #009aff */
        /* background-color: #5e3374 */
      }
    }
  }
}
.logo{
  width: 23%;
}
.shareLink {
  .permalink {
    position: relative;
    border-radius: 30px;
    .textLink {
      text-align: center;
      padding: 12px 60px 12px 30px;
      height: 45px;
      width: 450px;
      font-size: 16px;
      letter-spacing: .3px;
      color: #494949;
      border-radius: 25px;
      border: 1px solid #f2f2f2;
      background-color: #f2f2f2;
      outline: 0;
      appearance: none;
      transition: all .3s ease;
      @media (max-width: 767px) {
        width: 100%;
      }
      &:focus {
        border-color: #d8d8d8;
      }
      &::selection {
        color: #fff;
        background-color: #ff0a4b;
      }
    }
    .copyLink {
      position: absolute;
      top: 50%;
      right: 25px;
      cursor: pointer;
      transform: translateY(-50%);
      &:hover {
        &:after {
          opacity: 1;
          transform: translateY(0) translateX(-50%);
        }
      }
      &:after {
        content: attr(tooltip);
        width: 140px;
        bottom: -40px;
        left: 50%;
        padding: 5px;
        border-radius: 4px;
        font-size: 0.8rem;
        opacity: 0;
        pointer-events: none;
        position: absolute;
        background-color: #000000;
        color: #ffffff;
        transform: translateY(-10px) translateX(-50%);
        transition: all 300ms ease;
            text-align: center;
      }
      i {
        font-size: 20px;
        color: #ff0a4b;
      }
    }
  }
}