html,
body {
    position: relative;
    height: auto !important;
}

body {
    background: #fff;
    /* font-family: Helvetica Neue, Helvetica, Arial, sans-serif; */
    font-size: 14px;
    color: #000;
    margin: 0;
    padding: 0;
    margin-bottom: 30px;
}

:root {
    --swiper-theme-color: rgba(0, 0, 0, 0.7);
    --primary-color: #304DDB;
    --secondary-color: #7383FF;
    --primary-color-light: #E9E4FF;
}

.alert-modal {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    text-align: center;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 30;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.4);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

.alert-modal-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 220px;
    width: 50%;
    background-color: white;
    border-radius: 15px;
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}
  
@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

.alert-modal-close {
    display: block;
    background-color: #2D2C2C;
    color: white;
    width: 90%;
    padding: 3%;
    margin: 5%;
    margin-top: 30px !important;
    border: none; 
    border-radius: 5px;
    z-index: 100 ;
}

.alert-modal-close:hover, 
.alert-modal-close:active {
    background-color: #2D2C2CCB;
}

@media (max-width:425px) {
    .alert-modal-close {
        margin-top: 10px !important;
    }
}

@media (max-width:320px) {
    .alert-modal-content {
        width: 60%;
    }
}

.download-modal {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    text-align: center;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 30;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.4);
}

.download-modal-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 30%;
    width: 50%;
    background-color: white;
    border-radius: 15px;
}

.download-modal-close {
    display: none;
    background-color: var(--primary-color);
    color: white;
    width: 90%;
    padding: 3%;
    margin: 2%;
    margin-top: 30px !important;
    border: none; 
    border-radius: 5px;
    z-index: 100;
}

#root{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 0 3%;
}

#root > section > div,#videos,#draft-videos,#order-videos {
    width: 100%;
    margin: 5px 5px 5px 0;
    margin-top: 100px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 2rem 5%;
}

@media (min-width:1200px) {
    #root:not(.video-option) {
        padding: 0 8%;
    }
}

.card-container,.purchased__video{
    width: auto;
    margin: 10px;
    height: auto;
    border: 10px solid white;
    background-color: white;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 50%);
    border-radius: 10px;
}

.card-container:hover {
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.cards { 
    width: 220px;
}

@media (max-width: 425px) {
    .cards {
        width: 140px;
    }
}

@media (min-width: 600px) {
    #header-logo {
        font-size: 3.5em !important;
    }

    #root {
        justify-content: center;
    }
}
.Skeleton{
    animation: Skeleton-loading 1s linear infinite alternate;
}
@keyframes Skeleton-loading {
    0%{
        background-color: hsl(0, 0%, 80%);
    }
    100%{
        background-color: hsl(0, 0%, 95%);
    }
}

/* cards+videos section */

#root{
    margin-top: 10%;
}

#root > section{
    display: flex;
    width: 100%;
    flex-direction: column;
    padding: 1.5em 0;
}

#root > section > div{
    margin-top: 0px;
}

#root > section > p{
    text-align: left;
    width: 100%;
    border-bottom: 1px solid black;
    margin-bottom: 50px;
    padding: 10px 0;
    color: #2D2C2C;
    font-size: 1rem;
    font-weight: 500;
    font-family: "Roboto";
    font-style: italic;
}

#root > section > p:nth-last-child(1){
    text-align: center;
    color: #2D2C2C;
    font-size: 0.8rem;
    font-weight: 400;
    border-bottom: none;
    display: none;
}

.purchased__video{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 250px;
    overflow: hidden;
}

.purchased__video>div{
    width: 100%;
}

.inner-video-container{
    position: relative;
    aspect-ratio: 3/2;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
}

.purchased__video .video-processing-tag{
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    font-size: 0.6rem;
    font-weight: 600;
    font-family: Roboto;
    color: #141414;
}

.disabled-button{
    opacity: 0.3;
    cursor: not-allowed !important;
}

.video-name{
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    font-size: 0.9rem;
    font-family: "Montserrat", sans-serif;
    font-style: italic;
    margin-bottom: 5px;
}

@media (max-width: 900px) {
    #root{
        margin-top: 18% !important;
    }
}

#root .video-section p.content-update-note{
    border-bottom: none !important;
    width: 100%;
    text-align: center;
    font-size: 0.8rem;
    display: flex;
    justify-content: center;
}

.updated-content-icon{
    position: absolute;
    top: 0;
    right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.4);
    transform: translate(0%,25%);
    padding: 5px;
    border-radius: 50%;
    background-color: #ffffff;
}

.updated-content-icon .material-symbols-outlined{
    font-size: 1rem;
    position: relative;
    top: 0.5px;
}

.download-btn ,
.customize-btn ,
.delete-btn{
    transition: all 0.3s ease-in-out;
}

.download-btn:hover ,
.customize-btn:hover ,
.delete-btn:hover {
    scale: (1.05);
}

.customize-btn > img,
.download-btn img
{
    width: 0.9rem;
    height: 0.9rem;
}

.delete-btn > img{
    width: 0.9rem;
    height: 1rem;
}

@media (max-width:576px) {
    .purchased__video {
        width: 155px;
    }
}