/***************************************************************************
*
* Global
*
****************************************************************************/
*,
::before,
::after {
  box-sizing: border-box;
}

body {
  background-color: #D1E0FF;
  background-image: url(./v2/assets/clouds.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #130837;
	font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
	padding: 0;
	margin: 0;
  min-width: 390px;
  overflow-x: hidden;
  overflow-y: auto;
}

body.is-open-menu {
  overflow: hidden;
  height: 100vh;
}

.is-open-menu .header__nav-wrapper {
  right: 0;
}

main {
  flex: 1 0 auto;
}

:focus {
	outline: 0;
}

.clearer {
	clear:both;
}

.container {
  display: flex;
  flex-direction: column;
  max-width: 1120px;
  margin-inline: auto;
  min-height: 100dvh;
  padding: 12px;
}

.container:has(.api-page) {
  overflow-x: hidden;
  overflow-y: auto;
}

@media (min-width: 993px) {
  .container {
    padding-block: 24px 40px;
    padding-inline: 20px;
  }
}

@media (min-width: 1260px) {
  .container:has(.api-page) {
    overflow: unset;
  }
}

h4 {
  color: #0F53DB;
  font-weight: 800;
  font-size: 28px;
  line-height: 36px;
  text-align: center;
  margin-block-end: 24px;
}

@media (min-width: 993px) {
  h4 {
    font-size: 36px;
    line-height: 44px;
  }
}

a {
  color: #130837;
  display: inline-block;
  text-decoration:none;
  transition: color 0.3s cubic-bezier(0.694, 0, 0.335, 1),
    background-color 0.3s cubic-bezier(0.694, 0, 0.335, 1),
    transform 0.3s linear;
}

a:hover,
a:focus {
  color: #130837;
  text-decoration: unset;
}

a:focus {
  outline: 1px dotted #130837;
  outline-offset: 2px;
}

a:focus:hover,
a:focus:active {
  outline: unset !important;
}

a:active:not(:disabled) {
  transform: scale(0.95);
}

p {
  color: #4D5761;
}

p a {
  color: #0F53DB;
  text-decoration: underline;
  font-weight: 700;
}

button {
  font-size: 14px;
  font-family: "Nunito", sans-serif;
  line-height: 18px;
  border:unset;
  background: unset;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}

@media (min-width: 993px) {
  button {
    font-size: 16px;
    line-height: 20px;
  }
}

input, textarea {
  border: none;
  outline: none;
  background: none;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}

.object-fit-cover {
  padding-block-start: 50%;
  position: relative;
}

.object-fit-cover img {
  object-fit: cover;
  font-family: "object-fit: cover; object-position: center";
  object-position: center;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}

/***************************************************************************
*
* Header
*
****************************************************************************/

header {
  display: flex;
  align-items: center;
  gap: 10px;
  position: sticky;
  top: 0;
  z-index: 999;
}

@media (min-width: 993px) {
  header {
    top: 24px;
  }
}

.header {
	background-color: white;
  border: 2px solid #C6D9FF;
  border-radius: 100px;
  flex: 1 0 auto;
}

.header__content {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-block: 6px;
  padding-inline: 12px 6px;
	position:relative;
	margin:0 auto;
}

@media (min-width: 993px) {
  .header__content {
    overflow: unset;
    padding-block: 10px;
    padding-inline: 22px 6px;
  }
}

.header__nav-wrapper {
  position: fixed;
  width: 100vw;
  background: #fff;
  right: -100%;
  left: inherit;
  top: 0;
  height: 100dvh;
  transition: right 0.3s ease;
  z-index: 10;
}

@media (min-width: 993px) {
  .header__nav-wrapper {
    position: inherit;
    width: inherit;
    height: inherit;
    right: 0;
    left: 0;
  }
}

.btn-default {
  font-size: 1rem;
  line-height: 1.5;
  align-items: center;
  cursor: pointer;
  display: flex;
  font-weight: 700;
  position: relative;
  text-align: left;
  width: auto;
  background-color: #0F53DB;
  box-shadow: 0 12px 24px 0 #758FFF4D;
  color: white;
  transition: transform 0.3s linear;
  border: 1px solid white;
  border-radius: 40px;
  gap: 16px;
  padding-block: 8px;
  padding-inline: 16px 8px;
  text-decoration: none;
  white-space: nowrap;
}

@media (min-width: 993px) {
  .btn-default {
    padding-block: 9px;
    padding-inline: 24px 14px;
  }
}

.btn-default:disabled {
  cursor: default;
  pointer-events: none;
}

.btn-default:focus {
  outline: 1px dotted #0F53DB;
  outline-offset: 2px;
}

.btn-default:focus:hover,
.btn-default:focus:active {
  outline: none !important;
}

.btn-default:hover:not(:disabled) {
  color: white;
  transform: scale(0.95);
}

.btn-default svg {
  align-items: center;
  box-sizing: content-box;
  display: flex;
  font-family: icomoon;
  justify-content: center;
  border-radius: 50%;
  padding: 7px;
  background-color: white;
}

.btn-primary,
.btn-secondary,
.btn-custom {
  border-radius: 8px;
  color: white;
  font-weight: 500;
  line-height: 20px;
  padding: 10px;
  position: relative;
  text-align: center;
  text-transform: capitalize;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(to bottom, #FBC02B, #DFA616, #A26100);
}

.btn-primary:hover {
  background: linear-gradient(to top, #FBC02B, #DFA616, #A26100);
}

.btn-secondary {
  background: linear-gradient(to bottom, #0364D3, #3B66BC, #1A285F);
}

.btn-secondary:hover {
  background: linear-gradient(to top, #0364D3, #3B66BC, #1A285F);
}

.btn-custom {
  background: linear-gradient(to bottom, #12BB6A, #099250, #025B30);
  line-height: 24px;
  padding-block: 12px;
  margin-block-start: 16px;
  width: 100%;
}

.btn-custom:hover {
  background: linear-gradient(to top, #12BB6A, #099250, #025B30);
}

.btn-primary strong,
.btn-secondary strong,
.btn-custom strong {
  font-weight: 700;
}

/***************************************************************************
*
* Toggle Button
*
****************************************************************************/
.navbar-toggle {
  display: flex;
  background-color: #FFFFFF;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  cursor: pointer;
  z-index: 9999;
  height: 52px;
  width: 52px;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 2px solid #C6D9FF;
  border-radius: 100%;
}
@media (min-width: 993px) {
  .navbar-toggle {
    display: none;
  }
}
.navbar-toggle .toggle-line {
  background-color: #0F53DB;
  box-sizing: border-box;
  position: absolute;
  height: 2px;
  width: 25px;
  transition: transform 0.3s ease;
}
.navbar-toggle .horizontal {
  box-sizing: border-box;
  position: relative;
  float: left;
  margin-top: 5px;
  border-radius: 1px;
  transition: opacity 0.3s ease;
}
.navbar-toggle .diagonal.part-1 {
  position: relative;
  box-sizing: border-box;
  float: left;
  border-radius: 3px 3px 0px 0px;
  transition: transform 0.3s ease;
}
.navbar-toggle .diagonal.part-2 {
  box-sizing: border-box;
  position: relative;
  float: left;
  margin-top: 5px;
  border-radius: 0px 0px 3px 3px;
  transition: transform 0.3s ease;
}
.navbar-toggle .toggle-line.is-active.horizontal {
  box-sizing: border-box;
  opacity: 0;
  margin-top: 0;
  transition: opacity 0.3s ease;
}
.navbar-toggle .toggle-line.is-active.diagonal.part-1 {
  box-sizing: border-box;
  transform: rotate(135deg);
  transition: transform 0.3s ease;
}
.navbar-toggle .toggle-line.is-active.diagonal.part-2 {
  box-sizing: border-box;
  transform: rotate(-135deg);
  margin-top: -4px;
  transition: transform 0.3s ease;
}
.navbar-toggle .toggle-line.is-active {
  border-radius: unset;
}

/***************************************************************************
*
* Tag Line
*
****************************************************************************/
.heading {
  padding-block-start: 16px;
}

@media (min-width: 993px) {
  .heading {
    padding-block: 60px 35px;
  }
}

.tagline {
	color:#0F53DB;
	text-align:center;
	font-size:32px;
	font-weight:bold;
  line-height: 40px;
  margin-block-end: 4px;
}

.tagline-descr {
  color: #6C737F;
  font-weight: 500;
  font-size: 16px;
  line-height: 26px;
  text-align:center;
}

@media (min-width: 993px) {
  .tagline {
    font-size:40px;
    line-height: 56px;
  }
}

/***************************************************************************
*
* Social icons
*
****************************************************************************/

#social span {
	display:block;
	position:absolute;
	left:650px;
}
#social .twitter { top:20px; }
#social .facebook { top:50px; }

/***************************************************************************
*
* Nav
*
****************************************************************************/

.header__nav {
  align-items: center;
  display: flex;
  justify-content: center;
  height: 100%;
}

.header__nav ul {
  display: flex;
  gap: 8px;
  flex-direction: column;
}

@media (min-width: 993px) {
  .header__nav ul {
    flex-direction: row;
  }
}

.header__nav a {
  display:block;
  font-size:16px;
  font-weight: 700;
  text-align:center;
  line-height:24px;
  border-radius: 100px;
  padding: 8px 16px;
}

.header__nav a.active {
  background-color: #E1EBFF;
}

.header__nav a:hover {
  background-color: #E1EBFF;
}

#nav a:hover {
	background:transparent url(./v2/assets/nav-button-on.png) no-repeat 0 0;
}

#nav li,
#nav a {
	float:left;
}

/***************************************************************************
*
* Password panel on home page
*
****************************************************************************/
.hero {
  align-items: center;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero__image {
  flex: 0 0 47.6%;
  padding-block-start: 100%;
  width: 100%;
}

.hero__image img {
  object-fit: contain;
}

.hero__content {
  background-color: white;
  border: 3px solid #C6D9FF;
  border-radius: 24px;
  flex: 0 0 43%;
  position: relative;
  padding: 16px;
  margin-block-start: -40%;
  z-index: 9;
}

@media (min-width: 993px) {
  .hero {
    flex-direction: row;
  }

  .hero__image {
    padding-block-start: 47.6%;
  }

  .hero__content {
    padding-block: 32px;
    padding-inline: 24px;
    margin-block-start: unset;
  }
}

.hero__tongue-svg {
  position: absolute;
  left: -49px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
}

@media (min-width: 993px) {
  .hero__tongue-svg {
    display: block;
  }
}

.password__label {
  color: #384250;
  font-size: 12px;
  margin-block-end: 8px;
}

@media (min-width: 993px) {
  .password__label {
    font-size: 14px;
  }
}

#password-panel {
	position:relative;
}

#password-panel-message {
	font-size:20px;
	font-weight:bold;
	text-align:center;
	overflow:hidden;
  line-height: 28px;
  min-height: 56px;
  margin-block-end: 16px;
  text-wrap: balance;
}

@media (min-width: 993px) {
  #password-panel-message {
    font-size:28px;
    line-height: 36px;
    margin-block-end: 24px;
    min-height: 72px;
  }
}

.password-input {
	color:#000;
	font-weight:700;
	font-size:36px;
	text-align:center;
  padding-block: 16px;
  width: 100%;
}

.password-input__wrapper {
  border-radius: 12px;
  border:2px solid #E2AB20;
}

.hero__btns-group {
  margin-block-start: 24px;
  display: flex;
  gap: 12px;
}

/***************************************************************************
*
* About Dino's passwords
*
****************************************************************************/


.about-passwords {
	padding-block: 60px;
  position: relative;
}

@media (min-width: 993px) {
  .about-passwords {
    padding-block: 120px;
  }
}

.about-passwords__wrapper {
  position: relative;
  z-index: 2;
}

.about-passwords__list,
.info__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info__list {
  position: relative;
  z-index: 99;
}

.about-passwords-item,
.info-item {
  background-color: white;
  border: 2px solid #C6D9FF;
  border-radius: 24px;
  padding-block: 24px;
  padding-inline: 16px;
}

@media (min-width: 993px) {
  .about-passwords-item,
  .info-item {
    padding-inline: 24px;
  }
}

.about-passwords-item__title,
.info-item__title {
  font-weight: 700;
  font-size: 20px;
  line-height: 26px;
  margin-block-end: 16px;
}

@media (min-width: 993px) {
  .about-passwords-item__title,
  .info-item__title {
    font-size: 24px;
    line-height: 32px
  }
}

@media (min-width: 993px) {
  .about-passwords-item__text,
  .info-item__text {
    max-width: 80%;
  }
}

.info-item ul {
  padding-inline-start: 20px;
  color: #4D5761;
}

.info-item ul li {
  list-style: circle;
}

.info-item a {
  color: #0F53DB;
  text-decoration: underline;
}

/***************************************************************************
*
* Main
*
****************************************************************************/


/***************************************************************************
*
* Content
*
****************************************************************************/

#main .content .error {
	color:red;
	background-color:yellow;
	padding:10px;
}

#main .content h3 {
	color:#4088a8;
	font-size:18px;
	font-weight:bold;
	margin:20px 0;
}

