html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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;
}

.page-item.active .page-link {
    background-color: green;
    border-color: green;
    color:black;
}

.page-item.disabled .page-link {
    color: white;
    background-color: black;
    border-color: green;
}

html {
    position: relative;
    height: 100%;
}

.logo-header {
    width: 40%;
    padding-right:10px;
}

.logo-footer{
    width:150px;
    padding:15px;
}

.footer-text {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    text-align: left;
}

body {
    font-family: 'Montserrat';
    margin: 0;
    justify-content: center;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}


.body-div {
    flex: 1 0 auto;
    align-items: center;
    margin: 0;
    width: 100%;
    /*background-image: url("../Images/swallow_light.png");*/
    background-repeat: repeat-y;
    background-attachment: fixed;
    background-size: contain;
    background-color: black;
    background-blend-mode: lighten;
    /* min-height: 50vh;*/
}

.footer-bck {
    display: flex;
    flex-direction: column;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), url('../Images/Matrix-bottom.jpg');
    background-color: black;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 300px;
    color: white;
    padding: 30px;
    justify-content: center;
}

.footer {
    flex-shrink: 0;
    line-height: inherit !important;
    position: relative !important;
    text-align: center;
}

.footer-content {
    padding-bottom: 30px;
    padding-left: 30px;
    /*margin-top: auto;*/
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center; 
    padding-bottom: 0; 
    padding-left: 0;
}


.container {
    padding-top: 30px;
    padding-bottom: 250px;
    color: white;
}

h1, h2, h4 {
    font-family: "Playfair Display", serif;
    color:white;
}

.control-label{
    color:white;
}

.textarea-body {
    min-height: 500px;
    overflow-y: auto;
    resize: vertical;
}

.textarea-description {
    min-height: 100px;
    overflow-y: auto;
    resize: vertical;
}

.news {
    margin-top: 10vh;
}

.login-div{
    padding-left:20%;
}



.error-page{
    min-height:50vh;
}

.home-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /*height: 100vh;*/
    text-align: center;
    margin-top: -100px;
    z-index: 10;
    position: relative;
}

.main-image {
    max-width: 70%;
    height: auto;
}

.button-row {
    display: flex;
    justify-content: center;
    width: 40%;
    
}

.button-main {
    margin: 30px;
}

.button-row button {
    padding: 12px 24px;
    font-size: 16px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    color: white;
    transition: all 0.2s ease-in-out;
    width:180px;
    font-weight:bold;
}

.button-row form:first-child button {
    background-color: #e53935;
}


.button-row form:last-child button {
    background-color: #1e88e5;
}

 
.button-row button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

   
.button-row button:active {
    transform: scale(0.97);
}

.form-group textarea {
    width: 100%;
    height: 200px;
}

.form-group button {
    margin-left:20%;
}

.article-main{
   
    padding-bottom: 50px;
    z-index: 10;
    position: relative;
}

.article-image {
    background-color: lightgrey;
    padding: 10px;
    max-width: 100%;
}

.article-body article {
    text-align: justify;
    text-justify: inter-word;
}

.article-body img,
.col-md-6 img {
    border-radius: 8px; /* adjust px for more or less rounding */
}

.bg-gray {
    /*   background-image: url("../Images/Matrix-top.jpg");*/
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2)), url('../Images/Matrix-top.jpg');
    /*    background-color: black;*/
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 10;
    position: relative;
    height: 250px;
    margin: 0;
}

.nav-link{
    color: white !important;
}

.edit-div{
    width:80%;
    margin-left:10%;
    color:white;
}

table {
    color: white !important;
}

#carouselExampleCaptions {
    margin-top: -60px;
}




.navbar-collapse {
  /*  background-color: #62CCFE;*/
}




.container-fluid {
    /*margin-bottom: 100px;*/
}

.article-container {
    margin-bottom: 150px;
    padding-bottom:20px;
    padding-top: 50px;
    background-color: black;
}

.article-small-img {
    width: 100%;
    object-fit:contain;
    border-radius: 10px;
}

.article-list-div {
    /*background-color: rgba(242, 230, 255, 0.2);*/
    background-color: rgba(0, 204, 0, 0.2);
    box-shadow: 2px 2px 7px gray;
    border-radius: 10px;
    font-family: "Playfair Display", serif;
    /*background-color: white;*/
    color: white;
    text-align: center;
    float: left;
    padding-top: 12px;
    margin-top: 10px;
    width: 46% !important;
    margin-left: 2% !important;
}

