/* ********************************Court Designe Tool**************************************************** */
.court_design_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0px 0px 40px 0px;
}

.court_designe_heading {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 95%;
    text-align: center;
    text-transform: uppercase;
    font-size: 2.1em;
    font-weight: 700;
    margin-bottom: 20px;
    background-color: #273F57;
    border: 2px solid #A3E635;
    border-radius: 10px;
    color: #ffffff;
    height: auto;
    padding: 15px;
}
.court{
	height:90%;
}

.court_designe_inner_container {
    width: 95%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    height: 550px;
}

@media only screen and (max-width: 1017px) {
    .court_designe_inner_container {
               flex-direction: column;
        height: 582px;
        margin-bottom: 304px;
    }
}

.select_court {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 95%;
    margin-bottom: 20px;
}

.select_court_option {
    text-decoration: none;
    font-size: 23px;
    font-weight: 700;
    color: white;
    background-color: #273F57;
    border-radius: 10px;
    border: 3px solid #A3E635;
    display: flex;
    justify-content: start;
    align-items: center;
    height: 60px;
    padding: 8px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    /* Add smooth transition */
}

.select_court_option.selected {
    background-color: #A3E635;
    /* Highlighted background color */
    color: #273F57;
    /* Text color when selected */
}

.select_court_option:hover {
    background-color: #A3E635;
    /* Optional hover effect */
    color: #273F57;
    /* Optional hover text color */
}

@media only screen and (max-width: 1017px) {
    .select_court {
        flex-direction: column;
        width: 95%;
        /* Full width on mobile */
        gap: 10px;
        /* Reduce gap for mobile */
        padding: 10px 0;
        /* Add some padding for better spacing */
    }
}

/* Tennis */
/* Responsive Styles */
.tennis_outer_court {
    width: 100%;
    height: 90%;
    /* Default height */
    background-color: #74be43;
    /* Background color */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 10px 10px 15px -5px rgba(0, 0, 0, 0.75);
}

@media only screen and (max-width: 1017px) {
    .tennis_outer_court {
        height: 25vh;
        margin-top: 20px;
    }
}

.tennis_inner_court {
    background-color: #e90000;
    width: 85%;
    height: 80%;

}

.tennis_inner_court img {
    width: 100%;
    height: 100%;
}

