body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: white;
    background-image: url("./img/app.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.burger-menu{
    display: none;
}

.burger-pic{
    height: 60px;
    cursor: pointer;
}

#atf {
    height: 100vh;
    width: 100vw;
    background-image: linear-gradient(142deg, rgba(85, 15, 181, 0.9), rgba(3, 227, 192, 0.9));
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 120px;
    color: black !important;
    background-color: white;
    padding: 0px 50px 0px 50px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

.primary-btn {
    all: unset;
    height: 40px;
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    color: black;
    background-color: #CD9AFF;
}

.primary-btn:hover {
    filter: brightness(1.1);
    cursor: pointer;
}

.secondary-btn {
    all: unset;
    height: 40px;
    min-width: 100px;
    max-width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    color: black;
    background-color: #02fcd0;
}

.secondary-btn:hover {
    filter: brightness(1.1);
    cursor: pointer;
}

.ideas {
    display: flex;
    gap: 50px;
}

.single-idea {
    cursor: pointer;
}

.single-idea:hover{
    text-decoration: underline;
}

#content {
    display: flex;
    height: calc(100vh - 180px) !important;
    padding: 0px 50px 0px 50px;
    gap: 50px;
}

.arrow {
    height: 12px;
}

footer {
    height: 60px;
    background-color: #1f0d33;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
}

.left-content {
    position: relative;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
}

h3 {
    font-weight: bold;
    font-size: 60px;
    margin: 0;
}

.info {
    font-size: 16px;
    font-weight: 300;
}

.right-content {
    position: relative;
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
}

.right-container {
    height: 80%;
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    perspective: 1000px;
}

.img-container {
    width: 90%;
    height: 90%;
    margin: 0;
    padding: 0;
    border-radius: 15px;
    display: flex;
    align-items: end;
    justify-content: center;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
    background-color: rgba(255, 255, 255, 0.8);
}

.profile-pic {
    position: absolute;
    width: 100%;
    height: auto;
    border-radius: 15px;
    backface-visibility: hidden;
}

.back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    backface-visibility: hidden;
    transform: rotateY(180deg);
}

.back-text {
    font-size: 16px;
    color: #333;
    text-align: center;
    padding: 20px;
}

.img-container.rotated {
    transform: rotateY(180deg);
}

#dialog-container {
    position: absolute;
    top: 120px;
    bottom: 60px;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.4);
    z-index: 10;
    display: flex;
    justify-content: center;
    animation: fadeIn 0.5s; 
}

.hidden {
    animation: fadeOut 0.5s forwards !important;
    pointer-events: none;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }

@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

#dialog{
    display: flex;
    justify-content: center;
    align-items: center;
}

.bubble::-webkit-scrollbar {
    width: var(--sb-size);
  }
  
  .bubble::-webkit-scrollbar-track {
    background: var(--sb-track-color);
    border-radius: 3px;
  }
  
  .bubble::-webkit-scrollbar-thumb {
    background: var(--sb-thumb-color);
    border-radius: 3px;
  }
  
  @supports not selector(::-webkit-scrollbar) {
    .bubble {
        scrollbar-color: var(--sb-thumb-color)
                       var(--sb-track-color);
    }
  }

.bubble {
    background-color: white;
    color: black;
    margin-top: 12px;
    max-width: 50%; 
    height:fit-content;
    max-height: 80% !important;
    border-radius: 15px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: 24px;
    overflow-y: auto;
    overflow-x: hidden;

    --sb-track-color: #dcdcdc;
    --sb-thumb-color: #02fcd0;
    --sb-size: 6px;
}

.idea-image{
    border-radius: 15px;
    height: 180px;
    object-fit:contain;
}

.image-container{
    width: 80%;
    height: auto;
    display: flex;
    justify-content: center;
}

.d-none{
    display: none !important;
}

.footer-link:hover{
    cursor: pointer;
    text-decoration: underline;
}