/***************************************************************************
*
* Footer
*
****************************************************************************/

.footer {
  display: flex;
  justify-content: center;
}

.footer a {
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
}

@media (min-width: 993px) {
  .footer a {
    font-size: 20px;
    line-height: 28px;
  }
}

/***************************************************************************
*
* Contact Form
*
****************************************************************************/

#contact-form li {
	margin-bottom:20px;
}

#contact-form label {
	display:block;
	font-weight:bold;
}

#contact-form input {
	width:400px;
	font-size:16px;
	padding:5px;
}

#contact-form textarea {
	width:800px;
	height:100px;
	font-size:16px;
	padding:5px;
}

/***************************************************************************
*
* Disclaimer
*
****************************************************************************/

.disclaimer {
  position: absolute;
  display: block;
  cursor: pointer;
  height: 16px;
  top: 6px;
  right: 6px;
}

.tooltip {
  box-shadow: 0px 12px 16px -4px #10182814;
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  max-width: 254px;
  width: max-content;
  background-color: white;
  color: #384250;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
  text-align: center;
}

.tooltip__triangle {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
}

.disclaimer:hover .tooltip {
  opacity: 1;
}

/***************************************************************************
*
* Advanced Settings
*
****************************************************************************/
.advanced-settings__opener {
  display: flex;
  justify-content: center;
  margin-block-start: 24px;
}

