﻿/* ---------------------- */
/* ---      BODY      --- */
/* ---------------------- */
body {
    font-size: 20px;
}

p {
    font-size: 18px;
}

h4 {
    font-size: 26px;
}

.form-control {
    font-size: 1.2rem;
}

label, .form-label {
    font-size: 1.1rem;
}

.form-check-label {
    font-size: 1rem;
}

.text-sm {
    font-size: 1rem !important;
}

.material-icons.text-md {
    font-size: 18px !important;
}

/* ------------------------ */
/* ---      TABLES      --- */
/* ------------------------ */

.table {
    color: #3b3f44;
    font-family: arial,helvetica,sans-serif;
    font-size: 16px;
    line-height: 1.5;
    padding-bottom: 15px;
    padding-top: 15px;
    text-align: left;
    width: 100%;
    border-collapse: collapse;
    --bs-table-striped-color: #D3D3D3;
}

.table tbody tr {
  height: 30px;
  }

.table tbody tr td {
  border-width: 0;
}
th, td {
    /*padding: 8px;*/
    text-align: left;
    border-bottom: 1px solid #ddd;
    padding: 0rem 1.5rem;
}
.hidden-col {
    display: table-cell; /* Hide the column by default */
}
@media (max-width: 800px) {
    .hidden-col {
        display: none; /* Display the column on small screens */
    }
}

.table-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
  }

.table-container li {
  height: 32px; /* Set the desired height */
}


/* ------------------------ */
/* ---      FRAMES      --- */
/* ------------------------ */

.subscription-frame {
  position: fixed;   /*  */
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  width: 500px;
  border-radius: 10px;
}

.subscription-frame.hidden {
  display: none;
}

.newsearch-frame {
  /* width: 500px; */
  z-index: 9999;
}

.newsearch-frame.table tr {
  height: 100px;
}

.full-width {
  width: 100%;
}

.image-ribbon-container {
  position: relative;
  display: inline-block;
}

.fixed-width-container {
  width: 1000px;
  max-width: 1000px;
  margin: 0 auto;
}


/* ------------------------- */
/* ---      BUTTONS      --- */
/* ------------------------- */

.btn.btn-launch,
.btn.btn-light{
  border-radius: 10px;
  font-size: 16px;
}

.btn-rotator{
    position:relative;
    bottom:0;
    text-shadow:#fafafa;
    color:#fff;margin-bottom:1rem
}

.btn-front{
    align-items:flex-start;
    right:0;
    margin-right:1rem
    }

.btn-back{
    align-items:flex-end;
    left:0;
    margin-left:1rem
    }

.btn-secondary{
    --bs-btn-color: #000;
    --bs-btn-bg: #34d2eb;
    --bs-btn-border-color: #34d2eb;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #52d9ee;
    --bs-btn-hover-border-color: #48d7ed;
    --bs-btn-focus-shadow-rgb: 44, 179, 200;
    --bs-btn-padding-y: 0.425rem;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #5ddbef;
    --bs-btn-active-border-color: #48d7ed;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: #34d2eb;
    --bs-btn-disabled-border-color: #34d2eb;
    box-shadow: none;
    background-size: 5%;
    background-position-x: 95%;
    font-size: 14px;
}

.bg-image{
    height: 50vh;
    background-size: cover;
    background-position: center;
}

.form-control.btn-secondary{
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    appearance: none;
    border-radius: .375rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}


/* --------------------------- */
/* ---      GRADIENTS      --- */
/* --------------------------- */

.gradient-carsnatch {
    /*background: linear-gradient(195deg, #EC407A, #34d2eb);*/
    background: linear-gradient(195deg, rgba(236, 64, 122), rgba(52, 210, 235));
}

.gradient-carsnatch-op {
    /*background: linear-gradient(195deg, #EC407A, #34d2eb);*/
    background: linear-gradient(195deg, rgba(236, 64, 122, 0.5), rgba(52, 210, 235, 0.5));
}

