body {
    background-color: #474747;
}

#Top_bar {
    display: flex;
    justify-content: space-between; /* Ändern Sie flex-end zu space-between */
    align-items: center;
}

#profile_picture_container {
    display: flex; /* Stellen Sie sicher, dass der Container selbst ein flexibles Element ist */
    align-items: center; /* Optional: Zentriert das Profilbild vertikal, wenn erforderlich */
}

#profile_picture img {
    border: 2px solid #888888;
    border-radius: 50%;
    max-width: 100px;
    width: 60px;
    height: 60px;
    margin-top: 10px;
    margin-right: 10px;
    transition: transform 0.3s, box-shadow 0.3s; /* Fügt Übergangseigenschaften hinzu */
}

#profile_picture img:hover {
    transform: scale(1.2); /* Vergrößert das Bild im Hover-Zustand auf 120% der ursprünglichen Größe */
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5); /* Fügt einen Schatten hinzu */
}

#Top_bar button {
    margin-top: 10px;
    font-size: 16px;
    padding: 1em 2.5em 1em 2.5em;
    min-width: 150px; /* Festlegen einer Mindestbreite für den Button (ursprüngliche Breite) */
    border: none;
    background: #fff;
    transition: all 0.1s linear;
    box-shadow: 0 0.4em 1em rgba(0, 0, 0, 0.1);
    margin-left: auto;
    position: relative;
    margin-right: 20px;
}


#Top_bar button:active {
    transform: scale(0.95);
}

#Top_bar button span {
    color: #464646;
}

#Top_bar button .border {
    position: absolute;
    border: 0.15em solid #fff;
    transition: all 0.3s 0.08s linear;
    top: 50%;
    left: 50%;
    width: 9em;
    height: 3em;
    transform: translate(-50%, -50%);
    z-index: -1; /* Ändern Sie die z-index auf -1, um die Border unter dem Button anzuzeigen */
}

#Top_bar button:hover .border {
    display: block;
    width: 9.9em;
    height: 3.7em;
}

#Top_bar .full-rounded {
    border-radius: 2em;
}

#Top_bar #Title {
    font-size: 24px;
    margin-right: auto;
    margin-left: 20px;
    color: #fff;
    font-family: fantasy;
    font-size: 50px;
    margin-top: 10px;
    position: relative;
    text-decoration: none; /* Keine Unterstreichung standardmäßig */
}

#Top_bar #Title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px; /* Positionieren Sie den Unterstrich unter dem Text */
    width: 100%;
    height: 2px; /* Höhe des Unterstrichs */
    background: #ffcc00;
    transform: scaleX(0); /* Beginnen Sie ohne Unterstrich */
    transform-origin: right;
    transition: transform 0.3s;
}

#Top_bar #Title:hover::after {
    transform: scaleX(1); /* Vergrößern Sie den Unterstrich auf volle Breite im Hover-Zustand */
    transform-origin: left;
}

#Start_Screen {
    width: 500px;
    height: 300px;
    background-color: #c0c0c0;
    border-radius: 5px;
    margin-top: 10px;
}


#main {
    width: 100%; /* Ändere die Breite auf 100% */
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}


#Start_Screen {
    width: 90%;
    height: 500px;
    background-color: rgb(192, 192, 192);
    border-radius: 20px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

#Start_Screen:hover {
    transform: scale(1.01);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

#Start_Screen #title {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    font-family: fantasy;
    letter-spacing: 3px;
    font-size: 80px;
}

#Start_Screen #subtitle {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    font-family: fantasy;
    letter-spacing: 2px;
}

 /* Dev info */

#message {
    color: white;
    margin-left: 20px;
}

/* ip showase boxes */

#Ips {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

#server_ip #rest {
    margin-top: 20px;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#server_ip {
    background-color: #c0c0c0;
    border-radius: 20px;
    width: 450px;
    height: auto;
    text-align: center;
    font-size: 18px;
    margin: 20px 20px 20px 20px;
    justify-self: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

#port {
    margin-bottom: 30px;
}

#server_ip:hover {
    transform: scale(1.01);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

#server_ip #title {
    font-family: fantasy;
    margin-top: 35px;
    font-size: 20px;
}

  /* Learnmore button (rules, discord) */

  #learnmore button {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
    margin-top: 30px ;
    margin-bottom: 30px;
   }

   
   #learnmore button.learn-more {
    width: 12rem;
    height: auto;
   }
   
   #learnmore button.learn-more .circle {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: relative;
    display: block;
    margin: 0;
    width: 3rem;
    height: 3rem;
    background: #282936;
    border-radius: 1.625rem;
   }
   
   #learnmore button.learn-more .circle .icon {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    background: #fff;
   }
   
   #learnmore button.learn-more .circle .icon.arrow {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    left: 0.625rem;
    width: 1.125rem;
    height: 0.125rem;
    background: none;
   }
   
   #learnmore button.learn-more .circle .icon.arrow::before {
    position: absolute;
    content: "";
    top: -0.29rem;
    right: 0.0625rem;
    width: 0.625rem;
    height: 0.625rem;
    border-top: 0.125rem solid #fff;
    border-right: 0.125rem solid #fff;
    transform: rotate(45deg);
   }
   
   #learnmore button.learn-more .button-text {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 0;
    margin: 0 0 0 2.7rem;
    color: #282936;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
    font-family: fantasy;
    letter-spacing: 3px;
   }
   
   #learnmore button:hover .circle {
    width: 100%;
   }
   
   #learnmore button:hover .circle .icon.arrow {
    background: #fff;
    transform: translate(1rem, 0);
   }
   
   #learnmore button:hover .button-text {
    color: #fff;
    font-family: fantasy;
    font-weight: 100;
   }