.advanced-settings__opener .disclaimer{
  position: relative;
  top: unset;
  right: unset;
}

.advanced-settings__btn {
  align-items: center;
  color: #0F53DB;
  display: flex;
  font-size: 14px;
  line-height: 100%;
  font-weight: 600;
}

.advanced-settings__btn svg {
  transform: rotate(180deg);
}

.advanced-settings__btn:hover {
  color: #130837;
}

.advanced-settings__btn:hover svg path{
  fill: #130837;
}

.advanced-settings {
  display: grid;
  grid-template-rows: 1fr;
  transition: all 0.3s ease-in-out;
}

.hero__content.hidden-settings .advanced-settings {
  grid-template-rows: 0fr;
}

.hero__content.hidden-settings .advanced-settings__btn svg {
  transform: rotate(0);
}

.advanced-settings .advanced-settings__inner {
  overflow: hidden;
}

.advanced-settings__group {
  padding-block: 16px;
}

.advanced-settings__label {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  line-height: 100%;
  font-weight: 600;
  color: #384250;
}

.advanced-settings__label span {
  font-size: 10px;
  color: #9DA4AE;
}

@media (min-width: 993px) {
  .advanced-settings__label {
    font-size: 14px;
  }
}

.advanced-settings__group {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.advanced-settings__group:first-child {
  margin-block-start: 20px;
  border-top: 1px solid #D7D7DB;
  border-bottom: 1px solid #D7D7DB;
}

.advanced-settings__group:not(:first-child) {
  border-bottom: 1px solid #D7D7DB;
}

.advanced-settings__range {
    flex: 0 0 50%;
    height: 2px;
    background-color: rgba(0, 0, 0, 0.43);
    border-radius: unset;
    outline: none;
}

.advanced-settings__range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}

