html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@font-face {
    font-family: TWKEverett-Bold;
    src: url(../font/TWKEverett-Bold.woff);
}

@font-face{
    font-family: "Inter", sans-serif;
    font-style: normal;
}

body{
    overflow-x:hidden;
}

* {
    font-family: "Inter";
}

h1, h2, h3, h4, h5, h6{
    font-family: TWKEverett-Bold;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/*#media-nav {
    justify-content: space-between;
    overflow: hidden;
}*/

.logo {
    background-image: url(../photos/logo/LogoPNG-01-kropovanaSVG.svg);
    width: 200px;
    height: 100px;
    background-repeat: no-repeat;
    margin-left:1rem;
}

.card-img{
    padding:20px;
    width:250px;
    max-height:147px;
}

/*.logotip {
    padding: 20px;
    width: 250px;
    max-height: 147px;
}*/

.wrapper {
    padding: 0 !important;
    overflow: hidden;
}

.partnersTitle h1 {
    margin: 60px 0 30px 0;
    color: #ffffff;
    -webkit-text-stroke-width: 2.2px;
    -webkit-text-stroke-color: #0f05ec;
}

.partnersDescription p {
    font-size: 18px;
}

.partnersDescription {
    margin: 0 0 30px 0;
}

.newsWrapper {
    max-width: 100%;
    padding: 7rem 5rem 0rem 5rem;
    width: 100%;
    position: relative;
    /*background: linear-gradient(to left top, #bdbbfe, #ffcb9e);*/
}

    .newsWrapper i {
        height: 50px;
        width: 50px;
        background: white;
        text-align: center;
        line-height: 50px;
        border-radius: 50%;
        cursor: pointer;
        position: absolute;
        top: 50%;
        font-size: 1.25rem;
        transform: translateY(-50%);
        box-shadow: 0 3px 6px rgba(0,0,0,0.23);
        color:#0f05ec;
        
    }

        .newsWrapper i:first-child {
            left: -22px;
            margin-left: 2rem;
        }

        .newsWrapper i:last-child {
            right: -22px;
            margin-right: 2rem;
        }

    .newsWrapper .carousel {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: calc((100% / 4) - 12px);
        gap: 16px;
        overflow: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
    }

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel :where(.card, .img) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel.dragging {
    scroll-snap-type: none;
    scroll-behavior: auto;
}

    .carousel.dragging .card {
        cursor: grab;
        user-select: none;
    }

.disable {
    pointer-events: none;
}


/*ul.card {
    height: 542px;  
    list-style: none;
    display: flex;
    border: none;
    cursor: pointer;
    padding-bottom: 15px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}*/

.carousel .card {
    scroll-snap-align: start;
    height: 642px;
    list-style: none;
    display: flex;
    border: none;
    cursor: pointer;
    padding-bottom: 15px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.card .img {
    width: 448px;
    height: 448px;
}

    .card .img img {
        width: 330px;
        height: 330px;
        object-fit: cover;
        border-radius: 2rem;
        border-radius: 2rem;
        filter: drop-shadow(17px 23px 10px #d8d8d8);
    }

.card-title {
    width: 330px;
}

.card-text {
    width: 330px;
    height: 150px;
}

.card h2 {
    font-weight: 500;
    font-size: 1.56rem;
    margin: 30px 0 5px;
}

.card span {
    color: #6a6d78;
    font-size: 1.3rem;
}

/*@media screen and (max-width:900px) {
    .wrapper .carousel {
        grid-auto-columns: calc((100%/2) - 9px);
    }
}

@media screen and (max-width:600px) {
    .wrapper .carousel {
        grid-auto-columns: 100%;
    }
}*/

.offcanvas {
    background: linear-gradient(#0f05ec,#0f05ec)
}

    .offcanvas h2 {
        font-size: 2rem;
        letter-spacing: 0.1rem;
    }

.offcanvas-body {
    height: auto;
    display: grid;
    grid-template-rows: auto;
}

    .offcanvas-body a {
        height: auto;
        text-decoration: none;
        color: white;
        font-size: 1.8rem;
        letter-spacing:0.1rem
    }

        .offcanvas-body a:hover {
            text-decoration: none;
            color: white;
        }

footer{
    background: #e8e8e8
}

    footer a {
        text-decoration: none;
        color: #0f05ec;
        font-size: 1.5rem;
    }
    footer span {
        color: #0f05ec;
        font-size: 1.5rem;
    }
    footer button {
        text-decoration: none;
        text-align: center;
        color: #fb952f;
        font-size: 1rem;
        border: solid 2px #95f352;
        width: fit-content;
        height: 50px;
        padding: 2px !important;
        display: flex;
        align-items: center;
    }

button {
    position: relative !important;
}

.newsletter {
    background: white;
}
    .newsletter h2 {
        color: #0f05ec;
        margin: 0;
        padding: 10px 0 10px 0;
    }
    .newsletter h3 {
        color: #fb952f;
        margin: 0;
        padding: 10px 0 10px 0;
    }

    .newsletter button {
        position: relative;
        width: fit-content;
        border-radius: 0;
        border: solid 2px #95f352;
        background: transparent;
        align-content: center;
        overflow: hidden;
    }

    .newsletter form input{
        border:none;
        border-bottom: solid 2px #fb952f;
        color:black;
        font-size:22px;
    }

    .newsletter form textarea {
        border: none;
        border-bottom: solid 2px #fb952f;
        color: black;
        font-size: 22px;
    }

    .newsletter form textarea:focus {
        outline:none;
    }

    .newsletter form input:focus {
        outline:none;
    }
    .newsletter a {
        color: #0f05ec;
    }
    .newsletter a:hover{
        color:#0f05ec;
    }

.welcome-section{
    overflow:hidden;
}

.welcome-section .col-6{
    padding:0;
}

.welcome-section h2{
    color:#0f05ec;
}


.about a {
    text-decoration: none;
    text-align: center;
    color: #0f05ec;
    font-size:30px;
    padding:2rem;
}
    .about a:hover {
        text-decoration: none;
        cursor: pointer;
        color: #0f05ec;
    }

#aboutUsTitle {
    margin:0 0 0 0;
    color: #ffffff;
    -webkit-text-stroke-width: 2.2px;
    -webkit-text-stroke-color: #0f05ec;
}

#aboutUs {
    display: grid;
    width: 963.5px;
    grid-template-rows: auto;
    row-gap: 70px;
    align-items: center;
    background: #e8e8e8;
    align-content: center;
    
}

.partners {
    background: linear-gradient(white, #ffffff);
    margin: 0;
}


/*@media screen and (max-width: 600px) {
    #aboutSection .row {
        flex-direction: column;
    }

    #aboutSection p img {
        width: 100%;
    }
}

@media screen and (max-width: 900px) {
    #aboutSection .row {
        flex-direction: column;
    }

    #aboutSection p img {
        width: 100%;
    }
}*/

/* dugme sekcija*/

.aboutButton {
    color: #fb952f;
    font-size: 20px;
}

#email-section-one {
    display: flex;
    justify-content: center;
}

#email-section-two {
    width: 60%;
    display: grid;
    align-content: center;
    justify-content: space-around;
    border-radius: 1.5em;
    background: #f0e6ff;
}


/*reveal on scroll*/

header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 99;
    transition: all 300ms ease-in-out;
}


