/* style.css File 
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
        
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}
.container {
    background-color:rgba(87, 209, 199, 0.417);
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.column{
    width: 100%;
    background-color: rgb(221, 174, 174);
    margin: 10px;
    padding: 10px;
    border: 1px solid rgb(243, 232, 232);
}
.container header {
    font-weight: 600;
    text-transform: uppercase;
    border-bottom: 1px solid black;
}
.draggable-card {
    position:relative;
    border: 1px solid black;
    cursor: move;
    user-select: none;
    padding: 10px;
    margin: 10px 0;
}

#nav {
    background-color: rgba(87, 209, 199, 0.417);
    height: 5vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    position: relative;
}

.navlist {
    position: relative; 
    display: inline-block; 
    cursor:default;
}

.navlist::after {
    content: "";
    position: absolute;
    bottom: 0; 
    left: 0; 
    background-color: rgb(0, 0, 0);
    width: 0;
    height: 2px; 
    transition: width 0.5s ease; 
}

.navlist:hover::after {
    width: 100%; 
}
 */


 @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: linear-gradient(135deg, #6bc7afd8, #117dbc);
    color: #333;
    overflow-x: hidden;
}
/* Navigation Bar */
#nav {
    background: transparent;
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
    transition: background-color 0.3s ease;
}

#logo{
    background-image: url("./logo-bgr.png") ;
    background-size: contain;
    background-repeat: no-repeat;
    height: 10vh;
    width: 100px;
}
.navlist {
    position: relative; 
    display: inline-block; 
    cursor: pointer;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navlist:hover {
    color: #e6d539; /* Yellow highlight on hover */
}

.navlist::after {
    content: "";
    position: absolute;
    bottom: -5px; /* Positioned just below the text */
    left: 0; 
    background-color: #e6d539; /* Yellow underline */
    width: 0;
    height: 3px; 
    transition: width 0.4s ease; 
}

.navlist:hover::after {
    width: 100%; 
}

/* Main Container */
.container {
    height: 93vh;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 20px;
    gap: 20px;
}

/* Columns */
.column {
    width: 48%;
    background: #d3ce98;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.column:hover {
    transform: scale(1.02); /* Slight zoom effect */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Deeper shadow */
}

.column header {
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
    border-bottom: 2px solid #00aaff;
    padding-bottom: 5px;
    color: #333;
}

/* Draggable Cards */
.draggable-card {
    position: relative;
    border: 1px solid #ddd;
    background: #f7f7f7;
    border-radius: 8px;
    cursor: grab;
    user-select: none;
    padding: 15px;
    margin: 5px 2px;
    display: flex;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.draggable-card:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px); /* Lift the card on hover */
}

.draggable-card:active {
    cursor: grabbing;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(0); /* Reset on drag */
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

#part2{
    display: flex;
    align-items: center;
    justify-content: center;
}
#nav>h1{
    font-size: 32px;
    font-weight: 200;
}
#part2 a{
    text-decoration: none;
    color: #222;
    margin: 20px 20px;
}

#part2 a:nth-last-child(1){
    padding:7px 18px;
    position: relative;
    border: 1px solid black;
    border-radius: 50px;
    overflow: hidden;
}
#part2 a:nth-last-child(1) #swipeclr{
    background-color: springgreen;
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    transition: left 0.4s ease-in-out;
}
#part2 a:nth-last-child(1) #deleteclr{
    background-color: lightcoral;
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    transition: left 0.4s ease-in-out;
}
#part2 a:nth-last-child(1) h5{
    font-weight: 100;
    position: relative;
    z-index: 100;
}
#part2 a:nth-last-child(1):hover #swipeclr{
    left: 0;
}
#part2 a:nth-last-child(1):hover #deleteclr{
    left: 0;
}

