@font-face {
    font-family: 'RadioCanada';
    src: url('fonts/RadioCanada-Regular.ttf') format('truetype');
    font-weight: 400;
}
@font-face {
    font-family: 'RadioCanada';
    src: url('fonts/RadioCanada-Bold.ttf') format('truetype');
    font-weight: 700;
}

body {
    background-color: #e6e6e6;
    margin: 0;
    font-family: 'RadioCanada', sans-serif;
    overscroll-behavior-y: none;
}

header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 20px;
    position: relative;
    min-height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    margin-top: 5px;
    margin-left: 20px;
    margin-right: auto;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo-link:hover {
    text-decoration: none;
}

.logo img {
    max-height: 40px;
    margin-right: 10px;
}

.logo span {
    font-family: 'RadioCanada', sans-serif;
    font-size: 33px;
    font-weight: 700;
    color: #181818;
}

.header-youtube-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    margin-right: 175px;
}

.youtube-icon {
    width: 24px;
    height: 24px;
}

.header-instagram-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    margin-right: 20px;
}

.instagram-icon {
    width: 18px;
    height: 18px;
}

.dropdown-menu .instagram-icon {
    width: 16px;
    height: 16px;
}

.header-twitter-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    margin-right: 20px;
}

.header-twitter-icon img {
    width: 16px;
    height: 16px;
}

.download-button {
    background-color: #a99fec;
    color: #181818;
    border: none;
    border-radius: 30px;
    padding: 15px 25px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    right: 30px;
    margin-top: 6px;
    top: 50%;
    transform: translateY(-50%);
    text-decoration: none;
}

.download-button:hover {
    background-color: #cec9e9;
}

.header-social-icon {
    display: none;
}

.header-social-icon:hover {
    background-color: #cec9e9;
}

.header-social-icon img {
    display: none;
}

.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    justify-content: center;
}

.subReference-text {
    font-family: 'RadioCanada', sans-serif;
    font-size: 20px;
    word-spacing: 2px;
    font-weight: 400;
    color: #222222;
    margin: 0;
    margin-top: 80px;
    margin-bottom: 20px;
}

.subReference-text .short-text {
    display: none;
}

.reference-text {
    font-family: 'RadioCanada', sans-serif;
    font-size: 124px;
    word-spacing: 10px;
    font-weight: 400;
    color: #181818;
    margin: 0;
    margin-bottom: 60px;
}

.center-button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.chrome-button {
    display: flex;
    align-items: center;
    background-color: #a99fec;
    color: #181818;
    border: none;
    border-radius: 50px;
    padding: 12px 30px 12px 12px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
    text-decoration: none;
    position: relative;
    transition: background-color 0.3s ease;
}

.chrome-button::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: conic-gradient(from var(--angle), 
        transparent 50%, 
        rgba(255,255,255,1) 75%,
        transparent 100%
    );
    border-radius: 50px;
    z-index: -1;
}

@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

@keyframes rotateBorder {
    0% {
        --angle: 0deg;
    }
    100% {
        --angle: 360deg;
    }
}

.chrome-button::before {
    animation: rotateBorder 3s linear infinite;
}

.chrome-button img {
    max-height: 60px;
    margin-right: 15px;
}

.small-text {
    font-size: 16px;
    color: #666666;
    margin-top: 10px;
    margin-bottom: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid #666666;
    color: #666666;
    font-size: 14px;
    margin-left: 6px;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
}

.info-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 130%;
    left: 86%;
    transform: translateX(-86%);
    background-color: #cec9e9;
    color: #181818;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
    white-space: normal;
    width: 300px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 10;
    pointer-events: none;
    text-align: left;
}

.info-icon:hover::after {
    opacity: 1;
    visibility: visible;
}

/*app-showcase*/

.app-showcase {
  height: 1900vh;
  position: relative;
}

.app-container {
  position: sticky;
  width: 360px;
  height: 629px;
  margin: 0 auto;
  margin-bottom: 170px;
}

.app-base, .app-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.app-layer {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.large-layer-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 1008px;
  height: 630px;
  opacity: 0;
  transition: opacity 0.3s ease;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
}