.scroll-down header {
    transform: translate3d(0, -100%, 0);
}

.scroll-up header {
    filter: drop-shadow(0 -10px 20px rgb(170, 170, 170));
}

/*policy sec*/

.policy-title {
    background: #e8e8e8;
    height: 200px;
    align-content: center;
    color: #e8e8e8;
    -webkit-text-stroke-width: 2.2px;
    -webkit-text-stroke-color: #0f05ec;
    font-size:34px;
}

.policy-description{
    font-size:26px;
}


#background-img {
    background-image: url(../photos/about/Pozadina-zvezda.png);
    width: 100%;
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}


/*#media-hero-img {
    background-image: url(/photos/hero/Hero01.png);
    background-repeat: no-repeat;
    width: 100%;
}*/


/*MEDIA SECTION*/
@media screen and (max-width: 900px) {

    /*.offcanvas-body a{
        font-size:22px;
    }

    .welcome-section {
        filter: none !important;
    }*/

    /*#media-hero-img {
        background-image: url(/photos/hero/Hero01.png);
        background-size: contain;
        display: block;
        width: 100%;
        height: auto;
        max-height: 300px;
        margin-bottom: -8rem;
    }*/

    /*#about-project {
        display: grid;
        grid-template-columns: repeat(1, 1fr) !important;
        grid-template-rows: auto;
    }

        #about-project h1 {
            font-size: 34px;
            justify-content:center!important;
            padding-left:0!important;
        }*/

    /*#projectDesc{
        font-size:18px!important;
    }

    #media-read-more{
        justify-content:center!important;
        padding-right:0!important;
    }

    #media-about-carousel {
        padding-top: 2rem;
        width: 100%;
    }*/

    /*#partnersTitle {
        justify-content: start !important;
        margin: 0 1rem 0 14px;
    }

        #partnersTitle h1 {
            font-size: 34px;
        }

    .partnersDescription p {
        text-align: justify !important;
        margin: 0 1rem 0 14px !important;
    }

    .partners div {
        flex-direction: column !important;
        justify-content: center !important;
    }

    #partner-social {
        flex-direction: row !important;
        justify-content: center !important;
        padding-bottom: 2rem;
    }

    #partner-social2 {
        flex-direction: row !important;
        justify-content: center !important;
        padding-bottom: 2rem;
    }

    #partner-social3 {
        flex-direction: row !important;
        justify-content: center !important;
        padding-bottom: 2rem;
    }

    #partner-social4 {
        flex-direction: row !important;
        justify-content: center !important;
        padding-bottom: 2rem;
    }*/

    a.logo {
        background-image: url('/photos/logo/1e6e6ecde7103f15b91e583e355684d2.svg');
        background-repeat: no-repeat;
        background-size: contain; /*Adjust this property based on your needs*/
        width: 80px;
        height: 80px;  /*Adjust this property based on your needs*/
        display: block; /*Add this property to ensure it's a block element */
    }
    nav{
        height:80px;
    }
    

    /*.field-validation-valid{
        padding:0!important;
    }

    #background-img .d-flex{
        flex-direction:column;
    }*/

    #about{
        display:grid!important;
        grid-template-columns:repeat(1, 1fr)!important;
        grid-template-rows:auto!important;
        padding:0!important;
    }

    #about h1{
        font-size:34px;
        justify-self:center;
    }
        #about row {
            display:flex;
            flex-direction:column;
        }
        #about p {
            width:100%!important;
            padding:1rem 2rem 1rem 2rem!important;
            margin:0;
        }

    #newsText, #newsImage {
        padding-left: 10px;
        padding-right: 10px;
    }
    /*#partners{
        padding:0!important;
    }

    #partners h1 {
        font-size: 34px;
        text-align:center!important;
    }

        #partners p {
            width: 100%;
            padding: 1rem 2rem 1rem 2rem !important;
        }

    #media-logotipi{
        flex-direction:column;
        width:100%;
        padding-left:20px;
    }
        #media-logotipi .col-6 {
            width: 100%;
        }
        #media-logotipi a {
            padding: 0 !important;
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            justify-items: center;
            width: 100%!important;
        }
        #media-logotipi a img {
            padding-bottom: 1rem !important;
        }

    #donors {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        padding: 0 !important;
        padding-top:2rem!important;
    }
    #donors h1{
        font-size:34px;
        justify-self:center;
    }

    .col-6 {
        padding: 0 !important;
        
    }

        .col-6 img {
            width: 200%;
            padding: 2rem 2rem 4rem 2rem;
        }

    .newsletter form .d-grid{
        display:grid;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: auto;
        padding-left:2rem;
    }

    #media-policy {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: auto;
    }

        #media-policy div {
            width: 100%;
        }

    .policy-title{
        display: flex!important;
        justify-content:center!important;
        width:100%;
        overflow:hidden;
    }

    .policy-title h1 {
        text-align:center;
        font-size:34px;
    }

    .policy-description {
        display: grid !important;
        grid-template-columns: repeat(1, 1fr) !important;
        grid-template-rows: auto !important;
        padding: 1rem 1rem 1rem 1rem!important;
        overflow: hidden;
        font-size:20px;
    }
    .policy-description p{
        text-align:justify;
    }

    #footerReview form button {
        text-decoration: none;
        text-align: center;
        color: #fb952f;
        font-size: 20px;
        border: solid 2px #95f352;
        width: fit-content;
        height: 50px;
        padding: 2px !important;
        display: flex;
        align-items: center;
        margin-left: 5px !important;
        margin-bottom: 0px !important;
    }
}*/