form{
    width: 45vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

textarea{
    all: unset;
    resize: none;
    border: solid 1px lightgrey;
    border-radius: 15px;
    width: 50%;
    padding-left: 24px;
    height: 140px !important;
    margin-bottom: 12px;
}

input{
    all: unset;
    border: solid 1px lightgrey;
    border-radius: 15px;
    padding-left: 24px;
    margin-bottom: 12px;
    width: 50%;
}

.phone{
    background-color: #02fcd0;
    height: 50px;
    width: 200px;
    gap: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    text-decoration: none;
    color: black;
}

.phone:hover {
    filter: brightness(1.1);
    cursor: pointer;
}

.phone-pic{
    height:20px;
}

#logo{
    height: 100px;
}

#reference-button{
    display: none;
}

.resp-menu{
    display: none;
    position: absolute;
    top: 80px;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 12px 12px 12px 12px;
    border-bottom-right-radius: 15px ;
    border-bottom-left-radius: 15px;
    z-index: 20;
}

.resp-show{
    animation: slideIn 0.5s; 
}

.resp-hide{
    animation: slideOut 0.5s; 
}

@keyframes slideIn {
    0% { 
        transform: translateX(-100%);
        opacity: 0;
    }
    100% { 
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    0% { 
        transform: translateX(0);
        opacity: 1;
    }
    100% { 
        transform: translateX(-100%);
        opacity: 0;
    }
}

@media(max-width: 1240px){
    h3{
        font-size: 40px;
        margin-top: -50px;
    }

    .info{
        /* display: none; */
    }

    #content {
        flex-direction: column-reverse;
        align-items: center;
        height: calc(100vh - 180px) !important;
        padding: 0px 50px 0px 50px;
        gap: 100px;
    }

    .right-content {
        position: relative;
        width: 45%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: 0;
    }
    
    .right-container {
        height: 80%;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: rgba(255, 255, 255, 0.3);
        border-radius: 15px;
        perspective: 1000px;
    }
    
    .img-container {
        width: 80%;
        height: 300px;
        margin: 0;
        padding: 0;
        border-radius: 15px;
        display: flex;
        align-items: end;
        justify-content: center;
        transform-style: preserve-3d;
        transition: transform 0.6s ease;
        background-color: rgba(255, 255, 255, 0.8);
    }
    
    .profile-pic {
        position: absolute;
        width: 100%;
        height: auto;
        border-radius: 15px;
        backface-visibility: hidden;
    }
    
    .back {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.8);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 15px;
        backface-visibility: hidden;
        transform: rotateY(180deg);
    }
    
    .back-text {
        font-size: 14px;
        color: #333;
        text-align: center;
        padding: 20px;
    }


    .left-content {
        position: relative;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-bottom: 20px;
    }

}

@media(max-width: 1000px){

    textarea{
        all: unset;
        resize: none;
        border: solid 1px lightgrey;
        border-radius: 15px;
        width: 80%;
        padding-left: 24px;
        height: 140px !important;
        margin-bottom: 12px;
    }
    
    input{
        all: unset;
        border: solid 1px lightgrey;
        border-radius: 15px;
        padding-left: 24px;
        margin-bottom: 12px;
        width: 80%;
    }

    .bubble {
        background-color: white;
        color: black;
        margin-top: 12px;
        max-width: 80%; 
        height:fit-content;
        max-height: 80% !important;
        border-radius: 15px;
        padding: 15px;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        gap: 24px;
        overflow-y: auto;
        overflow-x: hidden;
    }

    #content {
        display: flex;
        height: calc(100vh - 140px) !important;
        padding: 0px 50px 0px 50px;
        gap: 50px;
    }

    .right-content {
        position: relative;
        width: 45%;
        margin-bottom: 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .img-container {
        width: 100%;
        height: 300px;
        margin: 0;
        padding: 0;
        border-radius: 15px;
        display: flex;
        align-items: end;
        justify-content: center;
        transform-style: preserve-3d;
        transition: transform 0.6s ease;
        background-color: rgba(255, 255, 255, 0.8);
    }

    header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 80px;
        color: black !important;
        background-color: white;
        padding: 0px 50px 0px 50px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    }

    #dialog-container {
        position: absolute;
        top: 80px;
        bottom: 60px;
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.4);
        z-index: 10;
        display: flex;
        justify-content: center;
        animation: fadeIn 0.5s; 
    }

    #logo{
        height: 80px;
    }
}

