﻿@charset "utf-8";

/*//////////// CSS RESET ////////////////*/

.unsub-page,
.unsub-page *,
.unsub-page *::before,
.unsub-page *::after {
  box-sizing: border-box;
}
.unsub-page * {
  margin: 0;
}
.unsub-page {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.unsub-page img,
.unsub-page picture,
.unsub-page video,
.unsub-page canvas,
.unsub-page svg {
  display: block;
  max-width: 100%;
}
.unsub-page input,
.unsub-page button,
.unsub-page textarea,
.unsub-page select {
  font: inherit;
}
.unsub-page p,
.unsub-page h1,
.unsub-page h2,
.unsub-page h3,
.unsub-page h4,
.unsub-page h5,
.unsub-page h6 {
  overflow-wrap: break-word;
}

/*/ /////////// CSS ////////////////*/

.unsub-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.unsub-page header {
  flex-shrink: 0;
}

.unsub-page footer {
  flex-shrink: 0;
}

.unsub-page main {
  flex: 1;
  display: flex;
}

@font-face {
  font-family: "Ubisoft Sans";
  src: url("https://ubistatic-a.akamaihd.net/0175/CRM/UNSUB_PAGE/UbisoftSans-Regular.ttf") format("truetype");
}

.unsub-page * {
  font-family: "Ubisoft Sans";
}

.unsub-page .navbar {
  background-color: #000;
  display: flex;
  align-items: center;
  padding: 20px 46px;
  justify-content: space-between;
  background-repeat: repeat-x;
  transition: background-image 0.2s ease;
  font-family: "UbiSans", sans-serif;
  /* Reset Bootstrap v3 .navbar leakage so the bar sits flush and full-bleed */
  width: 100%;
  min-height: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
}
/* Bootstrap v3 adds .navbar::before/::after clearfix (display:table). Inside a
   flex navbar those become flex items, so space-between distributes across them
   and squeezes the logo/text toward the center. Remove them. */
.unsub-page .navbar::before,
.unsub-page .navbar::after {
  content: none;
  display: none;
}
.unsub-page .unsub-text {
  color: #fff;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 1.1px;
}

.unsub-page .main {
  flex: 1;
  background-image: url("https://ubistatic-a.akamaihd.net/0175/CRM/UNSUB_PAGE/Cloudy_2k.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  /* Vertical breathing room so the glass card never butts against the
     header/footer; overflow-y:auto lets a tall card scroll instead of
     being clipped by the .unsub-page overflow:hidden on short viewports. */
  padding: 40px 0;
  overflow-y: auto;
  transition: background-image 0.4s ease;
}

.unsub-page #unsub-form {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.unsub-page .container {
  border-radius: 50px;
  margin: 0 auto;
  display: inline-flex;
  padding: 32px 50px 56px 50px;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  max-width: 45%;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 0px 32px 0 rgba(58, 58, 58, 0.37);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 44px;
  transition: all 0.5s ease-in-out;
}
.unsub-page .container-secondary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.unsub-page .container-glow {
  box-shadow: 0px 0px 50px rgba(255, 255, 255, 0.5);
  -moz-transition: all 0.2s ease-in;
  -o-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}

/*/ /////////// HEADER ////////////////*/

.unsub-page .header {
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
}
.unsub-page .header-secondary {
  padding: 24px 0;
}
.unsub-page .subheader {
  color: #000;
  padding: 12px 14px 0 14px;
  text-align: center;
  font-family: "Ubisoft Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 36px;
}
.unsub-page .subheader-secondary {
  text-align: center;
  font-family: "Ubisoft Sans";
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 36px;
}

.unsub-page .header-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/*/ /////////// BUTTONS ////////////////*/

.unsub-page .buttons {
  display: flex;
  gap: 64px;
  margin-bottom: 12px;
}
.unsub-page .button {
  padding: 16px 36px;
  font-weight: 600;
  border-radius: 44px;
  font-size: 24px;
  font-style: normal;
  font-weight: 800;
  cursor: pointer;
}
.unsub-page .button:hover {
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.25);
}
.unsub-page .unsub-button {
  background: #333;
  color: #fff;
  transition: all 0.3s ease;
  letter-spacing: 2px;
  border: 2px solid #333;
}
.unsub-page .unsub-button:hover {
  background-color: #000;
  border: 2px solid #000;
  transform: scale(1.05);
}
.unsub-page .informed-button {
  border: 2px solid #fff;
  background: #fff;
  transition: all 0.3s ease;
  letter-spacing: 1.1px;
}
.unsub-page .informed-button:hover {
  background-color: #006ef5;
  border: 2px solid #006ef5;
  transform: scale(1.05);
  color: #fff;
}
.unsub-page .button:disabled {
  cursor: default;
  opacity: 0.7;
}
.unsub-page .button:disabled:hover {
  transform: none;
  box-shadow: none;
}

