*{
    box-sizing: border-box;
}

/* Nav Bar */
nav {
    position: sticky;
    top: 0;
    color: white;
    z-index: 100;   
}

.navUl {
    background-image: linear-gradient(90deg, #58995Eff, #0D2570ff);
}

.white-link {
    color: white;
}

/* Main body CSS */
body {
    /* background-color: #383534; */
    background-image: url("Images/DKBackground.jpg");
    background-attachment: fixed;
    background-size: contain;
    background-position: center center;
    color: black;
}

/* #cardText {} */

.divCardStyling {
    background-color: #dcc338db;
    border: 3px solid black;
    border-radius: 10px;
    padding: 20px;
    margin: 20px;
}

#cardHeaderId{
    font-size: 40px;
    text-align: center;
    background-color: #fdcc07;
    border: 3px solid black;
    border-radius: 10px;
    padding: 10px;
    margin: 10px; 
}


/*Plot CSS*/

/* adds interactivity to rows */
.plotRow {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}


/* insurses that columns fit next to each other with correct padding */
.plotCols {
    flex: 0 0 46%; 
    max-width: 46%;
}

/* makes sure that the columns are responsive and stack on top of each other when the screen is smaller than 1200px */
@media (max-width: 1200px) {
    .plotCols {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* text of the card in plot */
.plotCardText {
    padding: 10px;
    margin: 10px;
    text-align: center;
    border: black 3px solid;
    border-radius: 10px;
    font-size: 18px;
}


/* subheadings of the paragraphs in plot */
.subheading {
    text-align: center;
    background-color: #fdcc07;
    border: 3px solid black;
    border-radius: 10px;
    padding: 5px;
    margin: 5px;  
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* footer in plot */
.plotFooter{
    text-align: center;
    color: white;
    background-color: rgb(40, 42, 46); 
    padding: 10px;
}


/* paragraph text size in plot */
.para {
    font-size: 18px;
}

/*end of plot css*/

#title {
    justify-content: center;
    margin: 20px;
}

.column {
    float: left;
    width: 50%;
}


.row:after {
    content: "";
    display: table;
    clear: both;
}

td {
    padding: 5px;
    margin: 10px;
    text-align: center;
    border: 1px solid black;
    border-radius: 5px;
 
}


table, td {
    border: 1.5px solid black;
    border-collapse: separate;
}



.titles {
    font-family: 'Custom-Font';
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    background-color: #fdcc07;
    border: 3px solid black;
    border-radius: 10px;
    padding: 10px;
    margin: 10px;
}

.main {
    background-color: transparent;
}

/* Importing New font */
@font-face {
    font-family: 'Custom-Font';
    src: url('fontImport/BungeeSpice-Regular.ttf');
}

/* Legacy CSS */

.hide {
    display: none !important;
}
.shown:hover + .hide {
    display: flex !important;
} 

.GDKRacing{
 border: solid #05a005 3px;
 border-radius: 8px;   
}
.LcardStyling {
    margin: 10px;
    padding:20px;
    background-color: #dcc338db !important;
    border: solid black 3px !important;
}

#DSBackground {
    z-index: 1;
}

#soundDiv {
    width: 350px;
}


/* Reception CSS*/

.slide-container{
    max-width: 1200px;
    width: 100%;
    background-color: transparent;
    padding: 40px 0;
    margin: 40px;
}

.slide-content{
    margin: 0 40px;
}

.image-content, .card-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 14px;
}

.image-content{
    position: relative;
    row-gap: 5px;
    padding: 25px 0;
}

.overlay{
    position: absolute;
    border-radius: 25px 25px 0 25px;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: #DE2D35ff;
}

.overlay::before, .overlay::after{
    content: '';
    position: absolute;
    right: 0;
    bottom: -40px;
    height: 40px;
    width: 40px;
    background-color: #DE2D35ff;
}

.overlay::after{
    border-radius: 0 25px 0 0;
    background-color: #E0E1DD;
}