@media(max-width: 800px){

    .resp-menu{
        display: block;
    }

    .burger-menu{
        display: block;
    }

    #logo{
        height: 70px;
    }
    
    .right-content {
        position: relative;
        width: 60% !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .img-container {
        width: 100%;
        height: 300px;
        margin: 0;
        padding: 0;
        border-radius: 15px;
        display: flex;
        align-items: end;
        justify-content: center;
        transform-style: preserve-3d;
        transition: transform 0.6s ease;
        background-color: rgba(255, 255, 255, 0.8);
    }

    .ideas{
        display: none;
    }

    #content {
        display: flex;
        height: calc(100vh - 140px) !important;
        padding: 0px 10px 0px 10px;
        gap: 50px;
    }
    header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 80px;
        color: black !important;
        background-color: white;
        padding: 0px 20px 0px 20px;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    }
}

@media(max-width: 700px){

    .bubble {
        background-color: white;
        color: black;
        margin-top: 12px;
        max-width: 90%; 
        height:fit-content;
        max-height: 90% !important;
        border-radius: 15px;
        padding: 15px;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        gap: 24px;
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    .right-content {
        position: relative;
        width: 70% !important;
        display: flex;
        flex-direction: column;
        margin-bottom: 30px;
        justify-content: center;
    }

    .img-container {
        width: 100%;
        height: 300px;
        margin: 0;
        padding: 0;
        border-radius: 15px;
        display: flex;
        align-items: end;
        justify-content: center;
        transform-style: preserve-3d;
        transition: transform 0.6s ease;
        background-color: rgba(255, 255, 255, 0.8);
    }
}


@media(max-width: 460px){

    textarea{
        all: unset;
        resize: none;
        border: solid 1px lightgrey;
        border-radius: 15px;
        width: 100%;
        padding-left: 24px;
        height: 140px !important;
        margin-bottom: 12px;
    }
    
    input{
        all: unset;
        border: solid 1px lightgrey;
        border-radius: 15px;
        padding-left: 24px;
        margin-bottom: 12px;
        width: 100%;
    }

    .bubble {
        font-size: 14px;
        word-break: break-all;
        background-color: white;
        color: black;
        margin-top: 12px;
        max-width: 100%; 
        height:fit-content;
        max-height: 90% !important;
        border-radius: 15px;
        padding: 15px;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        gap: 24px;
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    .right-content {
        position: relative;
        width: 90% !important;
        display: flex;
        flex-direction: column;
        margin-bottom: 30px;
        justify-content: center;
    }

    .img-container {
        width: 100%;
        height: 300px;
        margin: 0;
        padding: 0;
        border-radius: 15px;
        display: flex;
        align-items: end;
        justify-content: center;
        transform-style: preserve-3d;
        transition: transform 0.6s ease;
        background-color: rgba(255, 255, 255, 0.8);
    }

    h3{
        font-size: 30px;
    }

    .back-text {
        font-size: 12px;
        color: #333;
        text-align: center;
        padding: 20px;
    }
}

@media(max-height: 800px){
    
    #content {
        display: flex;
        height: calc(140vh - 140px) !important;
        padding: 0px 50px 0px 50px;
        gap: 50px;
    }

    #atf {
        height: 140vh;
        width: 100vw;
        background-image: linear-gradient(142deg, rgba(85, 15, 181, 0.9), rgba(3, 227, 192, 0.9));
    }

    #dialog-container {
        position: fixed;
        top: 0px;
        bottom: 0px;
        left: 0;
        right: 0;
        background-color: rgba(255, 255, 255, 0.4);
        z-index: 10;
        display: flex;
        justify-content: center;
        animation: fadeIn 0.5s; 
    }
}

@media (max-width: 1000px) and (orientation: landscape) {

    #content {
        flex-direction: row;
        align-items: center;
        padding: 20px 10px 0px 10px;
        gap: 8px;
    }
    .right-content {
        position: relative;
        width: 100% !important;
        display: flex;
        flex-direction: column;
        margin-bottom: 10px;
        justify-content: center;
    }

    .img-container {
        width: 100%;
        height: 300px;
        margin: 0;
        padding: 0;
        border-radius: 15px;
        display: flex;
        align-items: end;
        justify-content: center;
        transform-style: preserve-3d;
        transition: transform 0.6s ease;
        background-color: rgba(255, 255, 255, 0.8);
    }


    h3{
        font-size: 30px;
  }


}