.unsub-page .unsub-button {
  position: relative;
}
.unsub-page .btn-loading {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.unsub-page .unsub-button.is-loading .btn-label {
  visibility: hidden;
}
.unsub-page .unsub-button.is-loading .btn-loading {
  display: inline-flex;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.unsub-page .btn-loading span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: unsub-loading-dot 1.2s ease-in-out infinite;
}
.unsub-page .btn-loading span:nth-child(2) {
  animation-delay: 0.15s;
}
.unsub-page .btn-loading span:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes unsub-loading-dot {
  0%, 80%, 100% {
    opacity: 0.25;
    transform: scale(0.75);
  }
  40% {
    opacity: 1;
    transform: scale(1);
  }
}

/*/ /////////// LEGAL ////////////////*/

.unsub-page .legal {
  display: flex;
}
.unsub-page .legal-icon {
  width: 32px;
  height: 32px;
  margin: 0px 20px 0 0;
}
.unsub-page .legal-text {
  color: #000;
  font-family: "Ubisoft Sans";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
}
.unsub-page .legal-text-secondary {
  text-align: center;
  color: #fff;
  font-weight: normal;
}

/*/ /////////// FOOTER ////////////////*/

.unsub-page .footer {
  display: flex;
  padding: 24px 255px;
  flex-direction: column;
  background: #1d1e22;
  justify-content: center;
  align-items: center;
}

.unsub-page .unsub-hidden,
.unsub-page .informed-hidden {
  display: none;
}

/*/ /////////// QUERIES ////////////////*/

@media only screen and (max-width: 1800px) {
  .unsub-page .subheader {
    padding: 12px 64px 0 64px;
  }
}

@media only screen and (max-width: 1650px) {
  .unsub-page .container {
    max-width: 50%;
  }
  .unsub-page .subheader {
    padding: 12px 24px 0 24px;
  }
}

@media only screen and (max-width: 1450px) {
  .unsub-page .container {
    max-width: 60%;
  }
  .unsub-page .subheader {
    padding: 12px 24px 0 24px;
  }
}

@media only screen and (max-width: 1300px) {
  .unsub-page .container {
    max-width: 65%;
  }
}

@media only screen and (max-width: 1199px) and (min-width: 768px) {
  .unsub-page .navbar {
    padding: 20px;
  }
  .unsub-page .container {
    max-width: 70%;
  }
  .unsub-page .buttons {
    gap: 24px;
  }
  .unsub-page .footer {
    padding: 20px 100px;
  }
  .unsub-page .main {
    background-position: top center;
  }
}

@media only screen and (max-width: 1000px) {
  .unsub-page .header {
    font-size: 44px;
  }
  .unsub-page .subheader {
    font-size: 20px;
  }
  .unsub-page .button {
    padding: 16px 26px;
    font-size: 20px;
  }
}

@media only screen and (max-width: 830px) {
  .unsub-page .navbar .logo {
    width: 150px;
  }
  .unsub-page .unsub-text {
    font-size: 16px;
  }
  .unsub-page .header {
    font-size: 36px;
    text-align: center;
  }
  .unsub-page .container {
    max-width: 65%;
    padding: 40px 20px;
    justify-content: start;
  }
  .unsub-page .subheader,
  .unsub-page .subheader-secondary {
    font-size: 18px;
    line-height: 1.5;
  }
  .unsub-page .buttons {
    flex-direction: column;
    gap: 24px;
    width: 100%;
  }
  .unsub-page .button {
    font-size: 18px;
    min-width: 55%;
    margin: 0 auto;
  }
  .unsub-page .legal-text {
    font-size: 12px;
  }
  .unsub-page .footer {
    padding: 10px 20px;
  }
}

@media only screen and (max-width: 775px) {
  .unsub-page .container {
    max-width: 75%;
  }
  .unsub-page .header {
    font-size: 32px;
  }
}

@media only screen and (max-width: 650px) {
  .unsub-page .button {
    min-width: 70%;
  }
}

@media only screen and (max-width: 500px) {
  .unsub-page .container {
    max-width: 95%;
  }
  .unsub-page .header {
    font-size: 28px;
  }
  .unsub-page .subheader {
    padding: 12px 14px 0 14px;
    font-size: 16px;
  }
}

@media only screen and (max-width: 450px) {
  .unsub-page .button {
    min-width: 90%;
  }
  .unsub-page .navbar {
    padding: 15px 20px;
  }
  .unsub-page .logo {
    width: 100px;
  }
}

@media only screen and (max-width: 350px) {
  .unsub-page .header {
    font-size: 26px;
  }
}

/*/ /////////// ERROR PAGE ////////////////*/

.unsub-page .error-header {
  text-align: center;
}
.unsub-page .error-header h1,
.unsub-page .error-header h2,
.unsub-page .error-header h3,
.unsub-page .error-header h4,
.unsub-page .error-header h5 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}
.unsub-page .error-message {
  color: #000;
  text-align: center;
  font-size: 20px;
  line-height: 30px;
  padding: 0 14px;
}
.unsub-page .error-message p {
  margin: 0;
}

/*/ /////////// RTL ////////////////*/

.unsub-page[dir="rtl"] {
  direction: rtl;
  text-align: right;
}
.unsub-page[dir="rtl"] .legal-icon {
  margin: 0 0 0 20px;
}
