/* styles.css */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #20293b;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
}

.logo {
    max-width: 100%;
    height: auto;
    width: 300px;
    text-align: center;
    margin: 0 auto 40px;
}

.logo img {
    max-width: 200px;
    height: auto;
}

.social-icons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icons a {
    color: #ffffff;
    font-size: 2rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #fac800;
}

.navigation {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 0;
}

.navigation ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
}

.navigation li {
    margin-left: 20px;
}

.navigation a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: normal;
    transition: color 0.3s ease;
}

.navigation a:hover,
.navigation a.active {
    color: #fac800;
}

main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.about, .experience, .skills, .contact {
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px 0; /* Entferne das seitliche Padding */
    max-width: 800px; /* Setze die maximale Breite auf 800px, wie bei den anderen Bereichen */
    margin-left: auto;
    margin-right: auto;
}

.timeline-item {
    background-color: none;
    border: 1px solid #ffffff;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.timeline-item h3 {
    color: #fac800;
    margin-top: 0;
    margin-bottom: 10px;
}

.timeline-item .date,
.timeline-item .company {
    font-style: italic;
    color: #ffffff;
    margin-bottom: 10px;
}

.timeline-item p {
    margin: 0;
}

.skills ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0;
    list-style-type: none;
}

.skills li {
    background-color: rgba(250, 200, 0, 0.2);
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #fac800;
}

.btn {
    display: inline-block;
    background-color: #fac800;
    color: #20293b;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: bold;
}

.btn:hover {
    background-color: #ffffff;
    color: #20293b;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    margin-top: 60px;
}

/* Spezifische Styles für die Tools-Seite */
.tools-page main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tools-page .logo {
    margin-bottom: 40px;
}
.tools-intro {
    width: 100%;
    max-width: 1200px; /* oder die Breite, die du für die anderen Elemente verwendest */
    margin: 0 auto 40px;
    padding: 0 20px;
    text-align: left;
}

.tools-intro p {
    color: #ffffff;
    font-size: 1.1em;
    line-height: 1.6;
    margin: 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1200px;
}

.tool-card {
    background-color: none;
    border: 1px solid #ffffff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.tool-card h2 {
    color: #fac800;
    margin-top: 0;
}

.tool-card .btn {
    display: inline-block;
    background-color: #fac800;
    color: #20293b;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.tool-card .btn:hover {
    background-color: #ffffff;
    color: #20293b;
}

.publications-presentations {
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pub-pres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.pub-pres-item {
    background-color: none;
    border: 1px solid #ffffff;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pub-pres-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.pub-pres-item img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.pub-pres-item p {
    margin: 0;
    font-size: 0.9em;
}

/* Spezifische Styles für die UTM-Parameter Builder Seite */
.utm-form {
    background-color: none;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 40px;
    width: 80%;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    color: #ffffff;
    font-weight: bold;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ffffff;
    background-color: transparent;
    color: #ffffff;
    border-radius: 4px;
}

.example {
    font-size: 0.9em;
    color: #cccccc;
    margin-top: 5px;
}

.button-group {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    margin-top: 20px;
}

.utm-info {
    margin-top: 40px;
}

.utm-table,
.regex-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    margin-bottom: 20px;
}

.utm-table th,
.utm-table td,
.regex-table th,
.regex-table td {
    border: 1px solid #fac800;
    padding: 10px;
    text-align: left;
}

.utm-table th,
.regex-table th {
    background-color: rgba(250, 200, 0, 0.2);
    color: #fac800;
}

.random-picker-form {
    background-color: transparent;
    padding: 20px;
    margin-bottom: 40px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.input-group {
    margin-bottom: 20px;
}
.output-group {
    margin-bottom: 20px;
    text-align: center;
}

.input-group label, .output-group label {
    display: block;
    margin-bottom: 5px;
    color: #fac800;
    font-weight: bold;
}

#txtinput {
    width: 100%;
    height: 100px;
    padding: 10px;
    border: 1px solid #ffffff;
    background-color: transparent;
    color: #ffffff;
    border-radius: 4px;
}

