
*::-webkit-scrollbar {
    display: none;
}

* {
    scrollbar-width: none;
    overflow: -moz-scrollbars-none;
    -ms-overflow-style: none;
}
.course-container {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    color: var(--text-color);
    margin: auto;
    margin-bottom: 10em;
}

.course-header {
    width: 70%;
    line-height: 3em;
}

.course-header h5 {
    color: var(--text-color-blue);
}

.course-header h1 {
    font-size: 2.7em;
    font-weight: var(--font-bold);
}

.course-item  {
    border-radius: 2em;
    width: 62%;
    height: 100%;
    padding: 4em;
    overflow-wrap: break-word;
}
#contform  {
    border-radius: 2em;
    width: 70%;
    padding: 4em;
    position: relative;
    overflow-wrap: break-word;
}

.course-item.bg {
    background: var(--article-gradient);
    background-color: rgba(255, 255, 255, 0.7);
    background-blend-mode: lighten;
    
}

.course-item.blue-bg {
    background: var(--button-gradient-old);
    color: white;
    width: 100%;
}

.course-item.row {
    display: flex;
    flex-flow: row;
}

.course-item h1 {
    font-size: 2.2em;
    font-weight: var(--font-semibold);
}

.course-trener {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
}

.course-trener-name {
    width: auto;
    display: flex;
    flex-flow: column nowrap;
    text-align: end;
    margin-top: 3em;
    padding-right: 2em;
}

.course-trener-name h2 {
    width: 100%;
    font-size: 2.7em;
    font-weight: var(--font-regular);
}

.course-trener-name h1 {
    width: 100%;
    font-size: 2.7em;
    font-weight: var(--font-semibold);
    position: relative;
    z-index: 1;
}

.course-trener-name h1::before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    bottom: 0;
    left: -1em;
    width: 10em;
    border-radius: 30px;
    z-index: -1;
    background: var(--article-gradient);
    background-color: rgba(255, 255, 255, 0.6);
    background-blend-mode: lighten;
}

.course-trener-image {
    flex-shrink: 0;
    width: 12em;
    height: 12em;
    margin-top: 4em;
    background: var(--circle-gradient);
    border-radius: 100%;
    position: relative;
    z-index: 2;
}

.course-trener-image #trener {
    position: absolute;
    width: 85%;
    aspect-ratio: 426/586;
    left: 0.95em;
    bottom: 1em;
    z-index: 4;
}

.course-trener-image #arrow {
    position: absolute;
    width: 3em;
    aspect-ratio: 430/581;
    bottom: 0;
    right: -1.7em;
    transform: rotateZ(-30deg);
    z-index: 3;
}

.course-trener-text {
    flex-shrink: 0;
    width: 50em;
    height: 8em;
    padding: 2em;
    padding-left: 4em;
    position: relative;
    z-index: 1;
    font-size: 70%;
}

.course-trener-text::before {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    bottom: 0;
    right: 0;
    width: 110%;
    border-radius: 10px;
    z-index: -1;
    background: var(--article-gradient);
    background-color: rgba(255, 255, 255, 0.6);
    background-blend-mode: lighten;
}

.course-trener-text a {
    text-decoration: none;
    white-space: nowrap;
    color: white;
    top: 150%;
    left: 2em;
    position: absolute;
    font-size: 1.6em;
    font-weight: var(--font-medium);
    background: var(--button-gradient);
    padding: 0.7em 2em 0.7em 2em;
    border-radius: 30px;
    z-index: 1;
}

.course-trener-text a::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--button-gradient-inversed);
    border-radius: 30px;
    transition: opacity 0.15s ease-in;
    opacity: 0;
    z-index: -1;
}

.course-trener-text a:hover::before {
    opacity: 1;
}

.small-container {
    margin: 7em 0;
    width: 100%;
    padding: 0 8em;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 3em;
}

.small-item {
    padding: 1.5em 5em;
    background: var(--article-gradient);
    background-color: rgba(255, 255, 255, 0.6);
    background-blend-mode: lighten;
    white-space: nowrap;
    display: flex;
    flex-flow: column;
    align-items: center;
    border-radius: 10px;
}

.small-item h1 {
    font-size: 1.7em;
    font-weight: var(--font-semibold);
    margin-bottom: 1em;
}

.small-item div {
    flex-grow: 1;
    display: flex;
    flex-flow: column;
    align-items: center;
    height: max-content;
    justify-content: center;
}

.small-item p {
    font-size: 1.7em;
    font-weight: var(--font-regular);
    white-space: nowrap;
}