.advanced-settings__number {
  padding: 6px;
  border: 1px solid #D7D7DB;
  border-radius: 12px;
  text-align: center;
  -webkit-appearance: none;
  -moz-appearance: textfield;
  flex: 0 0 60px;
  width: 100%;
}

.advanced-settings__toggle {
  align-items: center;
  color: #384250;
  display: flex;
  font-size: 12px;
  line-height: 100%;
  font-weight: 600;
  gap: 4px;
  cursor: pointer;
  user-select: none;
}

@media (min-width: 993px) {
  .advanced-settings__toggle {
    font-size: 14px;
    gap: 12px;
  }
}

.advanced-settings__toggle input {
  display: none;
}

.advanced-settings__toggle-slider {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 20px;
  background-color: #0000009E;
  border-radius: 20px;
  transition: background-color 0.2s;
}

.advanced-settings__toggle-slider:before {
  box-shadow: 0px 2px 8px 1px #00000012;
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: white;
  top: 2px;
  left: 2px;
  transition: transform 0.2s;
}

.advanced-settings__toggle input:checked + .advanced-settings__toggle-slider {
  background-color: #0570EB;
}

.advanced-settings__toggle input:checked + .advanced-settings__toggle-slider:before {
  transform: translateX(12px);
}

/***************************************************************************
*
* Pages
*
****************************************************************************/

