

body {
    background-image: url("/img/competitions/main/competitions_logo.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    background-attachment: fixed;
    color: grey;
}



.language-switch {
    color: goldenrod;
    position: fixed;
    top: 10px;
    right: 15px;
    width: fit-content;
}

main {
    margin-top: 40px;
}

.main-content {
    height: calc(100% - 175px);
    width: 50%;

    overflow-y: auto;
    top: 50;
    left: 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    padding: 0;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: rgba(140, 130, 110, 0.45) rgba(245, 239, 223, 0.35);
}

.main-content::-webkit-scrollbar {
    width: 10px;
}

.main-content::-webkit-scrollbar-track {
    background: rgba(245, 239, 223, 0.35);
    border-radius: 999px;
}

.main-content::-webkit-scrollbar-thumb {
    background: rgba(140, 130, 110, 0.45);
    border-radius: 999px;
    border: 2px solid rgba(245, 239, 223, 0.35);
}

h1,
h2 {
    text-align: center;
    font-style: italic;
    max-width: 90%;
    color: #6f5a3a;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: 10px;
    margin-right: 10px;
}
.competition-sidebar .chosen-page{
    margin-left: 0;
    padding: 15px;
    border: solid green 0.5px;
    border-radius: 7px;
    background-color: rgba(218, 235, 241, 0.876);
}
.epmphesize-div {
    border-radius: 7px;
    border: rgba(3, 92, 3, 0.781) 1px solid;
    background: linear-gradient(#f1ffe7, #dcdcf7db);
    padding: 15px;
}
#days-days, .soon-event{
    margin-left: 20px;
    color: darkgreen;
}
.epmphesize-div p {
    color: black;
}

p {
    text-indent: 1em;
}

.fieldset {
    max-width: 100%;
    margin: 7px;
    border: rgb(158, 200, 126) 1px solid;
    padding: 10px;
    margin-top: 25px;
    background: linear-gradient(#d3d3fff5, #fefeffa8);
    border-radius: 7px;
}

.language-switch select {
    background: rgb(53, 52, 52);
    color: azure;
    cursor: pointer;
    border-radius: 7px;
    border: 1px rgb(0, 36, 0) solid;
}

.language-switch select option {
    background: rgb(53, 52, 52);
    cursor: pointer;
    color: goldenrod;
}
.section-logo{
    margin: 0;
    margin-bottom: 20px;
    margin-top: 20px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.section-logo img {
    border-radius: 30px;
    width: fit-content;
    height: auto;
    min-width: 150px;
}

li{
    color: rgb(11, 97, 100);
    font-style: italic;
}
.competition-nav-name {
    font-size: 1.3em;
    color: rgb(77, 55, 0);
    font-style: italic;
    font-weight: bolder;
}

footer {
    height: 60px;
    display: flex;
    min-width: 97%;
    max-width: 100vw;
    margin-top: 10px;
    align-items: center;
    /* Vertically centers */
    justify-content: center;
    text-align: center;

    bottom: 0;
}

.competitions-data {
    width: 100%;
    height: calc(100vh - 150px);
    display: flex;
    flex-direction: column;
    align-items: start;
    row-gap: 15px;
    padding: 10px;
    border-radius: 7px;
    background: linear-gradient(0.25turn, #eeaf6c9b, #ebf8e1, #76c2e2);
    scrollbar-width: thin;
    scrollbar-color: rgba(140, 130, 110, 0.45) rgba(245, 239, 223, 0.35);
}



#custom-cursor {
  position: absolute;
  width: 1px;
  background-color: black;
  pointer-events: none; /* Ensures the cursor doesn't block clicks */
  display: none;        /* Hidden until a click occurs */
  /* Blink animation: 1 second duration, infinite loop */
  animation: blink 1s step-end infinite;
}

.competitions-to-submit {

    border-radius: 7px;
    border: solid 0.5px green;
    padding: 10px;
    background-image: url("/img/competitions/main/competitions_logo.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.competitions-data-cont {

    border-radius: 7px;
    border: solid 0.5px rgb(0, 64, 128);
    padding: 10px;
    background: rgba(233, 214, 177, 0.72);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}




.contest-main-n {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 15px;
    padding: 10px;
}

.contest-main-n progress {
    width: 100%;
}

.contest-main-n label {
    font-size: 1.3em;
    font-style: oblique;
    font-weight: bold;
    color: rgb(53, 157, 72);
}

.contest-main-data {
    width: 100%;
    padding: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;

}

.stylish-btn {
    margin-top: 15px;
    margin-bottom: 20px;
    padding: 12px 24px;
    background-color: #b4d0f0bb;
    max-width: 100%;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 0.5px solid darkgreen;
    cursor: pointer;
}

.stylish-btn a {
    text-decoration: none;
    color: green;
}

.stylish-btn:hover {
    background: rgba(233, 214, 177, 0.72);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    color: green;
}

.contest-main-data label {
    font-weight: bold;
    color: black;
}
.crumbs a{text-decoration: none; font-size: 1.2em;}
/* nav block */

.crumbs {
    position:fixed;
    width: 300px;
    height: fit-content;
    top: 0;
    left: calc(50vw - 150px);
    z-index: +1;

}
.expand{
    position:absolute;
    top: 5px;
    left: -30px;
    font-size: large;
    cursor: pointer;
    text-align: center;
    background-color: black;
    border-radius: 7px;
    color: wheat;
}
.invisible{
    display: none;
}
.sflex{
    display: flex;
}
.crumbs ol {
    list-style-type: none;
    flex-direction: column;
    /* Default behavior */
    flex-wrap: wrap;
    /* Allows items to wrap to next line */
    gap: 10px;
    /* Spacing between items */
    padding-left: 0;
    align-items: center;
    
}

.crumbs ol li {
    border: solid 2px lightslategray;
    padding: 7px;
    cursor: pointer;
    background: linear-gradient(#fed8d8, #cdd1ff);
    width: 200px;
    margin-bottom: 5px;
}

.crumb {
    display: inline-block;
}
/* end nav block */

@keyframes blink {
  from, to {
    background-color: transparent;
  }
  50% {
    background-color: black;
  }
}
@media (min-width: 901px) {
    .competitions-data {
        width: calc(100%*0.23);
        position: fixed;
        top: 75px;
        left: 75%;
        height: calc(100% - 150);
        overflow-y: auto;
        padding-bottom: 50px;
        margin-top: 20px;
    }

    .competition-sidebar {
        width: calc(100%*0.25);
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        overflow: auto;
        background: linear-gradient(0.25turn, #b2d3e1, #ebf8e1, #d2b79a);
        border-radius: 7px;
        border: solid 2px gray;
        padding-bottom: 50px;
        scrollbar-width: thin;
        scrollbar-color: rgba(140, 130, 110, 0.45) rgba(245, 239, 223, 0.35);

    }

    .sidenav-h {
        font-size: 2em;
        font-weight: bold;
    }

    .competition-sidebar nav ul li {
        list-style: none;
        margin: 0;
        padding: 0;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .competition-sidebar a {
        text-decoration: none;
        color: rgb(42, 50, 114);
        font-size: 1.2em;

    }


}