/* Program selection buttons */

.prog-buttons {
    display: block;
}

.prog-buttons button {
    padding: 10px;
    font-size: 18px;
    background-color: blue;
    color: white;
    font-weight: 800;
    border: none;
    border-radius: 3px;
    margin: 20px;
    transition: 1s;
}

.prog-buttons button:hover {
    background-color: aqua;
    color: blue;
    cursor: pointer;
}

/* Actual programs body */

.prog-body {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 20px;
    column-gap: 20px;
}

.prog-body .image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.each-prog {
    margin: 10px;
    box-shadow: 1px 1px 3px rgb(113, 113, 113);
    border-radius: 3px;
}

.each-prog:hover {
    cursor: pointer;
}

.text {
    padding: 10px;
}

.text h1 {
    text-align: center;
    font-size: larger;
}

.text p {
    font-size: medium;
}

/* Call to action */

.call {
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    background-image: linear-gradient(rgb(84, 84, 255), rgb(79, 243, 255));
    background-position: center;
    background-size: cover;
    width: 100%;
    align-items: center;
}

.black-ops-one-regular {
    font-family: "Black Ops One", serif;
    font-weight: 400;
    font-style: normal;
}

.call-text p {
    font-size: larger;
}

.call-head h1 {
    font-size: xx-large;
    font-weight: 800;
    color: rgb(255, 255, 255);
    margin: 0;
    margin-bottom: 20px;
    padding: 5px;
    border-radius: 4px;
    box-shadow: 0 0 3px blue;
}

.call-form form {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.call-form form textarea {
    min-width: 400px;
    padding: 5px;
    margin-right: 20px;
    font-size: larger;
    border: none;
    border-radius: 5px;
    box-shadow: 1px 1px 3px rgb(132, 132, 132);
}

.call-form button {
    width: 120px;
    padding: 12px;
    border-radius: 5px;
    background-color: blue;
    border: none;
    box-shadow: 1px 1px 3px rgb(177, 177, 177);
    font-size: larger;
    font-weight: 700;
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: aqua;
    transition: 0.5s;
}

.call-form button:hover {
    background-color: aqua;
    color: blue;
    cursor: pointer;
}

/* Pop-up */

.pop-up {
    width: 90%;
    background-color: rgb(114, 114, 114);
    height: 90vh;
    border-radius: 10px;
    border: none;
    box-shadow: 0 0 5px rgb(96, 96, 96);
    display: flex;
    flex-direction: column;
    margin: auto;
    position: fixed;
    top: 20px;
    left: 5%;
    transition: 0.6s;
}

.close {
    position: absolute;
    top: 20px;
    left: 20px;
}

.close .fa-solid {
    font-size: 25px;
    color: blue;
    transition: 0.6s;
}

.close .fa-solid:hover {
    color: rgb(55, 204, 57);
    cursor: pointer;
}

.tourney-text {
    font-family: "Tourney", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

.text h1 {
    font-size: 35px;
}

.progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    height: 80px;
}

.diagram {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    width: 80%;
    box-shadow: 0 0 3px blue;
    border-radius: 6px;
}

.diagram #p1 {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.diagram #p10 {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.diagram div {
    background-color: white;
    height: 15px;
}

.media {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 20px;
    row-gap: 20px;
    margin: 20px;
    overflow-y: scroll;
}

.media img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 4px;
}


/* Responsive arena */

@media (max-width: 700px) {
    
    .prog-body {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
    }

    .media {
        display: grid;
        grid-template-columns: 1fr;
        overflow-y: scroll;
    }

    .call-form form {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    .call-form button {
        margin-top: 15px;
    }

    .call-text p {
        padding: 10px;
    }

}