.article-main-list {
    border-radius: 5px;
    box-shadow: #00cc00 1px 1px 5px;
    margin: 20px;
    margin-top: 50px;
    padding-left: 0px !important;
    padding-right: 0px !important;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.edge-fade {
    width:100%;
     -webkit-mask-image: radial-gradient(ellipse at center, black 60%, transparent 100%);
    mask-image: radial-gradient(ellipse at center, black 60%, transparent 100%);
}

.article-text {
    display: grid;
    justify-content: center;
    padding: 20px;
}

.article-main-list h3 {
    /*font-size: 25px;*/
}

.article-main-list a {
color: white;
font-style: unset;
text-decoration: none;
}

.article-main-list a:hover {
    color: black;
    font-style: unset;
    text-decoration: none;
    color: white;
}

.text-end{
    color:white;
    margin-right:10%;
}

.article-main-container {
    padding-top: 50px;
    padding-bottom: 50px;
}

.article-list-img {
    width: 50%;
}

.article-main-list:hover {
    background-color: rgba(64, 64, 64, 0.3);
    box-shadow: #00cc00 3px 3px 10px;
}

.read-more {
    text-align: right;
    margin-top: 5px;
    font-style: italic;
}

.article-body {
    /*background-color: rgba(242, 230, 255, 0.2);*/
    color: white;
    /*background-color: rgba(51, 51, 51, 0.7);*/
    /*box-shadow: 2px 2px 7px #e6e6e6;*/
    padding: 15px;
}

.article-list-div img {
    object-fit: contain;
    width: 100%;
    object-position: center;
    border-radius:10px;
}

.article-mobile{
    width:40%;
}

.navbar-toggler {
    color: white !important;
    border: 2px solid white !important;
}

.card-background {
    background-image: url('/images/mak.jpg');
    height: 500px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}


.card {
    margin-top:70px;
    border-radius: 30px;
    background-color: rgba(0, 0, 0, 0.7);
    border: none;
}

.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: 0 0 0 .1rem;
}

#hearts-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
}

.navbar-brand {
    color: white !important;
    display: inline-flex;
    align-items: center;
    margin-right: 0px;
    width: 20%;
}

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius:20px;
}

@media only screen and (max-width:600px) {
    .container-fluid {
        margin-bottom: 0px;
    }

    .card-background {
        height: 200px;
        margin-top: 100px;
        margin-bottom: 100px;
    }
    
    h1{
        font-size:15pt;
    }
    .footer-text {
        text-align: left;
        padding-bottom:0px;
    }
      


    .logo-header {
        width: 100%;
    }

    .logo-footer {
        width: 100%;
        padding:0px;
    }

    .button-row {
        flex-direction: column;
        align-items: center;
        gap: 0px;
        width: 100%;
    }

    .button-row form {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .button-main {
        width: 80%; 
        max-width: 250px;
        margin:10px;
    }

    .bg-blue {
        background-color: rgb(51, 51, 51);
    }
    #carouselExampleCaptions {
        margin-top: 0px;
    }
    /* .nav {
        height: 200px;
    }*/
    .article-body {
        padding: 20px;
    }

    .article-mobile {
        width: 80%;
    }

    /*.navbar{
        padding-top:50px;
    }
    .navbar-toggler{
        top:20px;
    }
    .bg-blue {
        background-image: url("../Images/lastavica_mala.png");*/
        /*background-color: #ccddff;*/
        /*background-position: center;*/ /* Center the image */
        /*background-repeat: no-repeat;*/ /* Do not repeat the image */
        /*background-size:cover;*/ /* Resize the background image to cover the entire container */
        /*   height: 200px;*/
    /*}*/

    .article-list-div {
        /*background-color: rgba(242, 230, 255, 0.2);*/
        width: 90%;
        margin-left: 5%;
        padding: 20px;
        width: 90% !important;
        margin-left: 5% !important;
    }

    .article-list-div img {
        object-fit: contain !important;
        max-height: none;
        min-height: 100px;
    }
}

.img-description{
    font-style:italic;
}
