/* Globale Stile */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #2c3e50, #bdc3c7);
    color: #F1EDEC;
    background-attachment: fixed;
    align-items: center;


}

/* Container-Stil */
.container {
    width:90%;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    align-items: center;

}
.menu-strip {
    width: 100%;
    background: transparent;
    backdrop-filter: blur(10px); 
    padding: 10px 0;
    border-radius: 25px;
    margin-top: 10px;
    align-items: center;

}

.menu-button {
    background: linear-gradient(to top, rgba(50, 50, 50, 0.6), #333333);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
     transition: 0.8s; min-width: 120px;
}

.menu-button:hover {
    background-color: #1976d29f;
    box-shadow: 0px 4px 10px #1976d2;
    color: #1976d2;
    transition: 0.8s; max-width: 180px;
}

/* Header-Stil */
header {
    width:104%;
    background: linear-gradient(to bottom, #2980b9, #2c3e50);
    color: #F1EDEC;
    padding: 20px 0;
    text-align: justify;
    border-radius: 25px;
    border: 2px solid #2980b9;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.6);
    text-justify: inter-word;
}

header h1 {
    margin: 0;
    word-spacing: 2px;
    text-transform: inherit;
    font-size: 32px;
    font-weight: bold;
    text-shadow: 2px 2px #000;
    
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

}

/* Hauptbereich-Stil */
main {
    width:100%;
    margin-top: 20px;
    background: #34495e;
    border-radius: 10px;
    box-shadow: 0px 2px 5px #2c3e50;
    padding: 20px;
    border: 2px solid #2980b9;
    align-content: center;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.6);
}
input[type="text"] {
   font-size: 1em; padding: 5px 12px; 
   font-family: Roboto, sans-serif;
   font-weight: 200;
   color: teal;
   height:30px;
   padding: 2px;
   border: 1px solid #2c3e50;
   background-image:  background: linear-gradient(to bottom, #2980b9, #2c3e50);
   transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
   border-radius: 20px;
}
/* Themen-Auswahl */
.theme-option {
    width: 230px;
    height: 150px;
    display: inline-block;
    margin-right: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 10px;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    background-color: transparent;
    z-index: 1;

}

.theme-option img {
    width: 100%;
    height: 100%;
    border-radius: 25px;  
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.theme-option:hover::before {
    content: "";
    align-content: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #caccd1a9;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.6);
    z-index: 1;
    border-radius: 25px;  
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    position: absolute;
}

.theme-option:hover img {
    box-shadow: 0px 10px 25px #ff9933de;
    border: 0px solid #007bff;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.1s ease;
    position: relative;
}
.theme-option::after {
    content: attr(data-text); 
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    transition: opacity 0.3s ease;
    color: #d20962;
}

.theme-option:hover::after {
    opacity: 1;
}

.theme-option input[type="radio"] {
    display: none;
}

.theme-option input[type="radio"]:checked + img {
    border: 1px solid rgba(251, 176, 52, 1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
    box-shadow: 0px 10px 25px #ff9933de;
    background-color: rgba(251, 176, 52, 0.5);
    z-index: 1;
    border-radius: 15px;  
}

/* Stile für index.html */
.add-link label {
    color: #F1EDEC;
    font-weight: bold;
}

.add-link input[type="text"] {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
    height: 25px;
    width: calc(100% - 200px);
    padding: 8px;
    margin-right: 10px;
    border: 0px solid #ecf0f1;
    border-radius: 25px;
    background-color: #2c3e50;
    color: #F1EDEC;
    transition: 0.8s; max-width: 30%;
}

.add-link input:hover {
    border: 0px solid #3498db;
    background: linear-gradient(to top, rgba(50, 50, 50, 0.6), #333333);
    backdrop-filter: blur(10px); /* Weichzeichnungseffekt für den Hintergrund */
    color: #F1EDEC;
     box-shadow: 0px 4px 10px #1976d2;
     -webkit-transition: background-color 2s ease-in;
  -moz-transition: background-color 2s ease-in;
  -o-transition: background-color 2s ease-in;
  transition: background-color 2s ease-in;
    transition: background-color 1.8s ease, transform 8.8s ease, box-shadow 0.6s ease;
    transition: 1.5s; max-width: 60%;
}

.add-link input:focus {
    border: 0px solid #3498db;
    background-color: rgba(255, 200, 69, 0.6);
    color: #F1EDEC;
    box-shadow: 0px 8px 20px rgba(255, 200, 69, 0.4);
    transition: 0.8s; max-width: 100%;
}

.add-link button, .save button {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to top, rgba(50, 50, 50, 0.6), #333333);
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 25px;
    cursor: pointer;
    transition: background-color 1.8s ease, transform 8.8s ease, box-shadow 0.6s ease;
    transition: 1.8s; max-width: 150px;
}

.add-link button:hover, .save button:hover {
   background-color: #1976d29f;
    box-shadow: 0px 4px 10px #1976d2;
    color: #1976d2;
    transition: 0.8s; max-width: 180px;
}


.link-card {
    width:80%;
    background: #2980b9;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0px 2px 5px #2c3e50;
    transition: box-shadow 0.3s ease-out, background 0.3s ease-out;
    color: #ecf0f1;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: bold;
}

.link-card img {
    width: 32px;
    height: 32px;
    margin-left: 10px;
}

.link-favicon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.link-card a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-out;
}

.link-card:hover {
    background: #3498db;
    box-shadow: 0px 4px 10px #2980b9;
    color: #ffffff;
    transform: scale(1.05);
}

.link-card:hover a {
    color: #ecf0f1;
}


.save {
    text-align: center;
    margin-top: 20px;
    color: #fff;
    font-weight: bold;

}



footer {
    margin-top: 20px;
    text-align: center;
    color: #ecf0f1;
    border-top: 2px solid #2980b9;
    padding-top: 10px;
}


@keyframes bounce {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 10px;
    }
    header h1 {
        font-size: 24px;
    }
    header img {
        max-width: 100px;
    }
    main {
        padding: 10px;
    }
    .theme-option {
        width: calc(50% - 20px);
        height: auto;
        margin-right: 10px;
        margin-left: 10px;
        margin-top: 5px;
        margin-bottom: 5px;
    }
    .share-url input[type="text"] {
        width: calc(100% - 100px);
    }
    .share-url button, .create-linktree button, .save button {
        padding: 8px 16px;
    }
    .link-card img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 14px;
    }
    header img {
        max-width: 80px;
    }
    .theme-option {
        width: calc(50% - 10px);
        height: auto;
        margin-right: 5px;
        margin-left: 5px;
        margin-top: 5px;
        margin-bottom: 5px;
        center;
    }
}
