﻿/* Basic Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: url('../img/bg.png');
    font-family: Arial, sans-serif;
    /*background: url('https://www.example.com/background-golf-course.jpg') no-repeat center center fixed;*/
    background-size: cover;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

h1 {
    text-align: center;
    color: #1e5a3e;
    margin-bottom: 20px;
}

.toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

    .toggle-container .toggle {
        position: relative;
        display: inline-block;
        width: 160px;
        height: 34px;
    }

div#myModal {
    align-content: space-around;
}

.toggle-container .toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-container .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

    .toggle-container .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        border-radius: 50%;
        left: 4px;
        bottom: 4px;
        background-color: white;
        transition: .4s;
    }

.toggle-container input:checked + .slider {
    background-color: #1e5a3e;
}

    .toggle-container input:checked + .slider:before {
        transform: translateX(126px);
    }

.toggle-container .text {
    margin: 0 10px;
    font-size: 1.2em;
    color: #1e5a3e;
}

.table-container {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 20px;
    text-align: center;
}

th {
    background-color: #1e5a3e;
    color: #fff;
    font-size: 1.5em;
}

td {
    background: #f9f9f9;
    border: 1px solid #ddd;
    vertical-align: top;
}


.price {
    font-size: 2em;
    color: #1e5a3e;
    margin: 10px 0;
}

    .price span {
        font-size: 0.6em;
        color: #666;
    }

.features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

    .features li {
        padding: 10px;
        border-bottom: 1px solid #ddd;
    }

        .features li i {
            margin-right: 10px;
            color: #1e5a3e;
        }

.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.button {
    background-color: #1e5a3e;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin: 5px 0;
}

    .button:hover {
        background-color: #155a27;
    }

.footer {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

    .footer p {
        margin-bottom: 10px;
    }

    .footer a {
        color: #1e5a3e;
        text-decoration: none;
        font-weight: bold;
    }

        .footer a:hover {
            text-decoration: underline;
        }

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    /*width: 80%;*/
}

/* The Close Button */
.subscription_modal_close {
    /*color: #aaaaaa;
    float: right;
    font-size: 28px;
    display: flex;
    font-weight: bold;
    justify-content: space-around;*/
    color: #aaaaaa;
    /* float: right; */
    /* size: 50px; */
    font-size: 30px;
    top: -40px;
    left: 47px;
    position: relative;
    justify-content: right;
    display: flex;
    font-weight: bold;
    justify-content: end;
}

    .subscription_modal_close:hover,
    .subscription_modal_close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

.background-class {
    background-color: #add8e6; /* Light blue color */
}

.button-clicked {
    border: 3px solid #007bff;
}

.button-remove {
    border: 1px solid white;
}

.hidden {
    display: none;
}

.show {
    display: inline-block;
}

.modal-contents {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: fit-content;
}