.gradient-text {
    background: linear-gradient(195deg, #EC407A, #34d2eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

.page-break {
  page-break-before: always;
}


/* ----------------------- */
/* ---      CARDS      --- */
/* ----------------------- */

.custom-card-img1 {
  max-height: 60px; /* Adjust the value as per your requirement */
  max-width: 70px;
}

.custom-card-img2 {
  max-height: 60px; /* Adjust the value as per your requirement */
  max-width: 60px;
}

.custom-card-img3 {
  max-height: 70px; /* Adjust the value as per your requirement */
  max-width: 120px;
}



/* ------------------------ */
/* ---      IMAGES      --- */
/* ------------------------ */

.image-tile {
  position: relative;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0);
  transition: opacity 0.3s ease;
}

.image-tile:hover .overlay,
.image-tile:hover .banner {
  opacity: 0;
}

.image-tile:hover .table-container {
  opacity: 0.8;
}

.canvas-container {
    height: 150px; /* adjust as needed */
    border: 1px solid dark;
    display: flex;
    justify-content: center;
    align-items: center;
  }

.canvas-container img {
max-width: 75%;
max-height: 75%;
}

.banner {
    position: absolute;
    top: 0;
    right: 0;
    background-color: red;
    width: 260px;
    height: 140px;
    color: white;
    padding: 5px;
    clip-path: polygon(77% 0%, 100% 0%, 100% 30%, 90% 30%, 77% 20%);
  }

.gotoad-badge {
    position: absolute;
    top: 10%;
    left: 10%;
    transform: translate(-50%, -50%);
    /*background-color: rgba(255, 255, 255, 0.8);*/
    padding: 5px 10px;
    font-weight: bold;
    font-size: 16px;
    border-radius: 5px;
}

.card-text-list {
    font-size: 1rem;
    font-family: "Roboto", Helvetica, Arial, sans-serif;
    color: var(--bs-card-color);
}

.image-tomorrow {
    height: 400px;
    width: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.blurred {
    filter: blur(5px); /* Adjust the level of blur as needed */
}

.image-container {
    display: flex;
    position: relative;
    justify-content: center; /* Centers horizontally */
    align-items: center;     /* Centers vertically */
}

.image-container2 {
    position: relative;  /* Create a relative positioning context */
    width: 100%;         /* Width of the container */
    height: 100%;       /* Example fixed height for the container */
    overflow: hidden;    /* Prevent overspill */
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: red; /* Set text color */
    font-size: 30px; /* Set font size */
    font-weight: bold; /* Set font weight */
    text-align: center; /* Center-align text */
}

.carsnatch-primary {
    color: rgba(236, 64, 122);
}

.carsnatch-secondary {
    color: rgba(52, 210, 235);
}

ul.list-group li.list-group-item.active {
    background-color: blue;
    border: None;
}

.card-template .card-description {
    min-height: 5em;
}

.card-template .card-title {
    min-height: 3em;
}

.responsive-image {
    width: 80%;   /* Image will occupy 80% of its container */
    height: auto; /* Maintain aspect ratio */
}

.bottom-left-image {
    position: absolute;  /* Position the image absolutely within the container */
    bottom: 0;           /* Align the image to the bottom */
    left: 0;             /* Align the image to the left */
    max-width: 80%;      /* Max 80% of the container's width */
    max-height: 80%;     /* Max 80% of the container's height */
    object-fit: contain; /* Ensures the image scales without distortion */
}



/* ---------------------- */
/* ---      TEXT      --- */
/* ---------------------- */
.radius-text {
    font-size: 20px;
    font-weight: 500;
}


/* ---------------------- */
/* ---   INPUT AREA   --- */
/* ---------------------- */
.drag-drop-area {
    border: 2px dashed #ccc;
    width: 100%;
    max-width: 400px;
    padding: 50px;
    text-align: center;
    cursor: pointer;
    color: #333;
    margin: 0 auto;
}

.drag-drop-area.hover {
    border-color: #333;
}

.hidden-input {
    display: none;
}

#file-name {
    margin-top: 10px;
    font-style: italic;
}

.response-area {
    display: flex;
    flex-direction: column;
    justify-content: end; /* Centers horizontally */
    align-items: bottom;     /* Centers vertically */
}

.align-bottom-right {
    display: flex;            /* Make the row a flexbox container */
    flex-direction: column;
    justify-content: flex-end; /* Aligns content to the right */
    align-items: flex-end;     /* Aligns content to the bottom */
    position: relative;        /* Ensure relative positioning */
}