.bur {
    align-items: center;
    justify-content: flex-start;
    font-size: 1.7em;
}

.bur p {
    white-space: nowrap;
    font-weight: var(--font-semibold);
}

.bur a {
    flex-shrink: 0;
    flex-grow: 0;
    margin: 0 5em;
    height: 4em;
    width: 4em;
}

.bur a img {
    width: 100%;
    height: 100%;
}

.bur .arrow {
    position: absolute;
    width: 17em;
    aspect-ratio: 430/581;
    transform: translate(17em, -1em) scaleY(0.16) scaleX(-0.23) rotate(120deg);
}

.links {
    margin-top: 2em;
    padding: 0;
    font-size: 1.3em;
    align-items: center;
    justify-content: space-around;
}

.links a {
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    display: flex;
    align-items: center;
}

.links a span {
    flex-shrink: 0;
    flex-grow: 0;
    display: block;
    width: 4em;
    aspect-ratio: 1/1;
    margin-right: 1em;
    border-radius: 100%;
    background: var(--button-gradient-old);
    display: flex;
    justify-content: center;
    align-items: center;
}

.links a span img {
    width: 60%;
}

.links a::before {
    content: '';
    position: absolute;
    top: 32%;
    left: 10%;
    bottom: 32%;
    right: -5%;
    z-index: -1;
    /* background: var(--article-gradient); */
    border-radius: 100px;
}
#overForm{
    width: calc(100% - 8em);
    height: calc(100% - 8em);
    background-color: #1d2f57ee;
    z-index: 999;
    position: absolute;
    border-radius: 2em;
    top: 4em;
    left: 4em;
    display: none;
    place-content: center;
    
}
#overForm span{
    font-size: 5vw;
    padding: 25px;
    color: #FFF;
    text-align: center;
}
.reserve {
    width: 100%;
    display: grid;
    gap: 1em 2em;
    grid-template-columns: 2fr 3fr 1.5fr 5fr;
    grid-template-rows: repeat(3, 3em);
}
.reserve *{
    font-family: Montserrat;
}

.reserve input {
    border: 0;
    background: var(--article-gradient);
    background-color: rgba(255, 255, 255, 0.9);
    background-blend-mode: lighten;
    width: 100%;
    height: 2em;
}

.reserve .agree {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    height: 50px;
    padding-bottom: 10px;
    line-height: 7px;
}

.reserve .agree label {
    font-size: 0.5em;
    display: flex;
    align-items: flex-end;
    font-weight: var(--font-medium);
    margin: 0;
}
*:focus{
    outline: none;
}
input{
    padding: 5px;
}


.reserve .agree input,
.reserve .agree select {
    width: fit-content;
    height: 1em;
    margin-right: 1em;
}

.reserve #submit {
    align-self: center;
    position: relative;
    z-index: 1;
    width: 80%;
    height: 2em;
    background: var(--button-gradient-dark);
    border: 1px solid white;
    color: white;
    font-weight: var(--font-bold);
    border-radius: 0.4em;
    font-family: Montserrat;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reserve #submit::before {
    position: absolute;
    z-index: -1;
    content: "";
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
    background: var(--button-gradient-old);
    border-radius: 0.4em;
    transition: opacity 0.2s ease-in-out;
    font-family: Montserrat;
}

.reserve #submit:hover::before {
    opacity: 1;
}

.reserve #date{
    padding: 5px;
}
/* media quieries */

@media (max-width: 1000px) {
    body {
        font-size: 0.55em;
    }
    .course-header {
        width: 96%;
        font-size: 0.33em;
    }
    .course-item {
        border-radius: 1.5em;
        font-size: 0.6em;
        /* width: 78%; */
    }
    .course-trener-text {
        width: 42em;
        height: 12.5em;
        padding-left: 2em;
    }
    .course-trener-text a {
        top: 110%;
    }
    .small-container {
        width: 100%;
        padding: 0 0.5em;
        gap: 2em;
    }
    .small-item {
        font-size: 0.5em;
    }
    #contform{
        padding: 35.2px;
    }
    #overForm::after{
        font-size: 3vw;
    }
    #overForm{
        width: calc(100% - 2 * 35.2px);
        height: calc(100% - 2 * 35.2px);
        top: 35.2px;
        left: 35.2px;
        border-radius: 1.5em;
    }
    .reserve {
        width: 100%;
        display: flex;
        gap: 2em;
        flex-direction: column;
    }
}