.random-output {
    display: block;
    text-align: center;
    padding: 10px;
    background-color: transparent;
    color: #ffffff;
    font-size: 3.2em;
    width: 100%;
}

.button-group {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.random-number-page .random-number-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    margin: 0 auto;
    padding: 20px;
}

.random-number-page .input-group {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
}

.random-number-page .input-group label {
    color: #fac800;
    font-weight: bold;
}

.random-number-page .input-group input {
    width: 60%;
    padding: 10px;
    border: 1px solid #ffffff;
    background-color: transparent;
    color: #ffffff;
    border-radius: 4px;
}

.random-number-page .output-group {
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
}

.random-number-page .random-output {
    display: block;
    padding: 10px;
    background-color: transparent;
    color: #ffffff;
    font-size: 3.2em;
}

.random-number-page .button-group {
    text-align: center;
    width: 100%;
}

.random-number-page .btn {
    margin: 0 auto;
    display: block;
}

.schnick-schnack-page .schnick-schnack-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    margin: 0 auto;
    border: 1px solid #ffffff;
    border-radius: 8px;
    padding: 20px;
}

.schnick-schnack-page .input-group {
    width: 100%;
    margin-bottom: 20px;
}

.schnick-schnack-page input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #fac800;
    background-color: transparent;
    color: #ffffff;
    border-radius: 4px;
}

.schnick-schnack-page .button-group {
    text-align: center;
    width: 100%;
}

.schnick-schnack-page .btn {
    margin: 0 auto;
    display: block;
}

.filter-select select{
    /* styling */
  background-color: transparent;
  border: 1px solid #ffffff;
  border-radius: 4px;
  display: inline-block;
  font: inherit;
  line-height: 1.5em;
  padding: 0.25em 3.5em 0.25em 1em;
  
  color: #ffffff;
  margin-top: 20px;  
  margin-bottom: 20px;      
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.regex-form {
    width: 80%;
}
.regex-form textarea {
    height: 80px;
}
.safelink-encoder-page .safelink-encoder-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    margin: 0 auto;
    padding: 20px;
}

.safelink-encoder-page .input-group,
.safelink-encoder-page .output-group {
    width: 100%;
    margin-bottom: 20px;
    text-align: left;
}

.safelink-encoder-page label {
    display: block;
    color: #fac800;
    font-weight: bold;
    margin-bottom: 5px;
}

.safelink-encoder-page textarea,
.safelink-encoder-page input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ffffff;
    background-color: transparent;
    color: #ffffff;
    border-radius: 4px;
}

.safelink-encoder-page .output-hint {
    font-size: 0.9em;
    color: #cccccc;
    margin-top: 5px;
}

.safelink-encoder-page .button-group {
    text-align: center;
    width: 100%;
}

.safelink-encoder-page .btn {
    margin: 0 auto;
    display: block;
}

/* Media Queries */
@media (max-width: 1024px) {
    .pub-pres-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .timeline {
        padding: 10px;
    }

    .timeline-item {
        width: calc(100% - 40px); /* Berücksichtigt das Padding von 20px auf jeder Seite */
        margin-left: 20px;
        margin-right: 20px;
    }
    .pub-pres-item img {
        max-width: 60%; /* Verkleinert die Logos auf 60% ihrer Containergröße */
    }
    .button-group {
        flex-direction: column;
    }

    .button-group .btn {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .logo {
        width: 200px;
    }
    .navigation {
        position: static;
        margin-bottom: 20px;
    }
    .navigation ul {
        text-align: center;
    }
    .navigation li {
        margin: 0 10px;
    }
    .pub-pres-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .timeline {
        padding: 5px;
    }

    .timeline-item {
        width: calc(100% - 30px); /* Angepasst an das reduzierte Padding */
        margin-left: 15px;
        margin-right: 15px;
        padding: 15px;
    }

    .tool-card {
        padding: 15px;
    }
    .pub-pres-item img {
        max-width: 40%; /* Verkleinert die Logos noch weiter auf 40% ihrer Containergröße */
    }
}

@media (max-width: 400px) {
    .logo {
        width: 150px;
    }
    .social-icons a {
        font-size: 1.5rem;
    }
}