.court_color_container {
    width: 30%;
	 height: auto;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

@media only screen and (max-width: 1017px) {
    .court_color_container {
        width: 100%;
        margin-top: 50px;
        gap: 50px;
			  margin-bottom: 20px;
			height: 252px;

    }
}

.inner_court {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 20%;
    width: 100%;
}

.inner_court span {
    font-size: 25px;
    font-weight: 700;
    color: #273F57;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.color_palate {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
}

.color_palate .color1 {
    background-color: rgb(60, 138, 46) ;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.color_palate .color2 {
    background-color: rgb(66, 119, 48);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.color_palate .color3 {
    background-color: rgb(132, 136, 139);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.color_palate .color4 {
    background-color: rgb(114, 199, 231);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.color_palate .color5 {
    background-color: rgb(55, 116, 170);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.color_palate .color6 {
    background-color: rgb(0, 65, 101);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.color_palate .color7 {
    background-color: rgb(141, 60, 30);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.outer_court {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 20%;
    width: 100%;

}

.outer_court span {
    font-size: 25px;
    font-weight: 700;
    color: #273F57;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.color_palate2 {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
}

.color_palate2 .color1 {
    background-color: rgb(60, 138, 46);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.color_palate2 .color2 {
    background-color: rgb(66, 119, 48);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.color_palate2 .color3 {
    background-color: rgb(132, 136, 139);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.color_palate2 .color4 {
    background-color: rgb(114, 199, 231);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.color_palate2 .color5 {
    background-color: rgb(55, 116, 170);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.color_palate2 .color6 {
    background-color: rgb(0, 65, 101);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.color_palate2 .color7 {
    background-color: rgb(141, 60, 30);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.court_design_btn {
    display: flex;
    justify-content: space-between;
    align-items: end;
    width: 100%;
	  margin-top:35px;
}

@media only screen and (max-width: 1017px) {
    .court_design_btn {
        margin-top: 50px;
    }
}

.court_design_btn_style {
    background-color: #A3E635;
    color: #273F57;
    font-size: 1.2em;
    font-weight: 700;
    border: 3px solid #273F57;
    border-radius: 10px;
    text-transform: uppercase;
    padding: 6px;
	   height: 50px;
	  width:45%;
    transition: all 0.3s ease;
}
@media only screen and (max-width: 1017px) {
    .court_design_btn_style {
        font-size: 1em;
			width:48%;
    }
}



.court_design_btn_style:hover {
    background-color: #273F57;
    /* Change background color on hover */
    color: #A3E635;
    /* Change text color on hover */
    border-color: #A3E635;
    /* Change border color on hover */
}


/* basketball court */
.Court_container {
    width: 65%;
	  height: 100%;
    display: flex;
    flex-direction: column;
	  justify-content:space-between;
}

@media only screen and (max-width: 1017px) {
    .Court_container {
        width: 100%;

    }
}

.basketball_outer_court {
    width: 100%;
    height: 90%;
    background-color: #74be43;
    /* Outer court green */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /* For stacking context */
    box-shadow: 10px 10px 15px -5px rgba(0, 0, 0, 0.75);
}

@media only screen and (max-width: 1017px) {
    .basketball_outer_court {
        height: 25vh;
        margin-top: 20px;
    }
}

.basketball_inner_court {
    width: 75%;
    height: 95%;
    background-color: transparent;
    position: relative;
    display: flex;
    justify-content: space-between;
    /* Space elements evenly */
    align-items: center;
}

@media only screen and (max-width: 1017px) {
    .basketball_inner_court {
        height: 20vh;
    }
}

/* Basketball Court Image */
.basketball_inner_court img {
    position: absolute;
    /* Keeps the image as a background-like element */
    width: 100%;
    height: 100%;
    z-index: 3;
    /* Places the image in the back */
    pointer-events: none;
    /* Ensures it doesn’t block user interaction */
}

/* Left Perimeter */
.basketball_perimeter {
    width: 30%;
    height: 74%;
    background-color: #273f57;
    /* Dark blue for the perimeter */
    border-radius: 0px 150px 150px 0px;
    margin-left: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    /* Above the image */
}

@media only screen and (max-width: 1017px) {
    .basketball_perimeter {
        width: 30%;
        height: 14vh;
    }
}

.key1 {
    width: 101%;
    height: 13vh;
    background-color: #A3E635;
    /* Light green for the key area */
    border-radius: 0px 96px 96px 0px;
    margin-left: 2px;
    z-index: 2;
    /* Above the perimeter */
}

@media only screen and (max-width: 1017px) {
    .key1 {
        height: 5vh;
    }
}

/* Center Circle */
.basketball_center {
    width: 15%;
    height: 25%;
    background-color: #e90000;
    /* Red for the center */
    border-radius: 50%;
    position: relative;
    z-index: 1;
    /* Above the image */
    display: flex;
    justify-content: center;
    align-items: center;
}

@media only screen and (max-width: 1017px) {
    .basketball_center {
        width: 14%;
        height: 5vh;
    }
}

/* Right Perimeter */
.basketball_perimeter2 {
    width: 31%;
    height: 73%;
    background-color: #273f57;
    /* Dark blue for the perimeter */
    border-radius: 155px 0px 0px 150px;
    margin-right: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    /* Above the image */
}

@media only screen and (max-width: 1017px) {
    .basketball_perimeter2 {
        width: 30%;
        height: 14vh;
    }
}

.key2 {
    width: 100%;
    height: 13vh;
    background-color: #A3E635;
    /* Light green for the key area */
    border-radius: 96px 0px 0px 96px;
    z-index: 2;
    /* Above the perimeter */
}

@media only screen and (max-width: 1017px) {
    .key2 {
        height: 5vh;
    }
}

.court_perimiter {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 20%;
    width: 100%;
}


.court_perimiter span {
    font-size: 25px;
    font-weight: 700;
    color: #273F57;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.color_palate3 {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
}

.color_palate3 .color1 {
    background-color: rgb(60, 138, 46);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.color_palate3 .color2 {
    background-color: rgb(66, 119, 48);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.color_palate3 .color3 {
    background-color: rgb(132, 136, 139);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.color_palate3 .color4 {
    background-color: rgb(114, 199, 231);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.color_palate3 .color5 {
    background-color: rgb(55, 116, 170);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.color_palate3 .color6 {
    background-color: rgb(0, 65, 101);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.color_palate3 .color7 {
    background-color: rgb(141, 60, 30);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.court_keys {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 20%;
    width: 100%;
}

.court_keys span {
    font-size: 25px;
    font-weight: 700;
    color: #273F57;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.color_palate4 {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
}

.color_palate4 .color1 {
    background-color: rgb(60, 138, 46);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.color_palate4 .color2 {
    background-color: rgb(66, 119, 48);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.color_palate4 .color3 {
    background-color: rgb(132, 136, 139);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.color_palate4 .color4 {
    background-color: rgb(114, 199, 231);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.color_palate4 .color5 {
    background-color: rgb(55, 116, 170);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.color_palate4 .color6 {
    background-color: rgb(0, 65, 101);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.color_palate4 .color7 {
    background-color: rgb(141, 60, 30);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.court_center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 30%;
    width: 100%;
}

.court_center span {
    font-size: 25px;
    font-weight: 700;
    color: #273F57;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.color_palate5 {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
}

.color_palate5 .color1 {
    background-color: rgb(60, 138, 46);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.color_palate5 .color2 {
    background-color: rgb(66, 119, 48);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.color_palate5 .color3 {
    background-color: rgb(132, 136, 139);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.color_palate5 .color4 {
    background-color: rgb(114, 199, 231);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.color_palate5 .color5 {
    background-color: rgb(55, 116, 170);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.color_palate5 .color6 {
    background-color: rgb(0, 65, 101);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

.color_palate5 .color7 {
    background-color: rgb(141, 60, 30);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid black;
}

/* Badminton */
.badminton_outer_court {
    width: 100%;
    height: 90%;
    background-color: #74be43;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 10px 10px 15px -5px rgba(0, 0, 0, 0.75);
}

@media only screen and (max-width: 1017px) {
    .badminton_outer_court {
        height: 25vh;
        margin-top: 20px;
    }
}

.badminton_inner_court {
    width: 85%;
    height: 80%;
    background-color: #004165;
}

.badminton_inner_court img {
    width: 100%;
    height: 100%;
}

/* VOLLEYBALL */
.volleyball_outer_court {
    width: 100%;
    height: 90%;
    background-color: #74be43;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 10px 10px 15px -5px rgba(0, 0, 0, 0.75);
}

@media only screen and (max-width: 1017px) {
    .volleyball_outer_court {
        height: 25vh;
        margin-top: 20px;
    }
}

.volleyball_inner_court {
    width: 85%;
    height: 80%;
    background-color: #3774aa;
}

.volleyball_inner_court img {
    width: 100%;
    height: 100%;
}


/* PICKLEBALL Outer Court */
.pickleball_outer_court {
    width: 100%;
    height: 90%;
    background-color: #74be43;
    /* Outer court color */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /* For stacking context */
    box-shadow: 10px 10px 15px -5px rgba(0, 0, 0, 0.75);
}

@media only screen and (max-width: 1017px) {
    .pickleball_outer_court {
        height: 25vh;
        margin-top: 20px;
    }
}

/* PICKLEBALL Inner Court */
.pickleball_inner_court {
    width: 85%;
    height: 80%;
    background-color: #74be43;
    /* Inner court color */
    position: relative;
    /* Necessary for positioning child elements */
    display: flex;
    justify-content: center;
    /* Center elements horizontally */
    align-items: center;
    /* Center elements vertically */
    overflow: hidden;
    /* Prevent image overflow outside the container */
}

/* Kitchen Area (Red Zone) */
.kitchen {
    width: 37%;
    height: 47vh;
    background-color: #e90000;
    /* Red kitchen color */
    position: absolute;
    /* Allows overlap with the image */
    z-index: 1;
    /* Ensures it is above the image */
}

/* Image Styling */
.pickleball_inner_court img {
    position: absolute;
    /* Allows overlap with the kitchen */
    width: 100%;
    height: 100%;
    z-index: 2;
    /* Places the image behind the kitchen */
    max-width: 100%;
    /* Ensure the image does not stretch beyond the container */
    max-height: 100%;
}






/* Multicourt */
.multicourt_outer_court {
    width: 100%;
    height: 90%;
    background-color: #74be43;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /* For stacking context */
    box-shadow: 10px 10px 15px -5px rgba(0, 0, 0, 0.75);
}

@media only screen and (max-width: 1017px) {
    .multicourt_outer_court {
        height: 25vh;
        margin-top: 20px;
    }
}

.multicourt_inner_court {
    width: 70%;
    height: 91%;
    background-color: #74be43;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

@media only screen and (max-width: 1017px) {
    .multicourt_inner_court {
        height: 20vh;
    }
}

.multicourt_inner_court img {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.multicourt_perimiter1 {
    width: 31%;
    height: 80%;
    background-color: #273f57;
    border-radius: 0px 190px 175px 0px;
    margin-left: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    /* Send back */
}

@media only screen and (max-width: 1017px) {
    .multicourt_perimiter1 {
        width: 30%;
        height: 16vh;
    }
}

.multicourt_key1 {
    width: 100%;
    height:76px;
    background-color: #A3E635;
    border-radius: 0px 96px 96px 0px;
    position: relative;
    z-index: 3;
    /* Send back */
    margin-left: 2px;
}

@media only screen and (max-width: 1017px) {
    .multicourt_key1 {
        width: 100%;
        height: 4vh;
    }
}

.multicourt_center {
    width: 11%;
    height: 71px;
    background-color: #e90000;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    /* Send back */
}

@media only screen and (max-width: 1017px) {
    .multicourt_center {
        width: 11%;
        height: 4vh;
    }
}

.multicourt_perimiter2 {
    width: 31%;
    height: 80%;
    background-color: #273f57;
    border-radius: 190px 0px 0px 175px;
    margin-right: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    /* Send back */
}

@media only screen and (max-width: 1017px) {
    .multicourt_perimiter2 {
        width: 30%;
        height: 16vh;
    }
}

.multicourt_key2 {
    width: 100%;
    height: 70px;
    background-color: #A3E635;
    border-radius: 96px 0px 0px 96px;
    position: relative;
    z-index: 2;
    /* Send back */
}

@media only screen and (max-width: 1017px) {
    .multicourt_key2 {
        width: 100%;
        height: 4vh;
    }
}

/* SKATING COURT */
.skating_outer_court {
    width: 100%;
    height: 90%;
    background-color: #74be43;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 147px;
    border: 4px solid black;
    box-shadow: 10px 10px 15px -5px rgba(0, 0, 0, 0.75);
}

@media only screen and (max-width: 1017px) {
    .skating_outer_court {
        height: 25vh;
        margin-top: 20px;
    }
}

.skating_inner_court {
    width: 70%;
    height: 30vh;
    background-color: #e90000;
    border: 4px solid white;
    border-radius: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media only screen and (max-width: 1017px) {
    .skating_inner_court {
        height: 15vh;
    }
}

.skating_court_line {
    width: 35%;
    height: 25px;
    background-color: #ffffff;
    border-radius: 35px;
    border: 2px solid;
}