.large-layer {
  width: 100%;
  height: 100%;
  opacity: 1;
  object-fit: contain;
}

.large-layer-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 60px;
  text-align: center;
  width: 80%;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  z-index: 2;
}

.subReference-text-2 {
    font-family: 'RadioCanada', sans-serif;
    font-size: 20px;
    word-spacing: 2px;
    font-weight: 400;
    color: #222222;
    margin: 0;
    margin-top: 80px;
    margin-bottom: 20px;
}

/*notes*/

.note-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: calc(100% - 60px);
    margin-top: 140px;
    margin-bottom: 120px;
}

.note {
    width: 450px;
    height: 450px;
    color: #222222;
    font-family: 'RadioCanada', sans-serif;
    font-size: 16px;
    font-weight: 400;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.note-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
    gap: 10px;
    align-items: center;
}

/* colors for each note */
.note-1 {
    background-color: #fdf7a5;
}

.note-2 {
    background-color: #c5e7b7;
}

.note-3 {
    background-color: #cec9e9;
}

.note-title {
    font-size: 20px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 35px;
}

/*note 1*/

.note-text {
    font-size: 16px;
    text-align: center;
}

.note-text-large {
    font-size: 30px;
    font-weight: 500;
    line-height: 1.4;
}

.free-trial-button {
    background-color: #a99fec;
    color: #181818;
    border: none;
    border-radius: 30px;
    padding: 15px 25px 15px 25px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    max-width: 200px;
    margin-top: 25px;
    margin-bottom:24px;
    width: auto;
    white-space: nowrap;
    align-self: center;
    text-decoration: none;
}

.free-trial-button:hover {
    background-color: #cec9e9;
}

/*note 2*/

.note-text-price-small {
    font-size: 16px;
    text-decoration: line-through;
    color: #666666;
    line-height: 1;
    margin-top: 0;
    margin-bottom: 0;
}

.note-text-price-large {
    display: inline-block;
    font-size: 40px;
    font-weight: 500;
    padding: 5px;
    margin-bottom: 16px;
    background-color: #FF6B6B;
    border-radius: 5px;
}

.note-text-price-large .note-text {
    font-size: 16px; /* Same size as note-text */
    vertical-align: baseline;
}

.price-save-container {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    margin-top: 5px;
    margin-bottom: 0;
}

.note-save {
    font-size: 18px;
    background-color: #FF6B6B;
    color: white;
    padding: 4px 8px 4px; /* Adjusted padding */
    border-radius: 15px;
    line-height: 1;
}

.checkmark-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 150px;
    align-self: flex-start;
    width: 100%;
}

.checkmark-note-text {
    display: flex;
    align-items: center;
    font-size: 20px;
    position: relative;
}

.checkmark-note-text:not(:last-child) {
    margin-bottom: 15px;
}

.checkmark-note-text:last-child {
    margin-bottom: 11px;
}

.checkmark-note-text::before {
    content: '\2713';
    color: #4CAF50;
    font-weight: bold;
    position: absolute;
    left: -30px;
    width: 20px;
    text-align: center;
}

/*note 3*/

.note-3 .note-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.note-3 .note-title {
    text-align: center; /* Center the title */
    width: 100%; /* Ensure full width for centering */
}

.faq-questions {
    width: 100%;
    padding: 0 5px;
    margin-left: 80px;
    margin-top: 4px;
    box-sizing: border-box;
}

.faq-question {
    text-align: left;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #a99fec;
}

.faq-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cec9e9;
    display: none;
    flex-direction: column;
    padding: 20px;
    border-radius: 10px;
}

.overlay-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center; /* Center content in overlay */
    text-align: center; /* Center text in overlay */
}

.overlay-title {
    font-size: 18px;
    margin-top: 5px;
    margin-bottom: 35px;
}

.overlay-answer {
    font-size: 16px;
    flex-grow: 1;
    overflow-y: auto;
    margin-bottom: 15px;
    text-align: left;
    width: 80%;
    line-height: 1.8;
}

