
/* RECORDS SECTION */

/*font size & text alignment*/
h1 {
    font-size: 60px;
    text-align: center;
}
h2 {
    font-size: 36px;
    text-align: center;
    margin-bottom: -30px;
}
h3 {
    font-size: 30px;
    text-align: center;
}
h4 {
    font-size: 20px;
    text-align: center;
}
.record p{
    font-size: 16px;
}

/*layout*/
.record {
    display: grid;
    gap: 50px;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    margin: 20px 5vw;
    box-sizing: border-box;
}
.record-women, .record-men {
    padding: 0px 5vw 15px;
    border-style: solid;
    border-width: 4px;
    border-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.record .name {
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    text-transform: uppercase;
    color: rgb(0, 59, 92);
    text-shadow: 1px 1px rgb(163, 203, 250), -1px -1px white;
    animation: pulse 1s infinite alternate;
}
@keyframes pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.relay .name {
    font-size: 22px;
    animation: none;
}
.record-women p, .record-men p {
    text-align: left;
}

.event {
    margin-bottom: -50px;
    padding-bottom: 0px;
}



/* More info buttons*/
.dropdown {
    text-align: center;
}
.dropdown-content {
    display: none;
    padding: 1rem;
    margin-top: 1rem;
}
.dropdown-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    border: white solid;

}
button {
    background-color: rgb(0, 59, 92);
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
}
button:hover {
    opacity: 0.8; }


@media (max-width: 600px) {
    .page-title {
        font-size: 45px;
    }
    .record {
        display: flex;
        flex-direction: column;
        gap: 50px;
        width: 100%;
        margin: 20px 5vw;
        box-sizing: border-box;
    }
    h2 {
        font-size: 36px;
    }
    h3 {
        font-size: 30px;
    }
    h4 {
        font-size: 24px;
    }
}