h1{
    color: white;
    font-size: 5rem;
    text-align: center;
}


#resumeMY{
    width: 200 px;
    height: 300 px;
    font-size: large;

}

.btnCollapse{
    color: white;
    background-color: lightskyblue;
    padding: 4px;
    font-style: italic;
    position: absolute;
    top: 04;
    left: 20cm;
 
}

.container > button {
    color: black;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;


}
.container > h2 {
    font-size: 1.3rem;
    text-decoration: dotted;
    position: absolute;
    left: 17cm;
    color: #ffffff;
}

.container > div {
    color: aliceblue;
    font-size: 1.3rem;
}


.btn{
    text-align: center;
    background-color: lightblue;
}

.btn :hover{
    cursor: pointer;
 
}


#inputTextBox{
    width: 250px;
    height: 30px;
}

body{
    background-image: url("./img/black.jpg");
    background-repeat: no-repeat;
    background-size: cover;
}


#divAboute {
 visibility: visible;   
 background-color: black;
 height: 400px;
 width:604px;
 color: white;
 text-align: left;
 font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
 font-size: 1.6rem;
 
}

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

/* Parallax Container */
#parallaxContainer {
    position: relative;
    overflow: hidden;
    height: 100vh;
}

/* Parallax Background */
#parallaxContainer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./img/bluelogo.jpg') no-repeat center center fixed;
    background-size: cover;
    z-index: -1;
    will-change: transform;
}


#divContainer {
    position: relative;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    z-index: 1;
}


.coinCard {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.coinCard:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modalContent {
    background-color: white;
    width: 200px;
    height: inherit 100px;
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    
}

.closeButton {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.closeButton:hover {
    color: #000;
}



#coinfinder {
    width: 320px;
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 4 items in a row */
    grid-gap: 20px; /* Space between items */
    justify-items: center; /* Center items horizontally */
    margin: 20px; /* Space around the grid */
    background-color: rebeccapurple;
}


.coin-item {
    width: 100%; /* Ensures the item takes the full width of the grid cell */
    padding: 15px;
    margin: 10px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.coin-item h3 {
    margin: 0;
    font-size: 20px;
    color: #333;
}


.coin-item img {
    margin: 10px 0;
    width: 50px; /* Adjust image size */
}

/* Media query for 2 items per row on smaller screens (for mobile responsiveness) */
@media (max-width: 768px) {
    .coin-container {
        grid-template-columns: repeat(2, 1fr); /* 2 items in a row */
    }
}

/* Media query for 1 item per row on very small screens */
@media (max-width: 480px) {
    .coin-container {
        grid-template-columns: 1fr; /* 1 item per row */
    }
}


.toggle-container {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.toggle-container input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 20px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #4CAF50;
}

input:checked + .slider:before {
    transform: translateX(20px);
}



/* Modal background */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

/* Modal content */
.modalContent {
    background: rgba(255, 255, 255, 0.15); /* Glass effect */
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    width: 350px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    animation: slideDown 0.3s ease-out;
}

/* Modal text */
.modalContent p {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
}

/* Selected coins list */
#selectedCoinsList {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 15px;
}

/* Individual coin row */
#selectedCoinsList div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px;
    margin: 5px 0;
    border-radius: 10px;
    color: #fff;
}

/* Buttons */
button {
    background: linear-gradient(135deg, #ff416c, #ff4b2b);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
}

button:hover {
    background: linear-gradient(135deg, #ff4b2b, #ff416c);
    transform: scale(1.05);
}

/* Switch button inside modal */
.switchCoin {
    background: #1db954; /* Green */
    padding: 8px 12px;
    font-size: 14px;
    margin-left: 10px;
}

.switchCoin:hover {
    background: #17a74c;
}

/* Cancel button */
#cancelSwitch {
    background: #d32f2f; /* Red */
    margin-top: 10px;
}

#cancelSwitch:hover {
    background: #b71c1c;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
