:root {
    --primary-color: #5f6caf;
    --secondary-color: #2f3d6b;
    --background-color: #f5f5f5;
    --font-family: 'Roboto', sans-serif;
  }
  
@media screen and (max-width: 768px) {
    .menu {
      flex-direction: column;
    }
  
    .pricing {
      grid-template-columns: 1fr;
      gap: 40px;
    }
  }
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(45deg, #6C63FF, #3A3A98);
    display: flex;
    justify-content: center;
    height: 100%;
    margin: 0;
    overflow: auto;
    flex-direction: column;
    align-items: center;
}

.container {
    border-radius: 10px;
    padding: 30px;
    max-width: 100vh;
    width: 100%;
    position: relative;
    margin-top: 5%;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #6C63FF;
    font-weight: 600;
}

.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px 30px;
    z-index: 1000;
}

.menu-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.menu a {
    color: #6C63FF;
    text-decoration: none;
    margin-right: 20px;
    font-weight: 500;
    transition: color 0.3s;
}

.menu a:hover {
    color: #3A3A98;
}

@media screen and (max-width: 768px) {
    .menu-container {
        flex-direction: column;
    }

    .menu a {
        margin-bottom: 10px;
    }
}

.section {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 14px 9px 13px 6px rgba(0, 0, 0, 0.1);
    min-height: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 50px 0;
    margin-bottom: 30px;
}

.section h2 {
    font-size: 36px;
    color: #6C63FF;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}
@media (max-width: 992px) {
    .section h2 {
        font-size: 30px;
        color: #6C63FF;
    }
}

.section p {
    font-size: 18px;
    color: #333;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.pricing {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

.pricing-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    width: 100%;
    margin: 20px;
}

.pricing-card h3 {
    font-size: 24px;
    color: #6C63FF;
    font-weight: 600;
    margin-bottom: 20px;
}

.pricing-card ul {
    list-style-type: none;
    padding: 0;
    margin-bottom: 30px;
}

.pricing-card li {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.pricing-card button {
    background-color: #6C63FF;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s, box-shadow 0.3s;
    border: none;
}

.pricing-card button:hover {
    background-color: #3A3A98;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}



.app_body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(45deg, #6C63FF, #3A3A98);
    display: grid;
    height: 100vh;
    margin: 0;
}

.app_container {
    background-color: rgb(232, 232, 232);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 100vh;
    width: 100%;
    display: grid;
    justify-content: center;
    justify-items: center;
    margin-top: 100px;
}
.gallery_container {
    background-color: rgb(232, 232, 232);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 100vh;
    width: 100%;
    margin-top: 100px;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #6C63FF;
    font-weight: 600;
}

.input-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-container {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0);
    z-index: 9999;
    display: none;
    cursor: crosshair;
    will-change: transform;
}

.preview-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
}

img {
    max-width: 100%;
    max-height: 400px;
    object-fit: cover;
}

input[type="file"] {
    display: none;
}


input[type="text"], input[type="email"], input[type="password"] {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #6c63ff;
    margin-bottom: 15px;
    font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="text"]:hover, input[type="email"]:hover, input[type="password"]:hover {
    border-color: #3A3A98;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus {
    border-color: #6C63FF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

label {
    color: rgb(0, 0, 0);
    font-size: 14px;
    transition: background-color 0.3s;
}

input[type="button"], button {
    background-color: #6C63FF;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s, box-shadow 0.3s;
    border: none;
}

input[type="button"]:hover, button:hover {
    background-color: #3A3A98;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
#cropModal {
    display:none; 
}
.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #6C63FF;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    display: none;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.tool-button {
    background-color: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    margin: 0 5px;
    padding: 5px;
    color: #6C63FF;
    transition: color 0.3s;
}

.tool-button:hover {
    color: #3A3A98;
}
#tool-container {
    display: flex;
    justify-content: center;
    align-items: center;
}
.fas.active,
.fas.active {
    background-color: #6C63FF;
    color: white;
    font-size: 30px;
}
.fas {
    font-size: 30px;
}

.credits {
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
    color: #333;
}

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 10px 20px;
    border-radius: 5px;
    margin-bottom: 15px;
}
.card {
    border-radius: 10px;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.3);
    width: 600px;
    height: 260px;
    background-color: #ffffff;
    padding: 10px 30px 40px;
  }
  
  .card h3 {
    font-size: 22px;
    font-weight: 600;
    
  }
  
  .drop_box {
    margin: 10px 0;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 3px dotted #a3a3a3;
    border-radius: 5px;
  }
  
  .drop_box h4 {
    font-size: 16px;
    font-weight: 400;
    color: #2e2e2e;
  }
  
  .drop_box p {
    margin-top: 10px;
    margin-bottom: 20px;
    font-size: 12px;
    color: #a3a3a3;
  }
  
  .btn {
    text-decoration: none;
    background-color: #005af0;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    outline: none;
    transition: 0.3s;
  }
  
  .btn:hover{
    text-decoration: none;
    background-color: #ffffff;
    color: #005af0;
    padding: 10px 20px;
    border: none;
    outline: 1px solid #010101;
  }
  .form input {
    margin: 10px 0;
    width: 100%;
    background-color: #e2e2e2;
    border: none;
    outline: none;
    padding: 12px 20px;
    border-radius: 4px;
  }

  .menu-button {
    display: none;
  }
  
  .menu.open {
    display: flex;
    flex-direction: column;
  }
  
  @media screen and (max-width: 768px) {
    .menu-button {
      display: block;
    }
  
    .menu-container {
      display: none;
    }
  
    .menu.open .menu-container {
      display: flex;
    }
  }

.video-player {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .video-player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .zoomed-video {
    transform: scale(2); /* Adjust the zoom level (1.2 means 120% of the original size) */
}

.image-wrapper {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 0 0;
}

.image-actions {
    display: flex;
    justify-content: space-around;
    margin-top: -6px;
    width: 100%;
}

.image-checkbox {
    cursor: pointer;
}

.public-image {
    color: #4CAF50 !important; /* Green color */
  }

.download-button,
.share-button,
.delete-button {
    cursor: pointer;
    color: #333;
    transition: color 0.3s;
    font-size: 14px;
    background-color: #f1f1f1;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
}

.download-button:hover,
.share-button:hover,
.delete-button:hover {
    color: #fff;
    background-color: #5bbad5;
}
.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.pack-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    width: 100%;
    margin: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.pack-card:hover {
    transform: translateY(-10px);
}

.pack-card h3 {
    font-size: 24px;
    color: #6C63FF;
    font-weight: 600;
    margin-bottom: 20px;
}

.pack-card p {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}
@media screen and (max-width: 768px) {
    .gallery_container {
        padding: 20px;
    }

    .image-gallery {
        gap: 5px;
    }

    .gallery-image {
        width: 100px;
        height: 100px;
    }
}
@media screen and (max-width: 768px) {
    .tool-container {
        flex-direction: column;
        align-items: center;
    }

    #brushSize,
    #eraserSize {
        margin: 5px 0;
    }
}
.success-message {
    background-color: #DFF2BF;
    color: #4F8A10;
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #4F8A10;
    border-radius: 5px;
  }