File: /var/www/vhosts/leokosak.from.hr/zavrsni.leokosak.from.hr/style.css
* {
font-family: sans-serif;
box-sizing: border-box;
scroll-behavior: smooth;
transition: 0.2s linear;
margin: 0;
}
.heading {
font-size: 3rem;
font-weight: 500;
margin-bottom: 5rem;
text-align: center;
}
hr {
width: 350px;
margin-top: 10px;
margin-left: auto;
margin-right: auto;
border: 5px solid #e7493a;
border-radius: 50px;
}
/*Navigacija*/
.navbar {
width: 100%;
position: fixed;
z-index: 1;
}
.navbar.active {
background-color: white;
box-shadow: 1px 0px 15px;
}
.sidenav {
height: 100%;
width: 0%;
position: fixed;
top: 0;
right: 0;
background-color: #c53931;
overflow-x: hidden;
transition: 0.5s;
padding-top: 60px;
}
.sidenav a {
padding: 10px 10px 10px 32px;
text-decoration: none;
font-size: 25px;
color: white;
display: block;
transition: 0.3s;
}
.sidenav a:hover, .closebtn:hover {
background: #e7493a;
}
.closebtn {
position: absolute;
top: 27px;
right: 25px;
margin-left: 50px;
color: white;
}
.openbtn {
position: absolute;
top: 20px;
right: 25px;
}
.navbar ion-icon {
top: 27px;
right: 25px;
font-size: 60px;
cursor:pointer;
}
/*Header*/
.header {
height: 100vh;
padding-top: 300px;
font-size: 40px;
display: flex;
align-items: start;
flex-flow: wrap;
margin-bottom: 10%;
}
@keyframes slideinLeft {
from {
transform: translateX(-300px);
}
to {
transform: translateX(0);
}
}
.text {
width: 50%;
padding-top: 200px;
padding-left: 100px;
text-align: start;
}
h1 {
animation-name: slideinLeft;
animation-duration: 1.5s;
animation-timing-function: ease;
}
p {
animation-name: slideinLeft;
animation-duration: 1.5s;
animation-timing-function: ease;
animation-delay: 0.1s;
}
.img {
width: 40%;
}
.img img{
width: 45rem;
box-shadow: 50px 50px #e7493a;
animation-name: imgslide;
animation-duration: 1.5s;
animation-timing-function: ease;
}
.btn{
font-size: 20px;
font-weight: 700;
padding: 15px;
color: white;
background-color: #e7493a;
border: none;
border-radius: 50px;
margin-top: 20px;
text-align: center;
text-decoration: none;
transition-property: transform;
transition-duration: 0.3s;
transition-timing-function: ease;
}
.btn:hover {
transform: translateY(-10px);
background-color: #c53931;
}
@keyframes imgslide {
from {
transform: translateX(50px) translateY(50px);
box-shadow: none;
}
to {
transform: translateX(0) translateY(0);
}
}
/*O nama*/
.onama .box-container .box .image {
height: 35rem;
}
.onama .box-container .box .image img {
width: 100%;
height: 100%;
object-fit: cover;
}
.onama .box-container {
display: grid;
margin-bottom: 10%;
grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
gap: 2rem;
transform: skewY(3deg);
color: white;
}
.onama {
background-color: #e7493a;
transform: skewY(-3deg);
}
.onama .box-container .box {
padding: 55px;
margin-bottom: 40px;
}
.onama .box-container .box p {
font-size: 1.5rem;
line-height: 1.5;
text-align: justify;
margin-bottom: 1.5rem;
}
/*Usluge*/
.usluge .box-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
justify-content: space-evenly;
justify-items: center;
align-content: space-evenly;
align-items: center;
gap: 5rem;
padding: 50px;
margin-bottom: 10%;
}
.usluge .box-container .box {
text-align: center;
border-radius: 1rem;
padding: 3rem;
}
.usluge .box-container .box img {
margin-bottom: 2rem;
}
.usluge .box-container .box h3 {
margin-bottom: 2rem;
font-size: 2rem;
}
.usluge .box-container .box p {
font-size: 1.5rem;
line-height: 2rem;
}
.usluge .box-container .box:hover {
animation: hover 1s ease forwards;
background: whitesmoke;
box-shadow: 10px 10px #e7493a;
}
@keyframes hover {
from {
transform: translateX(0) translateY(0);
box-shadow: none;
}
to {
transform: translateX(-10px) translateY(-10px);
}
}
/*Auti*/
.auti {
background-color: #f2f2f2;
padding: 40px 60px;
text-align: center;
margin-bottom: 10%;
}
.auti .box-container {
margin: auto;
max-width: 970px;
}
h2 {
display: block;
font-size: 2rem;
font-weight: 400;
}
.auti-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
}
.auto {
margin: 10px 20px;
width: calc(14.28% - 40px);
}
/*Trgovina*/
.trgovina .box-container {
display: flex;
flex-wrap: wrap;
margin-bottom: 10%;
}
.trgovina .box-container .box {
text-align: center;
border-radius: 1rem;
padding: 3rem;
width: 24%;
}
.trgovina .box-container .box img {
justify-content: center;
margin-bottom: 30px;
}
.trgovina .box-container .box h3 {
margin-bottom: 2rem;
font-size: 1.5rem;
}
.trgovina .box-container .box h5 {
color: #e7493a;
font-size: 2em;
font-weight: 100;
}
.trgovina .box-container .box p {
color: #e7493a;
font-weight: 600;
font-size: 2.5em;
}
.trgovina .box-container .box p span {
font-size: 2rem;
color: #acacac;
}
.separator {
background-color: #b9b9b9;
display: block;
height: 400px;
width: 1px;
}
/*Kontak*/
.kontakt {
background-color: #e7493a;
transform: skewY(3deg);
height: auto;
padding: 60px;
margin-bottom: 10%;
display: flex;
flex-wrap: wrap;
z-index: 1;
}
form {
transform: skewY(-3deg);
width: 50%;
}
#name {
width: 40%;
padding: 20px;
border-radius: 50px;
border: none;
font-size: 1rem;
}
#email {
width: 50%;
padding: 20px;
border-radius: 50px;
border: none;
font-size: 1rem;
}
#text {
width: 90%;
height: 300px;
padding: 20px;
text-align: start;
font-size: 1rem;
border-radius: 20px;
border: none;
resize: none;
margin: 0.7rem 0;
}
.btn2 {
background-color: white;
font-weight: 400;
width: 150px;
font-size: 1rem;
border: none;
border-radius: 50px;
padding: 20px;
}
.iframe1 {
transform: skewY(-3deg);
border-radius: 10px;
width: 50%;
height: 600px;
}
.iframe2 {
display: none;
}
.adresa {
width: 50%;
padding: 50px;
transform: skewY(-3deg);
}
.adresa h1 {
font-size: 50px;
color: white;
margin-top: 10px;
margin-bottom: 20px;
}
.adresa p {
font-size: 25px;
font-weight: 500;
}
#name:hover, #email:hover, #text:hover {
border: 1px solid;
}
.btn2:hover {
background-color: #dfdfdf;
}
/*Footer*/
.footer-distributed{
background: #e7493a;
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
box-sizing: border-box;
width: 100%;
text-align: left;
font: bold 16px sans-serif;
padding: 55px 50px;
}
.footer-distributed .footer-left,
.footer-distributed .footer-center,
.footer-distributed .footer-right{
display: inline-block;
vertical-align: top;
}
.footer-distributed .footer-left{
width: 40%;
}
.footer-distributed h3{
color: #ffffff;
font: normal 36px;
margin: 0;
}
.footer-distributed h3 span{
color: black;
}
.footer-distributed .footer-links{
color: #ffffff;
margin: 20px 0 12px;
padding: 0;
}
.footer-distributed .footer-links a{
display:inline-block;
line-height: 1.8;
font-weight:400;
text-decoration: none;
color: inherit;
}
.footer-distributed .footer-company-name{
color: #222;
font-size: 14px;
font-weight: normal;
margin: 0;
}
.footer-distributed .footer-center{
width: 35%;
}
.footer-distributed .footer-center i{
background-color: black;
color: #ffffff;
font-size: 25px;
width: 38px;
height: 38px;
border-radius: 50%;
text-align: center;
line-height: 42px;
margin: 10px 15px;
vertical-align: middle;
}
.footer-distributed .footer-center i.fa-envelope{
font-size: 17px;
line-height: 38px;
}
.footer-distributed .footer-center p{
display: inline-block;
color: #ffffff;
font-weight:400;
vertical-align: middle;
margin:0;
}
.footer-distributed .footer-center p span{
display:block;
font-weight: normal;
font-size:14px;
line-height:2;
}
.footer-distributed .footer-center p a{
color: lightseagreen;
text-decoration: none;;
}
.footer-distributed .footer-links a:before {
content: "|";
font-weight:300;
font-size: 20px;
left: 0;
color: #fff;
display: inline-block;
padding-right: 5px;
}
.footer-distributed .footer-links .link-1:before {
content: none;
}
.footer-distributed .footer-right{
width: 20%;
}
.footer-distributed .footer-company-about{
line-height: 20px;
color: #92999f;
font-size: 13px;
font-weight: normal;
margin: 0;
}
.footer-distributed .footer-company-about span{
display: block;
color: #ffffff;
font-size: 14px;
font-weight: bold;
margin-bottom: 20px;
}
.footer-distributed .footer-icons{
margin-top: 25px;
}
.footer-distributed .footer-icons a{
display: inline-block;
width: 35px;
height: 35px;
cursor: pointer;
background-color: #33383b;
border-radius: 2px;
font-size: 20px;
color: #ffffff;
text-align: center;
line-height: 35px;
margin-right: 3px;
margin-bottom: 5px;
}
/*Responzivnost*/
@media screen and (max-height: 450px) {
.sidenav {
padding-top: 15px;
}
.sidenav a {
font-size: 18px;
}
}
/*Lapotopi*/
@media screen and (max-width: 1400px) {
.text {
width: 40%;
}
.img img {
width: 40rem;
}
}
@media screen and (max-width: 1200px) {
.text {
padding: 50px;
}
.img img {
width: 30rem;
}
.auti-container {
margin: 0px 20px;
}
}
/*Mobitel*/
@media screen and (max-width: 900px) {
.navbar ion-icon {
font-size: 50px;
cursor: pointer;
padding-right: 10px;
color: white;
}
.navbar.active ion-icon {
color: black;
}
.header {
color: white;
margin-bottom: 0;
background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('img/3.png');
background-size: cover;
background-position: center;
align-items: center;
font-size: 20px;
padding: 10px;
}
.text {
width: 100%;
padding: 0;
text-align: center;
}
.img {
display: none;
}
.onama {
transform: skewY(0);
width: 100%;
}
.onama .box-container {
margin-top: 0;
width: 100%;
transform: skewY(0);
}
.usluge .box-container {
grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
}
.auti-container {
margin: 0px 0px;
}
.auto {
margin: 10px 15px;
width: calc(14.28% - 20px);
}
.trgovina .box-container .box {
width: 50%;
}
.separator {
display: none;
}
.kontakt {
transform: skewY(0);
margin-bottom: 0px;
}
form {
width: 100%;
margin-bottom: 15px;
transform: skewY(0);
}
#text {
width: 100%;
}
.iframe1 {
display: none;
}
.iframe2 {
display: block;
width: 100%;
margin-bottom: 10%;
}
}
/*Radno vrijeme*/
table {
width: 50%;
margin-left: auto;
margin-right: auto;
font-size: 25px;
border: 5px solid #e7493a;
border-radius: 10px;
margin-bottom: 10%;
}
.tr {
border-bottom: 1px solid;
}
td {
padding: 10px;
}
@media (max-width: 880px) {
.footer-distributed{
font: bold 14px sans-serif;
}
.footer-distributed .footer-left,
.footer-distributed .footer-center,
.footer-distributed .footer-right{
display: block;
width: 100%;
margin-bottom: 40px;
text-align: center;
}
.footer-distributed .footer-center i{
margin-left: 0;
}
}
@media screen and (max-width: 600px) {
.auto {
margin: 10px 5px;
width: calc(14.28% - 10px);
}
}