
:root {
    --rocm-blue: #293586;
    --rocm-red: #650c16;
    --rocm-orange: #b27709;
    --rocm-yellow: #f09904;
    --color-red: #ac1424;
    --light-blue-background: #b9dcff;
    --color-white: #FFF;
    --color-dark-grey: #FFFFFF26;
    --color-trash-can: #373d87;
}

@font-face {
    font-family: BoldMondriaan;
    src: url(/fonts/FilsonPro-Bold.woff2);
}

@font-face {
    font-family: outlinedBold;
    src: url(/fonts/11S0BLTO.TTF);
}

/* Body - gradient background, custom font */
body {
    background: linear-gradient(to right, #ac1424 50%, #2d3584 50%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    color: #1a191a;
    font-family: BoldMondriaan;
    margin: 0;
}

/* Bootstrap brand button mapping (keeps original look) */
.btn:focus-visible {
    outline: 3px solid #000;
    outline-offset: 2px;
    box-shadow: none;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #2d3584;
    --bs-btn-border-color: #000;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--rocm-blue);
    --bs-btn-hover-border-color: #000;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--rocm-blue);
    --bs-btn-active-border-color: #000;
    --bs-btn-border-radius: 10%;
}

.btn-danger {
    --bs-btn-color: #fff;
    --bs-btn-bg: #ac1424;
    --bs-btn-border-color: #000;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--rocm-red);
    --bs-btn-hover-border-color: #000;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--rocm-red);
    --bs-btn-active-border-color: #000;
    --bs-btn-border-radius: 10%;
}

.btn-warning {
    --bs-btn-color: #fff;
    --bs-btn-bg: #f09904;
    --bs-btn-border-color: #000;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--rocm-orange);
    --bs-btn-hover-border-color: #000;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--rocm-orange);
    --bs-btn-active-border-color: #000;
    --bs-btn-border-radius: 10%;
}

/* Admin-only: hover text should become black */
.admin-btn:hover,
.admin-btn:hover * {
    color: #000 !important;
}

/* Brand color utilities */
.color-red { color: var(--color-red); }
.bg-orange { background-color: var(--rocm-yellow); }

/* Custom containers - brand layout */
.about-text {
    width: 80vw;
    text-align: center;
    margin-left: 9vw;
    margin-right: 9vw;
    border: 2vw solid #f09904;
    background-color: #f09904;
}

.basic-orange-div {
    width: 80vw;
    margin-left: 9vw;
    margin-right: 9vw;
    border: 2vw solid #f09904;
    background-color: #f09904;
}

.rocm-form-group {
    background-color: #f09904;
    margin-left: 15vw;
    margin-right: 15vw;
    text-align: center;
}

/* Grid and cards - custom styling */
#grid {
    background-color: #f09904;
    width: 80vw;
    margin-left: 9vw;
    margin-right: 9vw;
    border: 3vw solid #f09904;
}

#grid .rocm-card {
    font-size: 30px;
    color: #ffffff;
    background: #b9dcff;
    text-align: center;
    box-shadow: 2px 2px 2px #1a191a;
    border-radius: 0;
    overflow: hidden;
}

#grid .rocm-card:hover {
    transform-origin: center;
    transform: scale(1.1);
    transition: 1.5s;
    border-radius: 45px;
}

#grid .rocm-card-img-top {
    border-radius: inherit;
    margin-top: -20px;
    object-fit: scale-down;
    max-height: 200px;
    max-width: 200px;
}

#grid .rocm-card-body {
    block-size: max-content;
}

.image-border {
    height: 200px;
    background: #b9dcff;
    overflow: hidden;
}

.card-custom{
    background: skyblue;
}

/* Trash can icon - custom component */
.trash-can {
    box-sizing: border-box;
    width: 17px;
    height: 19px;
    position: relative;
    cursor: pointer;
}

.trash-can.tiny {
    transform: scale(1.7);
    transition: 2s;
}

.trash-can .top {
    height: 3px;
    width: 100%;
    position: relative;
    top: -1px;
    transition: all 100ms ease-out;
}

.trash-can .top .handle {
    width: 11px;
    height: 6px;
    margin: 0 auto;
    position: relative;
    left: 0;
    border-radius: 50% 50%;
    border: 2px solid var(--color-trash-can);
}

.trash-can .top .handle:after {
    content: "";
    display: block;
    width: 65%;
    height: 50%;
    position: relative;
    top: 25%;
    left: 17.5%;
    border-radius: 50% 50%;
    background: var(--color-white);
}

.trash-can .top .base {
    height: 2px;
    position: relative;
    bottom: 2px;
    background: var(--color-trash-can);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.trash-can .body {
    width: 13px;
    height: 16px;
    position: relative;
    margin: 0 auto;
    border: 2px solid var(--color-trash-can);
    background: var(--color-white);
}

.trash-can .body .line {
    background: var(--color-trash-can);
    position: absolute;
    height: 10px;
    width: 1px;
    left: 1px;
    top: 1px;
}

.trash-can .body .line.second { left: 3.5px; }
.trash-can .body .line.third { left: 7px; }

.trash-can:hover .top {
    transform: rotate(50deg) skew(0deg) translate(2px, -7px);
    transition: 1.46s;
}

/* Images */
.logo-img {
    max-height: 232px;
    object-fit: cover;
}

.profile_img {
    width: 350px;
    object-fit: scale-down;
}

.event-img {
    width: 80vh;
    height: auto;
    box-shadow: 8px 12px 8px rgb(82, 80, 80);
}

/* Download link */
.download-file {
    color: blueviolet;
    text-decoration: underline;
}
.download-file:hover {
    color: red;
}

/* Nav link hover */
.item-link:hover {
    background: var(--color-dark-grey);
}

/* Table overrides - Bootstrap table + brand colors */
.table th {
    background-color: #373d87;
    color: white;
    border-color: #373d87;
    padding: 0;
}

/* Registration checkbox - specific form override */
input#registration_form_agreeTerms.form-check-input {
    position: relative;
    left: 45vw;
    transform: scale(1.45);
}

/* Textarea height */
textarea#event_form_description.form-control {
    height: 30vh;
}

/* Typography - inherit from body, override specifics */
h1 { color: #1a191a; font-size: xx-large; }
h3 { font-size: large; color: #1a191a; }
h5 { color: #8c8c91; }
p { font-size: large; color: #1a191a; }
hr { color: #1a191a; }
label { text-decoration: underline; }

/* Forms */
form { display: inline-block; }

/* Links - brand style */
a { color: white; text-decoration: none; }
a:hover { color: white; text-decoration: none; }

/* Outlined bold font */
.outlineBold {
    font-size: xxx-large;
}

/* Responsive */
@media (max-width: 800px) {
    .rocm-form-group {
        margin-left: 0;
        margin-right: 0;
    }
    /* Match original small-screen button spacing */
    .btn-primary,
    .btn-danger,
    .btn-warning {
        margin: 10%;
    }
}

@media (min-width: 992px) {
    .profile_img {
        width: 100%;
    }
}
