/*
Theme Name: Alice on the roof
Theme URI: https://idizbox.com
Author: iDizBox
Author URI: https://idizbox.com
Description: By iDizBox - 2025
Version: 1.00
Text Domain: idbxboostrap1
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');

:root {
    --color-bg1: #ff7aa8;
    --color-bg2: #ff4d6d;
    --color1: 255, 176, 189;
    --color2: 255, 103, 158;
    --color3: 255, 181, 214;
    --color4: 255, 97, 97;
    --color5: 255, 201, 140;
    --color-interactive: 255, 150, 200;
    --circle-size: 80%;
    --blending: soft-light;
    --white: #FFFFFF;
    --text: #4A4A4A;
    --color-1: #ff4d6d;
    --color-2: #ff4d6d;
    --color-bg: #ff4d6d;
}

html, body {
    padding: 0;
    margin: 0;
    width: 100%;
    min-height: 100vh;
    overflow-x: clip;
    overflow-y: visible !important;
}

body {
    background-color: var(--color-bg);
    color: var(--text);
    font-family: "Outfit", sans-serif;
    font-size: 18px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
    position: relative;
}

.mobile_only {
    display: none;
}

:focus {
    outline: 0!important;
}

a, a:visited, a:focus {
    text-decoration: none;
    cursor: pointer;
    -webkit-transition: all .2s ease-in;
    -moz-transition: all .2s ease-in;
    -o-transition: all .2s ease-in;
    transition: all .2s ease-in;
}

.mb_5 { margin-bottom: 5px; }
.mb_10 { margin-bottom: 10px; }
.mb_15 { margin-bottom: 15px; }
.mb_20 { margin-bottom: 20px; }
.mb_25 { margin-bottom: 25px; }
.mb_30 { margin-bottom: 30px; }
.mb_40 { margin-bottom: 40px; }
.mb_50 { margin-bottom: 50px; }
.mb_60 { margin-bottom: 60px; }
.mt_10 { margin-top: 10px; }
.mt_15 { margin-top: 15px; }
.mt_20 { margin-top: 20px; }
.mt_25 { margin-top: 25px; }
.mt_30 { margin-top: 30px; }
.mt_40 { margin-top: 40px; }
.mt_50 { margin-top: 50px; }
.mt_60 { margin-top: 60px; }

.pb_10 { padding-bottom: 10px; }
.pb_15 { padding-bottom: 15px; }
.pb_20 { padding-bottom: 20px; }
.pb_25 { padding-bottom: 25px; }
.pb_30 { padding-bottom: 30px; }
.pb_40 { padding-bottom: 40px; }
.pb_50 { padding-bottom: 50px; }
.pt_10 { padding-top: 10px; }
.pt_15 { padding-top: 15px; }
.pt_20 { padding-top: 20px; }
.pt_25 { padding-top: 25px; }
.pt_30 { padding-top: 30px; }
.pt_40 { padding-top: 40px; }
.pt_50 { padding-top: 50px; }

.pos_rel {
    position: relative;
}

h1, .h1 {
    font-size: 50px;
    color: #0A0A0A;
    font-weight: bold;
    line-height: normal;
    margin-bottom: 0;
}

h2, .h2 {
    font-size: 30px;
    font-weight: bold;
    line-height: normal;
    margin-bottom: 0;
}

.col_1, .color_1 {
    color: var(--color-1);
}

.col_2, .color_2 {
    color: var(--color-2);
}

.p_div p:last-of-type {
    margin-bottom: 0;
}

.btn, .btn:active, .btn:visited, .btn:focus {
    background-color: var(--color-1);
    color: #FFFFFF;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: bold;
    padding: 16px 30px;
    border-radius: 100px;
}

.btn:hover {
    background-color: #de3b58;
    color: #FFFFFF;
}

.btn_toast, .btn_toast:active, .btn_toast:visited, .btn_toast:focus {
    padding: 10px 20px;
}

.page_standard {
    min-height: 100vh;
}

.main_container {
    min-height: 100vh;
    user-select: none;
}

.social_icons {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 30px;
}

/************************************/
/************************************/
/*            BACKGROUND            */
/************************************/
/************************************/

@-webkit-keyframes moveInCircle {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes moveInCircle {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@-webkit-keyframes moveVertical {
  0% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(50%);
  }
  100% {
    transform: translateY(-50%);
  }
}
@keyframes moveVertical {
  0% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(50%);
  }
  100% {
    transform: translateY(-50%);
  }
}
@-webkit-keyframes moveHorizontal {
  0% {
    transform: translateX(-50%) translateY(-10%);
  }
  50% {
    transform: translateX(50%) translateY(10%);
  }
  100% {
    transform: translateX(-50%) translateY(-10%);
  }
}
@keyframes moveHorizontal {
  0% {
    transform: translateX(-50%) translateY(-10%);
  }
  50% {
    transform: translateX(50%) translateY(10%);
  }
  100% {
    transform: translateX(-50%) translateY(-10%);
  }
}