.Receptioncard{
    width: 320px;
    height: 300px;
    position: relative;
    border-radius: 25px;
    background-color: #E0E1DD;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}




.Receptioncard:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  }




.card-image {
    position: relative;
    width: 150px; 
    height: 150px; 
    border-radius: 50%;
    padding: 3px;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    overflow: hidden; 
    background-color: #dcc338db;
}

.card-image .card-img {
    width: 100%; 
    height: 100%; 
    object-fit: contain;     
    border-radius: 50%; 
}


.title{
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

.ReceptionTitle{
    padding: 3px;
}



.button{
    border: none;
    font-size: 15px;
    color: #fff;
    padding: 8px 16px;
    background-color: #DE2D35ff;
    border-radius: 6px;
    margin: 14px;
    transition: all 0.3s ease;
}

.button:hover{
    background: #dcc338db;
}



.card-wrapper {
    gap: 20px;
    justify-content: center; 
}

.card-content, h2{
    font-size: 15px;
    text-align: center;
    position: relative;/* Nav Bar */
 
}   


.card-content2{
 padding: 30px;
 text-align: center;
}   
    
    /* General Styling */
    #boxArt {
        width: 100%;
        max-width: 550px;
        height: auto;
        border: black 5px double;
        border-radius: 10px;
        margin-bottom: 35px;
        justify-content: center;
    }
    


    
    .ReceptionTitle {
        width: 100%;
        white-space: nowrap;
        overflow:hidden;
        display: inline-block;
        animation: 
            typing 2s,
            cursor .4s step-end infinite alternate;
        padding: 0;
        
    }
    
    @keyframes cursor {
        50%{border-color: transparent;}
        
    }
    
    @keyframes typing {
        from{width:0}
        to {width: 20ch;}
        
    }

    .card-container{
        perspective: 1000px;
    }
    
    .card-character{
        position: relative;
        width: 650px;
        height: 350px;
        transform-style: preserve-3d;
        transition: 0.6s;
        border-radius: 16px;
        cursor: pointer;
        color: black;
    }
    
    .front, .back{
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 8px;
        backface-visibility: hidden;
    }
    
    .front{
        
        display: flex;
        justify-content: center;
        align-items: center;
        
        transform: rotateY(0deg);
    }
    
.back{
       
        display: flex;
        justify-content: center;
        align-items: center;
        transform: rotateY(180deg);
    }

.card-character.flipped {
    transform: rotateY(180deg);
}

.overallContainer{
    margin: 20px;
    display: flex;
    justify-content: center;
    align-items: center; /* Center vertically too */
    text-align: center;
    gap: 20px;   
    }

.card-character .front .back{
    position: relative;
  }
  
  
.card-character .front .subheading{
    position: absolute;
    top: 50px;           
    left: 50%;          
    transform: translateX(-50%);
    width: auto;         
    text-align: center;  
    
    
  }


.card-character p{
    padding: 5px;
    margin: 5px;
    font-size: 12px;
    background-color: #dcc338db;
    
}

.titlepara{
    padding: 30px;
    border: 2px solid black;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    
}

.titleCard{
    padding: 30px;
    border: 2px solid black;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #dcc338db;
}






/* Optional: you can reintroduce grid layout below if needed */
/*
.container {
    display: inline-grid;
    grid-template-columns: [first] 40px [line2] 50px [line3] auto [col4-start] 50px [five] 40px [end];
    grid-template-rows: [row1-start] 25% [row1-end] 100px [third-line] auto [last-line];
}

#LSideBar {
    grid-column-start: span 1;
    grid-column-end: 2;
}
*/


/* COLOR REFERENCES (comments only, for dev reference) */
/*
--sapphire: #154DCDff;
--earth-yellow: #F6BD6Dff;
--poppy: #DE2D35ff;
--shamrock-green: #58995Eff;
--royal-blue-traditional: #0D2570ff;
*/

