.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.b-example-divider {
    width: 100%;
    height: 3rem;
    background-color: rgba(0, 0, 0, .1);
    border: solid rgba(0, 0, 0, .15);
    border-width: 1px 0;
    box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}

.b-example-vr {
    flex-shrink: 0;
    width: 1.5rem;
    height: 100vh;
}

.bi {
    vertical-align: -.125em;
    fill: currentColor;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.btn-bd-primary {
    --bd-violet-bg: #712cf9;
    --bd-violet-rgb: 112.520718, 44.062154, 249.437846;

    --bs-btn-font-weight: 600;
    --bs-btn-color: var(--bs-white);
    --bs-btn-bg: var(--bd-violet-bg);
    --bs-btn-border-color: var(--bd-violet-bg);
    --bs-btn-hover-color: var(--bs-white);
    --bs-btn-hover-bg: #6528e0;
    --bs-btn-hover-border-color: #6528e0;
    --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
    --bs-btn-active-color: var(--bs-btn-hover-color);
    --bs-btn-active-bg: #5a23c8;
    --bs-btn-active-border-color: #5a23c8;
}

.bd-mode-toggle {
    z-index: 1500;
}

.bd-mode-toggle .dropdown-menu .active .bi {
    display: block !important;
}

header a span {
    margin-left: auto;
    margin-right: auto;
}

a { font-size: 12px; }

.feature-images {
    height: 400px;
    background: url(./images/RoboCup2025_Home.jpg) no-repeat center;
    background-size: 100%;
    background-position: center center;
    padding: 0;
    position: relative;
    border-radius: 0 0 10px 10px;
}
.feature-images h1 {
    font-size: 24px;
    position: absolute;
    left: 10px;
    top: 10px;
    color: white;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 10px;
    text-shadow: 1px 1px 2px black;
    top: auto; bottom: 10px;
}

.participation-images {
    height: 250px;
    background: url(./images/feature3.jpg) no-repeat center;
    background-size: 100%;
    background-position: center -180px;
}
.participation-images h1 { font-size: 24px; top: auto; bottom: 10px; }

.video-images {
    height: 250px;
    background: url(./images/demo_image.jpg) no-repeat center;
    background-size: 100%;
    background-position: center -350px;
}
.video-images h1 { font-size: 24px; top: auto; bottom: 10px; }

.demo-images {
    height: 250px;
    background: url(./images/demo_image4.jpg) no-repeat center;
    background-size: 100%;
    background-position: center -300px;
}
.demo-images h1 { font-size: 24px; top: auto; bottom: 10px; }

.contact-images {
    height: 250px;
    background: url(./images/competition_image.jpg) no-repeat center;
    background-size: 100%;
    background-position: center -450px;
}
.contact-images h1 { font-size: 24px; top: auto; bottom: 10px; }

.navbar {
	--bs-navbar-padding-y: 0;
	background: linear-gradient(to bottom, #e81a22, #940d13);
	position: relative;
}

.navbar-nav {
    margin-left: auto;
    margin-right: auto;
}

.navbar .nav-item {
	text-align: center;
	width: 8rem;
	border-width: 2px;
	border-right-style: solid;
	border-image: linear-gradient(
		to right,
		#940d13,
		#cccccc
	) 1 100%;
}
.navbar .nav-item:hover {
	background: linear-gradient(to top, #e81a22, #940d13);
}

.navbar .active {
	display: block;
	height: 100%;
	background: linear-gradient(to top, #e81a22, #940d13);
}

.navbar .nav-item .nav-link {
	color: #ffffff;
	font-size: 0.8rem;
}
.navbar .nav-item .nav-link:hover {
	color: #ffffff;
}

.navbar .dropdown-menu {
	background-color: rgba(255, 255, 255, 0.5);
}

.navbar .dropdown-item {
	color: #000000;
	background-color: rgba(200, 200, 200, 0.5);

}

.navbar .dropdown-item:hover {
	color: #000000;
	background-color: rgba(255, 255, 255, 0.5);
}

#card_1 {
    background: url(./images/img_1.jpg) no-repeat center center;
    background-size: 100%;
    position: relative;
}

#card_1 h2 {
    background-color: rgba(255, 255, 255, 0.6);
    position: absolute;
    right: 0;
    bottom: 0;
    text-shadow: 1px 1px 2px black;
    padding: 10px;
}

#card_2 {
    background: url(./images/img_2.jpg) no-repeat center center;
    background-size: 100%;
    position: relative;
}

#card_2 h2 {
    background-color: rgba(255, 255, 255, 0.6);
    position: absolute;
    right: 0;
    bottom: 0;
    text-shadow: 1px 1px 2px black;
    padding: 10px;
}

.participation_list h3 {
    font-size: 24px;
    font-weight: bold;
    margin-top: 20px;
}
.participation_list li {
    line-height: 32px;
    margin-left: 24px;
}
.participation_list {
    margin-top: 30px;
}
.participation_list img {
    height: 150px;
    margin-bottom: 3px;
}

.video_page h2 {
    font-weight: bold;
    margin-top: 50px;
}
.video_page h3 {
    font-weight: bold;
    margin-top: 50px;
}
