:root {
    --navy: #2B2E4D;
    --dark-navy: #16172d;
    --lime: #A9C43C;
    --dark-lime: #90a830;
}

* {
    font-family: 'Montserrat';
}

body {
    background-color: var(--navy);
    width: 100%;
    height: 100vh;
    margin: 0;
    font-size: 16pt;
    font-weight: 300 !important;
    line-height: normal !important;
}

h1, h2 {
    margin: 10px;
    font-weight: 500 !important;
}

p, button, a {
    font-weight: 300 !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: inherit;
}

table {
    border-collapse: collapse;
    background-color: var(--navy);
    color: white;
    text-align: center;
    width: 50%;
}

th, td {
    border: 2px solid white;
    padding: 10px;
}

th {
    background-color: var(--dark-navy) 
}

/*buttons*/
button {
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    transition-duration: 0.3s; 
}

.navy-button {
    color: white;
    background-color: var(--navy);
    padding: 10px;
    font-size: 14pt;
    border-radius: 0;
    position: relative;
    cursor: pointer;
}

.navy-button::after {
    content: ""; 
    display: block;
    width: 0%; 
    height: 3px; 
    background-color: var(--lime);
    position: absolute;
    left: 50%; 
    bottom: -3px; 
    transform: translateX(-50%);
    transition: width 0.3s ease-in-out; 
}

.navy-button:hover::after {
    width: 100%;
}

.navy-button:hover {
    background-color: var(--dark-navy);
}

.lime-button {
    color: black;
    background-color: var(--lime);
    padding: 10px;
}
.lime-button:hover {
    background-color: var(--dark-lime);
}

/*navigation bar*/
.navbar {
    padding: 0;
    display: flex;
    align-items: center;
    color: white;
    font-size: 20pt;
    background-color: var(--navy);
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.3);
    flex-wrap: nowrap !important;
}

.button-div, .right-div {
    margin-left: auto; 
    margin-right: 0;
    padding: 20px;
    display: flex;
}

.button-div {
    width: 50%;
    justify-content: space-between;
}

.button-div {
    width: 50%;
    justify-content: space-between;
}

/* When screen width is too small, switch to flex-wrap and center alignment */
@media (max-width: 1000px) {
    .button-div {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .navy-button {
        white-space: nowrap; 
        padding: 10px 15px;
    }
}

#logo {
    height: 40px;
    width: 40px;
    padding-left: 20px;
    padding-right: 10px;
}

/*footer*/
.footer {
    margin-top: 40px; 
    border-top-width: 10px;
    background-color: var(--lime);
    width: 100%;
    font-size: 12pt;
    padding: 20px 0 20px 0;
    display: flex;
}

.a-underline {
    position: relative;
    padding-top: 10px;
}

.a-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    left: 50%; 
    transform: translateX(-50%);
    background-color: black;
    transition: width 0.3s ease-in-out; 
}

.a-underline:hover::after {
    width: 100%; 
}

/*images*/

.icon-img {
    height: 30px;
    width: auto;
    padding: 10px;
}

.icon-img-large {
    height: 50px;
    width: auto;
    padding: 10px;
}

.icon-img2 {
    height: max-content;
    width: 40px;
    padding: 0 10px 0 10px;
}

.icon-img3 {
    height: max-content;
    width: 30px;
    padding: 0 10px 0 10px;
}

.icon-img4 {
    width: 25px;
    height: auto;
    padding: 0 10px 0 10px;
}

.icon-img5 {
    height: max-content;
    width: 25px;
    padding: 10px 10px 0 10px;
}

/*banner*/
.banner {
    height: 500px;
    width: 100%;
    background-position: center;
    background-repeat: no-repeat; 
    background-size: cover;
    position: relative;
    z-index: -2;
}

.banner-title {
    margin-left: auto; 
    margin-right: 0;
    position: absolute;
    bottom: 10%;
    width: 100%;

    background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(169, 196, 60,1));
}

.banner-text {
    padding: 20px 10% 20px 0;
    width: fit-content; 
    margin-left: auto; 
    margin-right: 0;
    font-size: 20pt;
}

.triangle-img {
    top: 0;
    left: 0;
    z-index: -1;
    width: 50%;
    position: absolute;
    z-index: -1
}

/*icons*/

.icons {
    display: flex;
    width: 80%;
    justify-content: center;
    padding-bottom: 30px;
    flex-wrap: wrap;
}

.icon {
    height: 300px;
    width: 300px;
    position: relative;
    border-radius: 20px;
    margin: 20px 30px 20px 30px;

    background-position: center;
    background-repeat: no-repeat; 
    background-size: cover;
}

.icon-title {
    position: absolute;
    bottom: 0;
    border-radius: 0 0 20px 20px;
    width: 100%;
    height: 25%;
    align-items: center;
    display: flex;
    color: white;
    background: rgba(0, 0, 0, 40%);
    transition: background-color 0.3s ease; 
    cursor: pointer; 
}

.icon-arrow {
    width: 30px;
    height: auto;
    position: absolute;
    right: 10%;
}

.icon-title:hover {
    background-color: rgba(0, 0, 0, 70%);
}


/*boxes*/

.lime-box {
    background-color: var(--lime);
    border-radius: 10px;
    width: fit-content;
    height: fit-content;
}

.row-box {
    display:flex; 
    flex-direction: row; 
    align-items: center;
}

.col-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.col-box2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 25%;
}

/*specific components*/
#contact-box{
    margin-top: 60px;
    margin-left: auto;
    margin-right: 60px;
    padding: 30px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

#location-box {
    height: 80%;
    width: 70%;
    border-radius: 10px;
    margin-left: 50px;
    background-position: center;
    background-repeat: no-repeat; 
    background-size: cover;
}

#location-div {
    display: flex; 
    flex-direction: row; 
    align-items: end;
    height: 65%;
    width: 90%;
    margin: 35px 50px 0 auto; 
    color: white;
    justify-content: flex-end;
    font-size: 16pt;
}

.coach-box {
    width: 90%;
    height: auto;
    border-radius: 10px;
    background-color: var(--dark-navy);
    color: white;
    padding: 30px;
    margin: 0 auto;
}

.info-box {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 15px;
}

.portrait-img {
    border-radius: 50%;
    border: 10px solid white;
    height: 300px;
    width: 300px;
    background-position: center;
    background-repeat: no-repeat; 
    object-fit: cover;
    margin: 0 30px 0 10px;
}

#coaches {
    display: grid;
    justify-content: center; 
    align-items: center;
    gap: 40px;
    width: 90%;
    margin: 30px auto;
}

/*forms*/

.flatpickr-day.selected {
    background-color: var(--lime) !important;
    color: black;
}

#flatpickr-date.form-control.flatpickr-input {
    height: 0;
    padding: 0;
    visibility: hidden;
}

.form-control {
    width: 100%;  
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px; 
}

.horizontal-line {
    width: 90%;
    border-bottom: 2px solid black;
}
