﻿
html {
    scroll-behavior: smooth;
}

.navbar-toggler:focus, .navbar-toggler:active {
    outline-color: #000000;
    margin: 0.5em; /*Set margin to aligh the border with menu text*/
}
.carousel-inner img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
    /*max-width: 500px;
    max-height: 500px;*/
}
#home {
    background-image: url('https://www.elsetge.cat/myimg/f/65-652646_badminton-wallpapers.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    margin: 0;
    display: block;
    grid-template-columns: min-content 1fr;
}
#myNavbar {
    background-color: black;
    display: flex;
    position: sticky;
    position: -webkit-sticky;
    z-index: 3;
    top: 0;
    opacity: 0.8;
}
.navbar-nav{
    margin-left: 50%;
}

nav ul li a {
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
    padding: 0.5rem 1rem;
    color: red;
    text-decoration: none;
}
/* Only stick if you can fit */
@media (min-height: 300px) {
    nav ul {
        position: sticky;
        top: 0;
    }
}
@media screen and (min-width: 768px) {
    .dropdown:hover .dropdown-menu, .btn-group:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu {
        margin-top: 0;
    }

    .dropdown-toggle {
        margin-bottom: 2px;
    }

    .navbar .dropdown-toggle, .nav-tabs .dropdown-toggle {
        margin-bottom: 0;
    }
}

nav ul li a:hover {
    background-color: black;
    text-decoration: none;
}

section {
    padding: 2rem;
    margin: 0 0 0 0;
    text-decoration: none;
}


#form {
    background-color: blanchedalmond;
}
.form1 {
    padding: 20px;
}

.bg-image {
    background-image: url("https://leiruz.github.io/NgeeAnnBadminton/media/badminton%20images/resizeteambadminton.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 700px;
    width: auto;
    border-radius: 20px;
    /*background-size: 900px;
width: auto;*/
    display: block;
    position: relative;
    opacity: 0.8;
    /*filter: blur(8px);
-webkit-filter: blur(8px);*/
}
.txt{
    font-family:'Times New Roman', Times, serif;
    font-size: 60px;
}
@media (max-width: 850px ){
    .bg-text{   
        display: none;
    }
    .pic1{
        display: none;
    }
    .divider_line{
        display:none;
    }

}
.bg-text {
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.7);
    padding: 5px;
    color: white;
    font-weight: bold;
    border: 2px solid #f1f1f1;
    z-index: 2;
    text-align: center;
    position: absolute;
    font-size: 45px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    /*opacity: 2;*/
}

.col-lg-4 {
    background-color: lavender;
    /*display: inline;*/
}

#videos {
    background-color: lavender;
}

#dates {
    background-color: burlywood;
}

.col-lg-4 {
    padding: 10px;
    border-radius: 10px;
}
.jb1:hover {
    transform: scale(1.05);
}
.jb1 {
    border: solid thin #000000;
    max-height: 110%;
}

.navbar-fixed-top.scrolled {
    background-color: white !important;
    transition: background-color 200ms linear;
}

.card-img-top {
    width: 249px;
    height: 166px;
}
.ca {
    width: 250px;
    text-align: center;
    padding-right: 10px;
    margin-bottom: 50px;
    margin-left: 50px;
}
.pic1 {
    visibility: hidden;
    width: 800px;
    height: 550px;
    border-radius: 20px;
    padding: 10px;  
}

.fadeIn {
    -webkit-animation: animat_show 0.8s;
    animation: animat_show 0.8s;
    visibility: visible !important;
}

@-webkit-keyframes animat_show {
    0% {
        opacity: 0
    }

    100% {
        opacity: 1
    }
}

.centering{
    text-align: center;
    margin: 30px;
    font-size: 50px;
}


.container {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
    min-width: 300px;
}

.fadeInRight {
    /*-webkit-animation-name: fadeInRight;*/
    animation-name: fadeInRight;
}

.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}
#More {
    background-color: RGB(176,223,229);
}

#social{
    background-color: RGB(176,223,229);
}
.fa-twitter {
    color: white;
    padding: 10px;

}
.fa-facebook {
    padding: 10px;
    color: white;
}
.fa-instagram {
    padding: 10px;
    color: white;
}

.fa-twitter:hover {
    color: deeppink;
}

.fa-facebook:hover {
    color: deeppink;
}
.fa-instagram:hover {
    color: deeppink;
}
.divider_line {
    width: 250px;
    height: 5px;
    margin-left: 50px;
    background: #e7e7e7;
    -moz-transition: .3s;
    -o-transition: .3s;
    -webkit-transition: .3s;
    transition: .3s;
    transition-property: all;
    transition-duration: 0.3s;
    transition-timing-function: ease;
    transition-delay: 0s;
}
.boxx:hover .divider_line{
    background-color: deeppink;
}

.boxx:hover {
    transform: scale(1.10);
}

.car{
    text-align: center;
}


.divider_line_form {
    width: 100%;
    height: 5px;
    background: #e7e7e7;
    -moz-transition: .3s;
    -o-transition: .3s;
    -webkit-transition: .3s;
    transition: .3s;
    transition-property: all;
    transition-duration: 0.3s;
    transition-timing-function: ease;
    transition-delay: 0s;
}
.form-group:hover .divider_line_form{
    background-color: deeppink;
    opacity: 0.5;
}
.social-list{
    text-align: center;
}
.social-list > div{
    display: inline-block;
    text-align: center;
}

.submission{
    display: inline-block;
    margin-left: 25%;
    padding: 5%;
}
.custom-switch{
    margin-left: 10%;
    padding: 10px;
}
.custom-checkbox{
    margin-left: 10%;
    padding: 10px;
}

#check1{
    text-align: center;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: lightcoral;
    font-size: small;
}
#check2 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: lightcoral;
    font-size: medium;
    text-align: center;
}

.map-container-6 {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.map-container-6 iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.fa, .fab, .fad, .fal, .far, .fas {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.md-form{
    display: inline;    
}
#location {
    background-color: rgb(220,220,220);
}

.c-form{
    border-radius: 10px;
}
.carriage{
    margin-bottom: 58px;
}