.about-page {
  padding-block: 48px 68px;
}

.api-page {
  position: relative;
  padding-block-start: 16px;
  padding-block-end: 100px;
}

.api-page .heading {
  padding-block: 100px 24px;
}

@media (min-width: 993px) {
  .api-page {
    padding-block: 48px 68px;
  }

  .api-page .heading {
    padding-block-start: 16px;
  }

  .api-page .info__list {
    max-width: 55%;
    margin-inline: auto;
  }
}

.api-page .info-item__text {
  max-width: unset;
}

.api-page .back-link {
  display: inline-flex;
  align-items: center;
  color: #0F53DB;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
}

.mini-cloud,
.mini-gear {
  position: absolute;
  width: 40%;
}

.mini-cloud {
  left: -10%;
  bottom: 0;
}

.mini-gear {
  right: -20%;
  top: 0;
}

@media (min-width: 993px) {
  .mini-cloud,
  .mini-gear {
    top: 50%;
    transform: translateY(-50%);
    width: auto;
  }

  .mini-cloud {
    left: 0;
  }

  .mini-gear {
    right: 0;
    top: 45%;
  }
}

@media (min-width: 1680px) {
  .mini-cloud {
    left: -20%;
  }

  .mini-gear {
    right: -20%;
  }
}

.contact-page .hero {
  padding-block: 80px;
}

.contact-page .hero__tongue-svg {
  left: unset;
  right: -49px;
}

@media (min-width: 993px) {
  .contact-page .hero {
    flex-direction: row-reverse;
    padding-block: 80px;
  }

  .contact-page .hero .hero__image {
    flex: 0 0 54.6%;
    padding-block-start: 54.6%;;
  }

  .contact-page .hero .hero__image img {
    left: -8%;
    z-index: 13;
  }
}

.contact-page .hero .hero__title {
  font-weight: 800;
  font-size: 28px;
  line-height: 36px;
  margin-block-end: 16px;
}

.contact-page .hero__content p:not(:last-child){
  margin-block-end: 16px;
}

/***************************************************************************
*
* Navigation
*
****************************************************************************/

.password-display {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.password-display__content {
  display: flex;
  gap: 0.5rem;
}

.password-display__input {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  font-family: monospace;
  font-size: 1rem;
}

.password-display__copy {
  padding: 0.5rem 1rem;
  background-color: #2371C0;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.password-display__copy:hover {
  background-color: #1a5a9c;
}

.password-display__copy:disabled {
  background-color: #cbd5e0;
  cursor: not-allowed;
}