.close-overlay {
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease;
    margin-bottom: 34px;
}

.close-overlay:hover {
    color: #a99fec;
}

.overlay-answer a {
    color: #181818;
    text-decoration: none;
    font-weight: 500;
}

.overlay-answer a:hover {
    color: #a99fec;
}

.chrome-button-bottom {
    margin-top: 20px;
    margin-bottom: 5px;
}

.small-text-2 {
    font-size: 16px;
    color: #666666;
    margin-top: 10px;
    margin-bottom: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*info*/

.info-container {
    position: relative;
}

.info-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2a2a2a;
    color: white;
    height: 60px;
    width: 100%;
    padding: 20px 0;
    margin-top: 40px;
    box-sizing: border-box;
}

.info-bar p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

.info-bar-section {
    display: flex;
    align-items: center;
}

.info-bar-left {
    justify-content: flex-start;
    width: 40%;
}

.info-bar-center {
    justify-content: center;
    width: 20%;
}

.info-bar-right {
    justify-content: flex-end;
    width: 40%;
}

.made-in-switzerland {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.switzerland-icon {
    width: 15px;
    height: 15px;
    margin-right: 10px;
}

.made-in-switzerland span {
    font-size: 16px;
}

.info-menu {
    font-family: Georgia, serif;
    font-weight: bold;
    font-style: italic;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.info-menu:hover {
    color: #a99fec;
}

.info-bar-right p {
    margin-right: 20px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: #2a2a2a;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
}

.dropdown-menu .info-link,
.dropdown-menu .social-icon {
    text-decoration: none;
    font-size: 16px;
    display: inline-block;
    margin: 0px 25px 0px 0px;
    color: white;
}

.dropdown-menu .social-icon {
    margin-left: 20px;
}

.dropdown-menu .info-link:hover {
    text-decoration: none;
    color: #a99fec;
    cursor: pointer;
}

.dropdown-menu .social-icon {
    float: right;
    margin-right: 0;
}

.dropdown-menu::after {
    content: "";
    display: table;
    clear: both;
}

.twitter-icon {
    width: 16px;
    height: 16px;
}

.info-overlay {
    display: none;
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    background-color: #cec9e9;
    color: #181818;
    padding: 20px;
    box-sizing: border-box;
    max-height: 120px;
    overflow-y: auto;
}

.info-overlay a {
    color: #181818;
}

.info-overlay a:hover {
    text-decoration: underline;
}

.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Responsive */

@media screen and (max-width: 1024px) {
    .subReference-text {
        font-size: 18px;
        margin-top: 120px;
    }
    .reference-text {
        font-size: 90px;
        margin-bottom: 80px;
    }
    .small-text {
    margin-bottom: 80px;
    }
    .large-layer-container {
      width: 864px;
      height: 540px;
    }
    .subReference-text-2 {
        font-size: 18px;
        margin-top: 50px;
    }
    .note-container {
    gap: 80px;
    margin-top: 160px;
    margin-bottom: 80px;
    }
    .chrome-button-bottom {
    margin-top: 0px;
    }
    .small-text-2 {
    margin-bottom: 170px;
    }
    .made-in-switzerland img {
        margin-right: 8px;
    }
}

@media screen and (max-width: 890px) {
    .large-layer-container {
          width: 756px;
          height: 473px;
        }
    .subReference-text-2 {
            margin-top: 10px;
        }
    }

@media screen and (max-width: 768px) {
    .logo {
    margin-top: 0px;
    margin-left: 0px;
    }
    .download-button {
    margin-top: 6px;
    margin-right: 0px;
    }
    .subReference-text {
        font-size: 16px;
    }
    .reference-text {
        font-size: 70px;
        margin-bottom: 50px;
    }
    .chrome-button img {
        max-height: 55px;
    }
    .small-text {
    margin-bottom: 170px;
    }
    .app-container {
      margin-bottom: 100px;
    }
    .large-layer-container {
      width: 593px;
      height: 371px;
    }
    .large-layer-text {
      font-size: 50px;
    }
    .subReference-text-2 {
        font-size: 16px;
        margin-top: 0px;
    }
    .note-container {
    width: 100%;
    gap: 45px;
    margin-top: 160px;
    margin-bottom: 150px;
    }
    .note {
    width: 400px;
    height: 400px;   
    }
    .note-title {
    margin-bottom: 12px;
    }
    .checkmark-container {
    padding-left: 125px;
    }
    .faq-questions {
    margin-left: 55px;
    }
    .overlay-title {
    font-size: 16px;
    margin-bottom: 25px;
    }
    .close-overlay {
    margin-bottom: 20px;
    }
    .chrome-button-bottom {
    margin-top: 0px;
    }
    .small-text-2 {
    margin-bottom: 170px;
    }
}

@media screen and (max-width: 600px) {
    .subReference-text {
        font-size: 13px;
    }
    .reference-text {
        font-size: 53px;
    }
    .large-layer-container {
      width: 480px;
      height: 300px;
    }
    .large-layer-text {
      font-size: 40px;
    }
    .subReference-text-2 {
        font-size: 13px;
        margin-top: 0px;
    }
    .note-container {
        margin-top: 170px;
        margin-bottom: 150px;
    }
    .dropdown-menu .info-link,
    .dropdown-menu .social-icon {
        font-size: 14px;
    }
    .made-in-switzerland span {
        font-size: 14px;
    }
    .info-bar p {
        font-size: 14px;
    }
}

@media screen and (max-width: 479px) {
    .logo span {
        font-size: 30px;
    }
    .header-twitter-icon,
    .header-instagram-icon,
    .header-youtube-icon,
    .download-button {
        display: none;
    }
    .header-social-icon {
        margin-right: 20px;
        display: flex;
        background-color: #a99fec;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        justify-content: center;
        align-items: center;
        transition: background-color 0.3s ease;
    }
    .header-social-icon:last-child {
        margin-right: 5px;
    }
    .header-social-icon img { 
        display: inline;
        width: 24px;
        height: auto;
    }
    .subReference-text {
        margin-top: 120px;
        font-size: 13px;
    }
    .subReference-text .full-text {
        display: none;
    }
    .subReference-text .short-text {
        display: inline;
    }
    .reference-text {
        font-size: 40px;
    }
    .chrome-button {
        font-size: 18px;
    }
    .chrome-button img {
        max-height: 45px;
    }
    .small-text {
        margin-bottom: 80px;
    }
    .info-icon::after {
        left: 87%;
        transform: translateX(-87%);
    }
    .hide-on-small {
        display: none;
    }
    .app-showcase {
        height: 900vh;
    }
    .app-container {
        margin-bottom: 180px;
    }
    .note-container {
        width: 100%;
        gap: 80px;
        margin-top: 130px;
        margin-bottom: 10px;
    }
    .note-content {
        padding: 10px;
    }
    .note {
        width: 360px;
        height: 360px;   
        }
    .note-title {
        margin-bottom: 10px;
    }
    .note-text-large {
        font-size: 24px;
        line-height: 1.4;
    }
    .free-trial-button {
        font-size: 18px;
    }
    .note-text-price-large {
        margin-top: 8px;
    }
    .checkmark-container {
        padding-left: 105px;
    }
    .checkmark-note-text {
        font-size: 20px;
        line-height: 0.9;
    }
    .faq-questions {
        margin-top: 0px;
        margin-left: 22px;
        line-height: 1.08;
    }
    .overlay-title {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .overlay-answer {
        width: 95%;
        line-height: 1.7;
        margin-bottom: 10px;
    }
    .close-overlay {
        margin-bottom: 10px;
    }
    .small-text-2 {
        margin-bottom: 120px;
    }
    .dropdown-menu .info-link {
        font-size: 14px;
        margin: 0px 18px 0px 0;
    }
    .dropdown-menu .social-icon {
        display: none;
    }
    .made-in-switzerland span {
        font-size: 10px;
    }
    .info-bar p {
        font-size: 12px;
    }
    .info-overlay {
        font-size: 14px;
    }
    .info-overlay a {
        line-height: 1.1;
    }
}
