/* Custom Styles */
@font-face {
    font-family: 'Bank Gothic';
    src: url('../fonts/BankGothicBold.ttf') format('truetype');
}

/** {*/
/*    border: 1px solid red !important;*/
/*}*/

html {
    height: 100%;
}

body {
    min-height: 100%;
}

.header-font {
    font-family: 'Bank Gothic', sans-serif;
}

.body-font {
    font-family: 'Roboto', sans-serif;
}

.max-h-800 {
    max-height: 800px;
}

.primary-color-text {
    color: #56b1bf;
}

.primary-color-background {
    background-color: #56b1bf;
}

.hover-primary-button:hover {
    background-color: #56b1bf;
    color: white;
}

.hover-primary:hover {
    color: #56b1bf;
}

.secondary-color-text {
    color: #425052;
}

.secondary-color-background {
    background-color: #425052;
}

.hover-tertiary:hover {
    color: #e7744e;
}

.tertiary-color-text {
    color: #e7744e;
}

.tertiary-color-background {
    background-color: #e7744e;
}

.hover-scale:hover {
    transform: scale(1.05); /* Adjust the scale value as needed */
    transition: transform 0.3s ease; /* Smooth transition for scale */
}

h1, h2 {
    word-wrap: break-word;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.pulse {
    display: inline-block;
    animation: pulse 1s infinite;
}

#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #e7744e;
    color: white;
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 4px;
    opacity: 0.7;
    font-size: 18px;
    text-align: center;
}

#scrollToTopBtn .arrow {
    display: block; /* Each arrow on a new line */
}

#scrollToTopBtn:hover {
    background-color: #56b1bf;
    opacity: 1;
}

section {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

details {
    margin-bottom: 10px;
}

details[open] summary ~ * {
    animation: slideDown 0.5s ease-in-out;
}

details p {
    border: 1px solid #ddd;
    border-radius: 0 0 4px 4px; /* Rounded corners only at the bottom */
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin-top: 0; /* No space between summary and paragraph */
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

summary {
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    background-color: #f8f8f8;
    padding: 10px;
    margin-bottom: -1px; /* Align summary with paragraph */
}

summary::-webkit-details-marker {
    display: none; /* Hide the default arrow icon in Chrome */
}

.fa-chevron-down {
    transition: transform 0.5s ease;
}

details[open] .fa-chevron-down {
    transform: rotate(
        180deg
    ); /* Flip the arrow icon when details is open */
}

/* Apply different styles when the details element is open */
details[open] summary {
    border-radius: 4px 4px 0 0; /* Rounded corners only at the top */
}

details:not([open]) summary {
    border-radius: 4px; /* Rounded corners all around when closed */
}

@media (max-width: 768px) {
    nav div {
        flex-direction: column;
    }

    #menu-btn {
        position: absolute;
        right: 2rem;
        top: 2rem;
    }
}

#mobile-menu {
    transition: max-height 0.3s ease;
    opacity: 0.7;
}

.mobile-menu-btn {
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.mobile-menu-btn:focus {
    outline: none;
}

.menu-bar {
    display: block;
    height: 2px;
    width: 100%;
    background-color: black;
    transition: all 0.3s linear;
}

/* Toggle animations */
.menu-btn-toggled .top-bar {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn-toggled .middle-bar {
    opacity: 0;
}

.menu-btn-toggled .bottom-bar {
    transform: rotate(-45deg) translate(10px, -10px);
}
