:root { --main-color: #347bd8; --main-gray-color: #e5e5e5; --second-gray-color: #f8f4f4; --animation-scale: scale(1.2); --animation-transition: transform 0.6s ease; --div-border-radius: 4px; --font-title: 'Bitter', serif; /* Primena Bitter fonta za naslove */ --font-text: 'Open Sans', sans-serif; /* Koristite Open Sans za telo stranice, paragrafe, linkove itd. */ } /* BIB */ h1, h2, h3, h4, h5, h6 { font-family: var(--font-title); } body, p, li, a { font-family: var(--font-text); } body { @media (max-width: 767px) { padding-top: 90px !important; } } /* NAV */ #layout-nav { box-shadow: 0 4px 6px rgba(0,0,0,0.1); z-index: 1000; @media (min-width: 776px) { padding-top: 10px; padding-bottom: 10px; .header-container { display: flex; flex-direction: row; justify-content: space-between; width: 100%; margin-top: 20px; } } } #layout-nav { @media (max-width: 767px) { .header-container { .navbar-header { padding-top: 20px; } } } } /* WELCOME */ .welcome-bib { position: relative; background-color: #fff; margin: 0 auto; h1 { text-align: center; color: var(--main-color); font-family: 'Bitter', sans-serif; } p { text-align: center; color: #000000; font-family: 'Open-sans', sans-serif; } } .welcome-bib::after { content: ""; position: absolute; top: 50%; right: 0; width: 180px; height: 180px; background-image: url('../images/BIB-logo-g.png'); background-size: cover; background-position: center; opacity: 0.7; transform: translateY(-50%) } .jumbotron { padding-top: 60px; padding-bottom: 0; } .jumbotron p { font-size: 17px; font-weight: 300; padding: 20px 50px; margin: 0; } /* HOMEPAGE EVENTS CONTAINER */ .events { background-color: var(--second-gray-color); padding: 50px 0; .events-text { margin-bottom: 30px; a { color: rgb(197, 196, 196); text-decoration: none; letter-spacing: 2px; &:hover { color: var(--main-color); } } } .events-container { display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 1fr); gap: 20px; width: 100%; .left-top, .right-top, .left-bottom, .right-bottom { display: grid; grid-template-columns: 1fr 1fr; align-items: center; justify-content: center; height: auto; background-color: lightgray; color: #fff; text-align: center; overflow: hidden; border-radius: var(--div-border-radius); h4 { color: #fff; } a { font-family: var(--font-title); } } .left-top{ .violet-img { background-position: center; background-size: cover; height: 100%; .crop-container { overflow: hidden; width: 100%; height: 100%; &:hover { img { transform: var(--animation-scale); } } img { width: 100%; height: 100%; object-fit: cover; transition: var(--animation-transition); } } } .violet-text { padding: 0 30px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; height: 100%; background-color: #c65bd8; .text { font-size: 20px; text-align: left; } a { color: #fff; text-decoration: none; } a:hover { color: rgb(0, 0, 0); } } } .right-top{ .orange-img { background-position: center; background-size: cover; height: 100%; .crop-container { overflow: hidden; width: 100%; height: 100%; &:hover { img { transform: var(--animation-scale); } } img { width: 100%; height: 100%; object-fit: cover; transition: var(--animation-transition); } } } .orange-text { padding: 0 30px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; height: 100%; background-color: #f74739; .text { font-size: 20px; text-align: left; } a { color: #fff; text-decoration: none; } a:hover { color: rgb(0, 0, 0); } } } .left-bottom{ .blue-img { background-position: center; background-size: cover; height: 100%; .crop-container { overflow: hidden; width: 100%; height: 100%; &:hover { img { transform: var(--animation-scale); } } img { width: 100%; height: 100%; object-fit: cover; transition: var(--animation-transition); } } } .blue-text { padding: 0 30px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; height: 100%; background-color: var(--main-color); .text { font-size: 20px; text-align: left; } a { color: #fff; text-decoration: none; } a:hover { color: rgb(0, 0, 0); } } } .right-bottom{ .green-img { background-position: center; background-size: cover; height: 100%; .crop-container { overflow: hidden; width: 100%; height: 100%; &:hover { img { transform: var(--animation-scale); } } img { width: 100%; height: 100%; object-fit: cover; transition: var(--animation-transition); } } } .green-text { padding: 0 30px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; height: 100%; background-color: #77b048; .text { font-size: 20px; text-align: left; } a { color: #fff; text-decoration: none; } a:hover { color: rgb(0, 0, 0); } } } } @media (max-width: 767px) { padding-top: 30px; .right-bottom .text, .left-bottom .text, .right-top .text, .left-top .text { font-size: 12px !important; } .events-container { grid-template-columns: 1fr; grid-template-rows: auto; } .left-top, .right-top, .left-bottom, .right-bottom { height: auto !important; overflow: hidden; } .violet-text p, .orange-text p, .green-text p, .blue-text p { font-size: 12px; } } } /* EVENTS PAGE */ .events-page-container { background-color: var(--second-gray-color); .events-title { padding: 60px 0; h1 { color: var(--main-color) !important; } } .post-wrapper { max-width: 1370px; margin: 0 auto; .post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; } a { text-decoration: none; .item { background-color: white; color: #000000; margin-bottom: 35px; -webkit-box-shadow: 4px 4px 8px 4px rgba(0,0,0,0.16); -moz-box-shadow: 4px 4px 8px 4px rgba(0,0,0,0.16); box-shadow: 4px 4px 8px 4px rgba(0,0,0,0.16); .post-image { .crop-container { overflow: hidden; position: relative; &:hover { img { transform: var(--animation-scale); } } img { width: 100%; height: 100%; transition: var(--animation-transition); } } } .post-info { padding: 15px 15px; .item-publish-date { color: #b3b2b3; } .item-title { width: fit-content; font-weight: bold; font-size: larger; margin: 0px 0 20px 0; padding: 18px 16px; position: relative; left: -16px; -webkit-transition: background 0.2s; /* For Safari 3.0 to 6.0 */ transition: background 0.2s; /* For modern browsers */ } } &:hover { .post-info { .item-title { color: var(--main-color); } } } } } /* Responzivan dizajn za ekrane manje od 768px */ @media (max-width: 768px) { .post-grid { grid-template-columns: 1fr; } } } .post { background-color: #fff; border-radius: 8px; padding: 20px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); min-height: 200px; } } /* JOIN OUR TEAM */ .join-our-team { margin-top: 50px; .team-container { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; width: 100%; height: 400px; } .left, .right { background-color: lightgray; padding: 20px; text-align: center; overflow: hidden; border-radius: var(--div-border-radius); } .left { background-image: url('../images/team-1.jpg'); background-position: center; background-size: cover; height: 100%; width: 100%; } .right { color: #fff; background-color: var(--main-color); display: flex; flex-direction: column; justify-content: space-evenly; align-items: center; padding: 40px; } h3 { color: #fff !important; } .jot { background-color: #fff; display: flex; justify-content: space-evenly; align-items: center; flex-direction: row; color: var(--main-color); padding: 7px; width: 200px; border-radius: 5px; p { margin: 0; padding: 0; font-size: 13px; } .img { background-image: url('../images/BIB-logo-sm.png'); background-position: center; background-size: cover; } } @media (max-width: 767px) { .team-container { grid-template-columns: 1fr; height: 800px; } } } /* PROJECT PARTNERS */ .project-partners { margin-top: 50px; .container {} .pp-wrapper { // width: 70%; margin: 0 auto; display: flex; flex-direction: column; align-items: center; padding-top: 30px; padding-bottom: 30px; border-top: 1px solid #000; border-bottom: 1px solid #000; } .separator { height: 1px; width: 80%; background-color: rgb(184, 184, 184); margin: 20px 0; } .partners, .founded-by { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 150px; width: 100%; color: #000000; } .img-partners { margin-top: 20px; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 50px; } .img-founded { margin-top: 20px; display: flex; flex-direction: row; justify-content: center; align-items: center; gap: 30px; width: 100%; } img { height: auto; width: 200px; max-width: 100% } @media (max-width:767px) { img { width: 90px; height: auto; } .img-partners { gap: 30px; } } } h1, h2, h3, h4, h5, h6 { font-family: 'Bitter', serif; /* Primena Bitter fonta za naslove */ } /* Koristite Open Sans za telo stranice, paragrafe, linkove itd. */ body, p, li, a { font-family: 'Open Sans', sans-serif; /* Primena Open Sans fonta za tekst */ } /* NEWS ITEM PAGE */ .news-item-container { h1, h2, h3, h4, h5, h6 { font-family: 'Bitter', serif; /* Primena Bitter fonta za naslove */ } /* Koristite Open Sans za telo stranice, paragrafe, linkove itd. */ p, li, a { font-family: 'Open Sans', sans-serif; /* Primena Open Sans fonta za tekst */ } margin-top: 60px; margin-bottom: 60px; .post-container img{ max-width: 100%; } .post-title{ font-family: 'Bitter', serif; color: #000; margin-bottom: 30px; } .post-content{ margin-top: 20px; font-family: 'Open Sans', sans-serif; color: #000; } a { color: #000; text-decoration: underline !important; } a:hover { color: var(--main-color); } .most-recent-container{ width: 100%; max-width: 100%; /* border-left: 4px solid var(--main-color); */ margin-bottom: 40px; padding: 8px 30px; position: relative; h3 { margin-top: 0; } h5 { margin-top: 0; margin-bottom: 0; } p { margin-bottom: 0; } .titles { font-weight: 800; padding-right: 6px; } .recent-news{ max-width: 100%; } .news-partial:not(:last-child){ margin-bottom: 40px; } } .most-recent-container::before { position: absolute; content: ''; top: 0; bottom: 0; left: 0; width: 3px; background-color: var(--main-color); border-radius: 2px; height: 100%; } @media (max-width: 768px) { margin-top: 20px; margin-bottom: 20px; .left { .post-title { font-size: 28px; margin-bottom: 20px; } } .right { padding: 0 !important; margin-top: 20px; } .news-item-gallery { display: flex; flex-wrap: wrap; justify-content: center; } } } /* CONTACT PAGE */ .contact-page-wrapper { .title-container { background-color: var(--second-gray-color); h1, h4 { color: var(--main-color); } .title { padding-top: 50px; } } .contact-info-container { background-color: var(--second-gray-color); .info-group { padding: 0; display: flex; flex-direction: column; gap: 40px; .contact { position: relative; display: flex; flex-direction: column; gap: 30px; padding-left: 15px; .mail, .link { display: flex; flex-direction: row; gap: 20px; align-items: center; i { color: #000; font-size: 20px; } } h4 { color: var(--main-color); margin: 0; padding: 0; } a { color: #000; } a:hover { color: var(--main-color); } } /* .contact::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background-color: var(--main-color); border-radius: 2px; } */ } } } /* FOOTER */ .footer-wrapper { #layout-nav { padding: 20px 0; .footer-container { display: flex; flex-direction: row; justify-content: space-between; .credit { display: flex; flex-direction: row; justify-content: flex-start; gap: 10px; align-items: center; width: 100%; } p.credit { margin: 0; } .social { width: 100%; display: flex; justify-content: flex-end; gap: 10px; } } @media (max-width: 767px) { padding-top: 10px; p.credit { font-size: 13px !important; } .credit { img { height: 20px !important; width: 20px !important; } } .social { margin-right: 20px; gap: 20px !important; } } } } /* UPPER HEADER */ #upper-header { position: absolute; top: 0; left: 0; width: 100%; display: flex; flex-direction: row; height: 20px; background-color: var(--main-color); z-index: 99999999999; } .upper-header-wrapper { width: 100%; min-height: 25px; background-color: var(--main-color); .container { display: flex; align-items: center; gap: 10px; /* LANGUAGE */ .language { padding-left: 30px; width: 100%; display: flex; justify-content: flex-start; align-items: center; gap: 5px; & a { color: rgb(161, 160, 160) !important; font-weight: normal; text-decoration: none !important; margin-left: 8px; } & a.active { color: white !important; } } /* SOCIAL ICONS */ .social-icons { padding-right: 30px; width: 100%; display: flex; justify-content: end; align-items: center; gap: 15px; } @media (max-width: 767px) { gap: 20px; } } } /* ABOUT PAGE */ .about-wrapper { .text-container { margin-top: 50px; color: #000; font-family: var(--font-text); } .about-upper-container { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; width: 100%; height: 400px; .left, .right { padding: 20px; text-align: center; overflow: hidden; border-radius: var(--div-border-radius); } .left { background-image: url('../images/BIB-about.jpg'); background-position: center; background-size: cover; height: 100%; width: 100%; } .right { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; .bib-image { background-image: url('../images/thumb-BIB-logo-b.png'); background-position: center; background-size: cover; height: 250px; width: 250px; } .download-button {} } } .title-container { padding: 50px 0; .title { h1 { color: var(--main-color); } } } @media (max-width: 767px) { .about-upper-container { grid-template-columns: 1fr; width: 100%; height: 800px; .left, .right { height: 400px; } } } } .navbar-main-collapse .navbar-nav li { a { color: black !important; } } @media (max-width: 767px) { .navbar-main-collapse .navbar-nav li { a { color: var(--main-color) !important; } &.active { a { color: white !important; } } } } .custom-gallery-container { h4 { color: #000; } #custom-gallery { .gallery { display: flex; justify-content: center; flex-wrap: wrap; width: 90%; margin: 0 auto; } .gallery a { height: 150px; width: 150px; margin: 5px; border-radius: 3px; overflow: hidden; box-shadow: 0 3px 5px #000; } .gallery a img { height: 100%; width: 100%; object-fit: cover; transition: transform .2s linear; } .gallery a img:hover { transform: scale(1.2); } } }