.gradient-bg {
    width: 100vw;
    height: 100vh;
    position: fixed;
    overflow: hidden;
    background: linear-gradient(40deg, var(--color-bg1), var(--color-bg2));
    top: 0;
    left: 0;
    z-index: -1;
}

.gradient-bg svg {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
}
.gradient-bg .gradients-container {
  filter: url(#goo) blur(40px);
  width: 100%;
  height: 100%;
}
.gradient-bg .g1 {
  position: absolute;
  background: radial-gradient(circle at center, rgba(var(--color1), 0.8) 0, rgba(var(--color1), 0) 50%) no-repeat;
  mix-blend-mode: var(--blending);
  width: var(--circle-size);
  height: var(--circle-size);
  top: calc(50% - var(--circle-size) / 2);
  left: calc(50% - var(--circle-size) / 2);
  transform-origin: center center;
  -webkit-animation: moveVertical 30s ease infinite;
          animation: moveVertical 30s ease infinite;
  opacity: 1;
}
.gradient-bg .g2 {
  position: absolute;
  background: radial-gradient(circle at center, rgba(var(--color2), 0.8) 0, rgba(var(--color2), 0) 50%) no-repeat;
  mix-blend-mode: var(--blending);
  width: var(--circle-size);
  height: var(--circle-size);
  top: calc(50% - var(--circle-size) / 2);
  left: calc(50% - var(--circle-size) / 2);
  transform-origin: calc(50% - 400px);
  animation: moveInCircle 20s reverse infinite;
  opacity: 1;
}
.gradient-bg .g3 {
  position: absolute;
  background: radial-gradient(circle at center, rgba(var(--color3), 0.8) 0, rgba(var(--color3), 0) 50%) no-repeat;
  mix-blend-mode: var(--blending);
  width: var(--circle-size);
  height: var(--circle-size);
  top: calc(50% - var(--circle-size) / 2 + 200px);
  left: calc(50% - var(--circle-size) / 2 - 500px);
  transform-origin: calc(50% + 400px);
  -webkit-animation: moveInCircle 40s linear infinite;
          animation: moveInCircle 40s linear infinite;
  opacity: 1;
}
.gradient-bg .g4 {
  position: absolute;
  background: radial-gradient(circle at center, rgba(var(--color4), 0.8) 0, rgba(var(--color4), 0) 50%) no-repeat;
  mix-blend-mode: var(--blending);
  width: var(--circle-size);
  height: var(--circle-size);
  top: calc(50% - var(--circle-size) / 2);
  left: calc(50% - var(--circle-size) / 2);
  transform-origin: calc(50% - 200px);
  -webkit-animation: moveHorizontal 40s ease infinite;
          animation: moveHorizontal 40s ease infinite;
  opacity: 0.7;
}
.gradient-bg .g5 {
  position: absolute;
  background: radial-gradient(circle at center, rgba(var(--color5), 0.8) 0, rgba(var(--color5), 0) 50%) no-repeat;
  mix-blend-mode: var(--blending);
  width: calc(var(--circle-size) * 2);
  height: calc(var(--circle-size) * 2);
  top: calc(50% - var(--circle-size));
  left: calc(50% - var(--circle-size));
  transform-origin: calc(50% - 800px) calc(50% + 200px);
  -webkit-animation: moveInCircle 20s ease infinite;
          animation: moveInCircle 20s ease infinite;
  opacity: 1;
}
.gradient-bg .interactive {
  position: absolute;
  background: radial-gradient(circle at center, rgba(var(--color-interactive), 0.8) 0, rgba(var(--color-interactive), 0) 50%) no-repeat;
  mix-blend-mode: var(--blending);
  width: 100%;
  height: 100%;
  top: -50%;
  left: -50%;
  opacity: 0.7;
}

.left_container {
    position: fixed;
    width: 50vw;
}

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

.logo_container img {
    max-height: 68vh;
    margin-bottom: 20vh;
}

.alice_container img {
    position: absolute;
    bottom: 0px;
    max-height: 33vh;
    left: 50%;
    transform: translate(-50%, 0px);
}

.right_container {
    width: 100%;
    height: 100%;
    background-color: rgb(255 255 255 / 80%);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.step_sub {
    color: var(--color-1);
    text-transform: uppercase;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step_sub span {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--color-1);
}

.draggable-items,
.matching-pairs {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 20px;
    flex-wrap: wrap;
}

.draggable-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    cursor: grab;
    transition: transform 0.2s ease, opacity 0.3s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.draggable-wrapper.dragging {
    opacity: 0.8;
    transform: scale(0.97);
    cursor: grabbing;
}

.draggable-wrapper.dragged {
    opacity: 0.3;
    cursor: default;
}

.droppable {
    width: 120px;
    height: 120px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    position: relative;
    transition: 0.3s;
}

.droppable-inner {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.droppable-img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.droppable-label {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 0 6px;
    text-align: center;
    color: #333;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    z-index: 1;
}

.is_dropped .droppable-label {
    align-items: end;
    margin-bottom: 5px;
    color: var(--color-1);
}

.droppable-hover {
    border-color: var(--color-1);
    background-color: #FFFFFF;
}

.droppable.locked {
    border: 2px solid var(--color-1);
}

.droppable.wrong {
    border-color: #000000 !important;
    background-color: #eeeeee;
}

#toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.toast-msg {
    background-color: #FFFFFF;
    border-radius: 8px;
    padding: 12px 18px;
    font-weight: 600;
    font-size: 16px;
    color: #333;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transform: translateX(120%);
    opacity: 0;
    max-width: 90vw;
    transition: all 0.3s ease;
/*    white-space: nowrap;*/
}

.toast-msg.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-msg.success {
    border-left: 6px solid #28a745;
    border: 0;
}

.toast-msg.error {
    border-left: 6px solid #dc3545;
    border: 0;
}

.toast-msg.info {
    border-left: 6px solid var(--color-1);
    border: 0;
}

.toast-btn {
    background-color: var(--color-1);
    color: #fff;
    border: none;
    padding: 6px 12px;
    margin-left: 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.toast-btn:hover {
    background-color: #e13c58;
}

.form-label {
    margin-bottom: 3px;
    color: #0A0A0A;
    font-weight: 600;
    font-size: 18px;
}

.input_bb {
    border: 2px solid #FFFFFF;
    color: var(--text);
    font-size: 16px;
    padding: 10px 8px;
    background-color: #FFFFFF;
}

.form-select.input_bb {
    padding-right: 35px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%23000000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/></svg>");
    box-shadow: none;
    border: 2px solid #FFFFFF;
}

.form_check_cont {
    display: flex;
    gap: 7px;
}

.form-check-input {
    background-color: #FFFFFF;
    border: 2px solid var(--text);
}

.form-check-input:checked {
    background-color: var(--text);
    border-color: var(--text);
}

.form-check-input:focus {
    box-shadow: none;
    border-color: #ff4d6d;
}

textarea.form-control {
    resize: none;
    height: 330px;
}

.form-control:focus {
    color: var(--text);
    border-color: var(--text);
    background-color: #FFFFFF;
    box-shadow: none;
}

.city-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.city-option {
    position: relative;
    display: inline-block;
    cursor: pointer;
    border: 2px solid #FFFFFF;
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 500;
    color: #0A0A0A;
    width: 100%;
    transition: all 0.25s ease;
    user-select: none;
}

.city-option input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: auto;
}

.city-option span { pointer-events: none; }

.city-option:hover {
    background: rgb(255 77 109 / 45%);
    color: #FFFFFF;
    border: 2px solid rgb(255 77 109 / 45%);
}

.city-option:has(input:checked) {
    background: var(--color-1);
    color: #FFFFFF;
    border-color: var(--color-1);
}

footer {
    position: fixed;
    font-size: 11px;
    bottom: 5px;
    left: 5px;
    opacity: 0.5;
}

.touch-clone {
    transition: none !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.draggable-wrapper {
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.droppable {
    touch-action: none;
}

body.dragging {
    overflow: hidden;
}

/************************************/
/************************************/
/*          MEDIA QUERIES           */
/************************************/
/************************************/



@media (max-width: 992px) {
    
    h1, .h1 {
        font-size: 40px;
    }
    
    footer {
        position: absolute;
        font-size: 11px;
        bottom: 5px;
        left: 5px;
        opacity: 0.5;
        right: 5px;
        text-align: center;
    }
    
    .left_container {
        position: relative;
        width: 100%;
    }
    
    .logo_container {
        height: 340px;
    }
    
    .logo_container img {
        max-height: 200px;
        margin-bottom: 80px;
    }
    
    .alice_container img {
        max-height: 125px;
    }
    
    .right_container {
        padding: 30px 15px 60px 15px;
        min-height: auto;
    }
    
    .social_icons {
        justify-content: center;
    }
    
    .draggable-items, .matching-pairs {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .city-options {
        display: block;
    }
    
}

@media (max-width: 440px) {
    
    .draggable-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .droppable {
        width: 100px;
        height: 100px;
    }
    
}