* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%; /* 16px base */
  line-height: 1.6em;
  scroll-behavior: smooth; 
}

body {
  font-family: 'Arial', sans-serif;
  color: #fff;
  /*background-color: #fffafa;*/
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; } 
h6 { font-size: 1rem; }


p {
  margin-bottom: 1em;
}


ul, ol {
  padding-left: 0em;
  margin-bottom: 1em;
}

li {
  margin-bottom: 0.5em;
}

ul {
  list-style-type: none;
}

ol {
  list-style-type: decimal;
}


button {
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.5em 1em;
  border: none;
  border-radius: 4px;
  background-color: #000;
  color: #fff;
  transition: background-color 0.3s ease-in-out;
}

button:hover {
  background-color: #000;
  color: #fff;
}

input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.5em;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  margin-bottom: 1em;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #fff;
}


img {
  max-width: 100%;
  height: auto;
  display: block;
}


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1em;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

/* my-code */

h1#page-title { /*darauf achten keine Leerzeichen zwischen h1 und # zu machen */
	font-style: normal;
	color: #fff;
	margin: 0.5em 0 0.5em 0.8em;
	font-size: 3em;
	width: 50%; 
}

#top-area {
	width: 80%;
	height: auto;
	padding: 0 0 0 0;
	margin: 2em 0 0 0em;
}

#main-nav{
	width: 80%;
	height: auto;
	margin: 0 !important;
}

#main-nav ul li {
	display: inline;
	margin-right: 5px;
}


button {
  font-size: 1rem;
  padding: 0.5em 1em;
  background-color: #000;
  color: #fff;
 transition: background-color 0.3s ease-in-out;
}


button a:hover {
 	color: #000;
}

footer ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

footer a {
    color: #fff;
    text-decoration: none;
    font-size: 1em;
}
footer a:hover {
    text-decoration: none;
    color: #fff;
}
footer a {
  display: inline-block;
  list-style: none;
  font-size: 2rem;
  cursor: pointer;
  position: relative;
}
footer a:after{
  content: '';
  width: 100%;
  height: 1px;
  background: #fff;
  position: absolute;
  left: 0;
  bottom: 5px;
  transition: 0.5s;
  text-decoration: none;
}
footer a:hover::after{
  width:0;
}
 button a :hover{
  color: #fff
}


.logo {
    width: 30px;
    height: auto; 
}

.header-container {
    display: flex;
    gap: 10px; 
}




footer {
    background: #000;
    color: white;
    text-align: center;
    padding: 10px 20px 200px 20px;
    position: relative; 
    
}
#backToTop {
  display: inline-block; 
  margin-top: 0;
  border: none;
  background-color: #000; 
  color: white;
  padding: 10px 20px; 
  cursor: pointer;
  font-size: 30px;
  margin-top: 0.5em;
  width: 9%;
}

#backToTop:hover {
  background-color: #000; /* Hover color */
  text-decoration: none;
  
}

.navcontainer {
  display: flex;
  gap: 30px
}



h2#page-p {
	
    word-wrap: break-word; 
	font-style: normal;
	color: #fff;
	margin: 0.5em 0 0.5em 1em;
	font-size: 2em;
  line-height: 1.4em;
	width: 50%; 
}

#bg-topsection {
    background: 
        linear-gradient(to right, rgba(0, 0, 0, 1) 52%, rgba(0, 0, 0, 0) 100%) left,
        url('images/saka1.jpeg') right;
    background-repeat: no-repeat; 
    background-size: auto 100%;
    width: 100%;
    height: 100%;
    color: white;
    padding: 20px;
}
#second-bg {
        background: 
        linear-gradient(to left, rgba(0, 0, 0, 1) 54%, rgba(0, 0, 0, 0) 100%) right,
        url('images/bg2.jpeg') left;
    background-repeat: no-repeat; 
    background-size: auto 100%;
    width: 100%;
    height: 100%;
    color: white;
    padding: 20px;
}

nav{
  background: #000;
}
nav ul li a {
  display: inline-block;
  list-style: none;
  font-size: 2rem;
  cursor: pointer;
  position: relative;
}
nav ul li a:after{
  content: '';
  width: 100%;
  height: 1px;
  background: #fff;
  position: absolute;
  left: 0;
  bottom: 0px;
  transition: 0.5s;
  text-decoration: none;
}
nav ul li a:hover::after{
  width:0;
}
 button a :hover{
  color: #fff
}
nav ul li a {
  margin-right: 1em;
  text-decoration: none !important;
  color: #fff !important;
  font-size: 1em ;
}

*{
  text-decoration: none !important;
}


.timeline {
  padding: 50px 20px;
  margin: 0 auto;
  max-width: 1000px;
  color: #fff;
  background-color: #000;
}

.timeline ol {
  position: relative;
  list-style: none;
  margin-left: 20px;

}

.timeline ol::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: #fff;
}

.timeline ol li .item-inner {
  padding: 20px 180px;
  margin-bottom: 8vh;
}

.timeline ol li .time-wrapper {
  position: relative;
  font-size: 4.5rem;
  font-weight: bold;
  line-height: 0.9;
}

.timeline ol li .time-wrapper::before,
.timeline ol li .time-wrapper::after {
  content: "";
  position: absolute;
  background: #fff;
}

.timeline ol li .time-wrapper::before {
  top: 50%;
  left: -180px;
  transform: translateY(-50%);
  width: 0;
  height: 3px;
  transition: width 0.8s linear;
}

.timeline ol li .time-wrapper::after {
  top: calc(50% - 8px);
  left: -60px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  transform: scale(0);
  transform-origin: left center;
  transition: all 0.4s linear;
}

.timeline ol li time,
.timeline ol li .details > * {
  opacity: 0;
  transition: 0.5s;
}

.timeline ol li time {
  display: inline-block;
  transform: translateY(-30px);
}

.timeline ol li .details > * {
  transform: translateY(30px);
}

.timeline ol li .details h3 {
  font-size: 2rem;
  line-height: 1;
  margin: 15px 0;
}

.timeline ol li.in-view .time-wrapper::before {
  width: 120px;
}

.timeline ol li.in-view .time-wrapper::after {
  transition-delay: 0.3s;
  transform: scale(1.5);
}

.timeline ol li.in-view time,
.timeline ol li.in-view .details > * {
  opacity: 1;
  transform: none;
}

.timeline ol li.in-view time {
  transition-delay: 0.5s;
}

.timeline ol li.in-view .details h3 {
  transition-delay: 0.5s;
}

.timeline ol li.in-view .details p {
  transition-delay: 0.3s;
}


.container-crd {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.player-card {
  background: #070d0d;
  border: 0px solid #ddd;
  border-radius: 10px;
  width: 400px;
  text-align: center;
  padding: 15px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.player-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

.player-name {
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 5px;
  margin-top: 1em;
}

.player-number {
  font-size: 20px;
  color: #fff;
  margin-bottom: 10px;
}

.player-country {
  font-size: 20px;
  color: #fff;
}

#rubric {
  margin: 1em 0 0 2em;
}
#bg-team {
    background: 
        linear-gradient(to right, rgba(0, 0, 0, 1) 45%, rgba(0, 0, 0, 0) 100%) left,
        url('team/images/team1.jpeg') right;
    background-repeat: no-repeat; 
    background-size: auto 100%;
    width: 100%;
    height: 100%;
    color: white;
    padding: 20px;
}
