@import "colors.css";
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap');

html, body {
    height: 100%;
    font-family: 'Archivo', sans-serif;
}

body {
    margin: 0px;
    padding: 0px;
}

/* DEFAULT STYLING */

a {
    display: block;
    color: inherit;
    text-decoration: none;
}

button, input[type=submit] {
    padding: 15px 30px;
    font-size: 16px;
    font-family: 'Archivo', sans-serif;
    border: 0px;
    font-weight: 500;
    border-radius: 8px;
    background-color: var(--hover-color);
    color: var(--textbutton-color);
    transition: 0.4s;
    cursor: pointer;
}

button:hover, input[type=submit]:hover {
    background-color: var(--web-color);
}

input, textarea, select {
    position: relative;
    display: block;
    padding: 10px;
    font-size: 15px;
    font-family: 'Archivo', sans-serif;
    box-sizing: border-box;
    border-radius: 8px;
    border: 0px;
    outline-color: var(--hover-color);
    cursor: pointer;
}

input::placeholder {
    color: var(--textalt-color);
}

label {
    font-family: 'Archivo', sans-serif;
    font-size: 15px;
    font-weight: 500;
    margin: 10px auto;
    display: block;
    color: var(--web-color);
}

/* NAVIGATION */

nav {
    position: fixed;
    width: 100%;
    height: 140px;
    background-color: var(--main-color);
    overflow: hidden;
    border-bottom: 2px solid var(--hover-color);
    box-shadow: 0px 0px 40px -8px rgba(0,0,0,0.75);
    z-index: 95;
    transition: 0.4s;
}

nav img {
    position: absolute;
    left: 80px;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    max-width: 200px;
}

nav ul {
    position: absolute;
    right: 80px;
    top: 50%;
    transform: translateY(-50%);
    padding: 0px;
    margin: 0px;
    list-style: none;
}

nav ul li {
    position: relative;
    display: inline-block;
    padding: 20px 30px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--web-color);
    transition: 0.4s;
    cursor: pointer;
}

nav ul li a {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    
}

nav ul li:hover {
    color: var(--hover-color);
}

nav ul li.btn {
    background-color: var(--hover-color);
    color: var(--textbutton-color);
    border-radius: 8px;
}

nav ul li.btn:hover {
    background-color: var(--web-color)
}

nav .navIcon {
    position: absolute;
    right: 30px;
    top: 50%;
    outline: 0;
    display: none;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
}

.scroll nav {
    height: 100px;
}

.icon-line1, .icon-line2, .icon-line3 {
    width: 30px;
    height: 3px;
    border: none;
    background-color: var(--hover-color);
    margin: 5px 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    outline: 0;
    right: 0px;
    text-align: right;
}

.navOpen .icon-line1 {
    -webkit-transform: rotate(-45deg) translate(-4.5px, 5.5px);
        transform: rotate(-45deg) translate(-5.5px, 4.5px);
}

.navOpen .icon-line2 {opacity: 0;}

.navOpen .icon-line3 {
    -webkit-transform: rotate(45deg) translate(-4.5px, -5.5px);
        transform: rotate(45deg) translate(-6.5px, -5.5px);
}

.navOpen nav {
    border-bottom: 2px solid var(--main-color);
    box-shadow: 0px 0px 40px -8px rgba(0,0,0,0);
}

.mobileNav {
    position: fixed;
    width: 100%;
    height: 100vh; 
    display: none;
    background-color: var(--main-color);
    z-index: 94;
}

.mobileNav ul {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0px auto;
    padding: 0px;
    list-style: none;
    text-align: center;
    width: 90%;
}

.mobileNav ul li {
    position: relative;
    display: block;
    padding: 20px;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--web-color);
    transition: 0.4s;
}

.mobileNav ul li a {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    
}

.mobileNav ul li:hover {
    color: var(--hover-color);
}

.mobileNav ul li.btn {
    margin: 20px auto;
    background-color: var(--hover-color);
    color: var(--textbutton-color);
    border-radius: 8px;
}

.mobileNav ul li.btn:hover {
    background-color: var(--web-color);
}

/* SCREEN */

.screen {
    position: relative;
    width: 100%;
    height: calc(100vh - 140px);
    z-index: 1;
    background-color: var(--hover-color);
}

.screen::before {
    content: '';
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-image: url('../img/bg.jpeg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 0.8;
    filter: blur(1px);
}

.screen .head-text {
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
}

.screen .head-text h1 {
    font-size: 130px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--textbutton-color);
    margin: 0px auto;
    letter-spacing: 2px;
    text-shadow: 0px 0px 30px rgba(0,0,0,0.5);
}

.screen .head-btns {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
}

.screen .head-btns .btn {
    position: relative;
    padding: 20px;
    background-color: var(--web-color);
    border-radius: 8px;
    margin: 30px auto;
    cursor: pointer;
    transition: 0.4s;
    z-index: 2;
}

.screen .head-btns .btn img {
    width: 100%;
    max-width: 90px;
}

.screen .head-btns .btn:hover {
    background-color: var(--webalt-color);
}

.screen .head-btns .btn:hover {
    border-radius: 0px 8px 8px 0px;
}

.screen .head-btns .btn:hover .title {
    display: flex;
}

.screen .head-btns .btn .title {
    position: absolute;
    display: none;
    align-items:center;
    justify-content:center;
    right: 100%;
    top: 50%;
    height: 100%;
    transform: translateY(-50%);
    padding: 0px 30px;
    text-align: right;
    background-color: var(--webalt-color);
    border-radius: 8px 0px 0px 8px;
    color: var(--textbutton-color);
    z-index: -2;
    animation-duration: 0.8s;
    animation-name: slidein;
}

.screen .head-btns .btn .title h1 {
    font-size: 20px;
    font-weight: 700;
    margin: 5px auto;
}

.screen .head-btns .btn .title p {
    font-size: 16px;
    font-size: 500;
    white-space: nowrap;
    margin: 5px auto;
}

/* PAGE WRAP */

.pageWrap {
    position: relative;
    top: 140px;
}

/* PAGE CONTENT */

.pageContent {
    position: relative;
    display: block;
}

.pageContent .container {
    position: relative;
    padding: 70px 0px;
    width: 100%;
}

.pageContent .container.page {
    min-height: 100vh;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

.pageContent .container .cir {
    position: absolute;
    border-radius: 100%;
    height: 300px;
    width: 300px;
    background-image: url('../img/test.gif');
    background-position: center;
    background-size: cover;
    transform: translate(-50%);
}

.pageContent .inner80 {
    width: 100%;
    max-width: 80%;
    margin: 0px auto;
}

.pageContent .inner80.c {
    text-align: center;
}

.pageContent .container.full {
    background-color: var(--web-color);
    text-align: center;
    min-height: inherit;
}

.pageContent .container.full .title h2 {
    color: var(--main-color);
}

.pageContent .container .title h2 {
    font-size: 55px;
    margin: 10px auto;
    color: var(--web-color);
}

.pageContent .container .title p {
    font-size: 16px;
    font-weight: 500;
    color: var(--textalt-color);
    margin: 10px auto;
}

.pageContent .container .title span {
    position: relative;
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--hover-color);
    margin: 10px auto;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pageContent .container p {
    font-size: 16px;
    font-weight: 500;
    color: var(--textalt-color);
    line-height: 25px;
}

.pageContent .inner_grid {
    width: 100%;
    max-width: 80%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 0px auto;
    align-items: center;
}

.pageContent .inner_grid .block_title h2 {
    font-size: 80px;
    margin: 0px auto;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--web-color);
}

.pageContent .block {
    position: relative;
    display: block;
    overflow: hidden;
    padding: 30px;
}

.pageContent .multi-info {
    position: relative;
    display: block;
    padding: 0px;
    list-style: none;
}

.pageContent .multi-info li {
    position: relative;
    padding: 10px 0px;
    font-size: 16px;
    font-weight: 500;
    color: var(--web-color);
}

.pageContent .brands {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 40px;
    align-items: center;
    margin: 50px auto;
}

.pageContent .brands img {
    width: 80%;
    filter: grayscale(1);
    opacity: 0.5;
    transition: 0.4s;
    cursor: pointer;
}

.pageContent .brands img:hover {
    opacity: 1;
}

/* FORM */

.pageContent .container form {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    background-color: var(--border-color);
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
    grid-gap: 10px 15px;
}

.pageContent .container form h3 {
    font-size: 22px;
    margin: 10px 0px;
    font-weight: 600;
    grid-column: 1 / 3;
}

.pageContent .container form label {
    width: 100%;
    margin: 0px;
}

.pageContent .container form label.a {
    grid-column: 1 / 3;
}

.pageContent .container form input[type=submit] {
    grid-column: 1 / 3;
}

.pageContent .container form input, .pageContent .container form textarea, .pageContent .container form select {
    width: 100%;
    margin: 10px auto;
    resize: none;
}

.big-title {
    font-size: 160px;
    letter-spacing: 0px;
    text-transform: uppercase;
    font-weight: 800;
    padding: 0px;
    margin: 0px;
    color: var(--web-color);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    background-color: var(--web-color);
    padding: 100px 0px;
}

.big-title span {
    position: relative;
    display: block;
    left: -0px;
    opacity: 0;
    color: var(--main-color);
}

/* CATALOGS */

.catalogs {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 30px;
    width: 100%;
}

.catalogs .item {
    position: relative;
    display: block;
    overflow: hidden;
    text-align: center;
    background-color: var(--main-color);
    padding: 20px;
    border-radius: 8px;
}


.catalogs .item .image {
    position: relative;
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 0px auto;
    transition: 0.4s;
    
}

.catalogs .item:hover .image {
    transform: scale(0.95) skew(-20deg, 10deg);
}

.catalogs .item img {
    position: relative;
    display: block;
    width: 100%;
    max-width: 150px;
    margin: 0px auto;
    box-shadow: 0px 0px 20px -10px rgba(0,0,0,0.65);
}

.catalogs .item h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--web-color);
    margin: 20px auto;
}

.catalogs .item button {
    width: 100%;
}

/* ARTICLES */

.articles {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 30px;
    width: 100%;
}

.articles .item {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
}

.articles .item .image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background-color: var(--web-color);
    overflow: hidden;
    z-index: 0;
}

.articles .item .image::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    background-image: url('../img/test.gif');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
    transition: 0.4s;
}

.articles .item .image .disc {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--hover-color);
    border-radius: 100%;
}

.articles .item .image:hover::after {
    transform: scale(1.1);
}

.articles .item .image .disc::after {
    content: '%';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: var(--textbutton-color);
    font-size: 20px;
    font-weight: 600;
}

.articles .item .info {
    position: relative;
    display: block;
    padding: 10px;
    box-sizing: border-box;
    background-color: var(--border-color);
    border-radius: 0px 0px 8px 8px;
}

.articles .item .info h2 {
    font-size: 20px;
    margin: 10px auto;
}

.articles .item .info .price {
    margin: 5px auto;
}

.articles .item .info .price span {
    display: inline-block;
    vertical-align: 
}

.articles .item .info .price {
    font-size: 22px;
    font-weight: 600;
    color: var(--webalt-color);
}

.articles .item .info .price:nth-child(3) {
    font-size: 16px;
    font-weight: 600;
    color: var(--textalt-color);
    text-decoration: line-through;
}

.articles .item .info p {
    margin: 10px auto;
    color: var(--web-color);
}

.articles .item .info .price:nth-child(2) span {
    font-size: 26px;
    font-weight: 600;
    color: var(--webalt-color);
}

.articles .item .info .price:nth-child(3) span {
    font-size: 20px;
    font-weight: 600;
    color: var(--textalt-color);
    text-decoration: line-through;
}

.articles .item .info .price span::after {
    content: ' kn';
    font-size: 18px;
    font-weight: 600;
    opacity: 0.5;
}

.articles .item .info button {
    margin: 0px auto;
    width: 100%;
}

/* RESPONSE */

.response {
    text-align: center;
    width: 90%;
    max-width: 1200px;
    margin: 0px auto;
    padding: 80px 0px;
}

.response h2 {
    font-size: 70px;
    margin: 0px auto;
    color: var(--hover-color);
}

.response h3 {
    display: inline-block;
    font-size: 50px;
    margin: 20px auto;
    font-weight: 800;
    color: var(--textbutton-color);
    padding: 20px 50px;
    border-radius: 8px;
    background-color: var(--web-color);
}

.response .text {
    text-align: left;
    margin: 10px auto;
}

.response .text p {
    color: 
}

.response p.alt {
    color: var(--web-color);
}

.response .btns button {
    padding: 20px 40px;
    margin: 0px 5px;
}

.response .btns button:nth-child(2) {
    background-color: var(--textalt-color);
}

/* FOOTER */

footer {
    position: relative;
    width: 100%;
    padding: 100px 0px;
    padding-bottom: 10px;
    background-color: var(--web-color);
    color: var(--textbutton-color);
}

footer .inner {
    position: relative;
    width: 100%;
    max-width: 80%;
    margin: 0px auto;
    text-align: center;
}

footer .grid {
    position: relative;
    display: grid;
    grid-template-columns: 35% repeat(3, 1fr);
    align-items: top;
    text-align: left;
}


footer .grid .web img {
    width: 100%;
    max-width: 300px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 20px;
}

footer .grid .web .info {
    display: inline-block;
    vertical-align: middle;
}

footer .grid .web h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 5px auto;
}

footer .grid .web p {
    font-size: 15px;
    font-weight: 500;
    margin: 5px auto;
}

footer .grid ul {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

footer .grid ul::before {
    position: relative;
    display: block;
    content: attr(title);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--hover-color);
    margin-bottom: 20px;
}

footer .grid ul li a {
    display: inline-block;
}

footer .grid ul li {
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0px;
    cursor: pointer;
    transition: 0.4s;
}

footer .grid ul li:hover {
    color: var(--hover-color);
}

footer .links {
    list-style: none;
    padding: 0px;
    margin: 0px auto;
    margin-top: 40px;
}

footer .links li {
    position: relative;
    display: inline-block;
    padding: 5px 10px;
    border-right: 2px solid var(--web-color) !important;
    font-size: 15px;
    font-weight: 500;
    color: var(--textbalt-color);
    transition: 0.4s;
    cursor: pointer;
}

footer .links li:hover {
    color: var(--webalt-color);
}

footer .links a:last-of-type li {
    border: 0px !important;
}

footer .icons {
    position: relative;
    margin: 10px auto;
    cursor: pointer;
}

footer .icons i {
    font-size: 22px;
    margin-right: 10px;
    color: var(--textb-color);
    transition: 0.4s;
    cursor: pointer;
}

footer .icons i:hover {
    color: var(--web-color);
}

.endinfo {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.endinfo p {
    font-size: 14px;
    font-weight: 500;
    color: var(--textbalt-color);
    text-align: left;
}

.endinfo p:last-of-type {
    text-align: right;
    opacity: 0.5;
}


/* RESPONSIVE */

@media screen and (max-width: 1450px) {
    .pageContent .articles {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 1350px) {
    nav ul {
        right: 20px;
    }
    nav img {
        left: 20px;
    }
    .pageContent .container .inner_grid {
        max-width: 95%;
    }
    .pageContent .container .inner80 {
        max-width: 95%;
    }
    footer .inner {
        max-width: 90%;
    }
    .screen .head-text h1 {
        font-size: 80px;
    }
}

@media screen and (max-width: 950px) {
    .catalogs {
        grid-template-columns: repeat(3, 1fr);
    }
}
    
@media screen and (max-width: 850px) {
    nav ul li {
        padding: 20px 10px;
    }
    nav img {
        left: 20px;
    }
    .pageContent .brands {
        grid-template-columns: repeat(4, 1fr);
    }
    .pageContent .brands img {
        width: 100%;
    }
    .pageContent .container form { 
        display: block;
    }
    footer .inner .grid .web{
        grid-column: 1 / 4;
    }
    footer .inner .grid {
        grid-gap: 50px;
    }
    .pageContent .articles {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 900px) {
    .screen .head-text h1 {
        font-size: 60px;
    }
}

@media screen and (max-width: 750px) {
    nav {
        height: 100px;
    }
    nav ul {
        display: none;
    }
    nav img {
        left: 20px;
        max-width: 150px;
    }
    nav .navIcon {
        display: block;
    }
    .pageWrap {
        position: relative;
        top: 100px;
    }
    .screen {
        position: relative;
        display: block;
        overflow: hidden;
    }
    .screen::before {
        filter: blur(1px);
    }
    .screen .head-text {
        position: relative;
        display: block;
        top: 0%;
        left: 0%;
        transform: translate(0%, 0%);
        margin: 10% auto;
        width: 95%;
    }
    .screen .head-text h1 {
        font-size: 45px;
        text-shadow: 0px 0px 30px rgba(0,0,0,0.5);
    }
    .screen .head-btns {
        position: relative;
        right: 0%;
        top: 0%;
        transform: translate(0%, 0%);
        width: 95%;
        margin: 0px auto;
        
    }
    .screen .head-btns .btn {
        display: grid;
        grid-template-columns: calc(100% - 110px) 90px;
        align-items: center;
        grid-gap: 20px;
        margin: 10px auto;
    }
    .screen .head-btns .btn .title {
        position: relative;
        display: flex;
        justify-content: flex-end;
        right: 0%;
        background-color: transparent;
        padding: 0px;
        width: 100%;
        animation-duration: 0s;
    }
    .screen .head-btns .btn .title p {
        white-space: normal;
        font-size: 14px;
    }
    .pageContent .inner_grid {
        display: block;
        max-width: 90%;
    }
    .pageContent .inner80 {
        max-width: 90%;
    }
    .pageContent .inner_grid .block {
        padding: 20px 0px;
    }
    .pageContent .brands {
        grid-template-columns: repeat(2, 1fr);
    }
    .pageContent .brands img {
        width: 100%;
    }
    footer .inner .grid {
        grid-template-columns: repeat(1, 1fr);
    }
    footer .inner .grid .web{
        grid-column: 1;
    }
    footer .inner .endinfo {
        grid-template-columns: repeat(1, 1fr);
        
    }
    footer .inner .endinfo p {
        text-align: left !important;
        margin: 5px auto;
    }
    .big-title {
        display: none;
    }
    .catalogs {
        grid-template-columns: repeat(2, 1fr);
    }
    .response h2 {
        font-size: 40px;
    }
    .response {
        padding: 20px 0px;
    }
    .response h3 {
        font-size: 30px;
    }
}

@media screen and (max-width: 550px) {
    .pageContent .articles {
        grid-template-columns: repeat(1, 1fr);
    }
    .catalogs {
        grid-template-columns: repeat(1, 1fr);
    }
    .response h2 {
        font-size: 30px;
    }
}

@media screen and (max-height: 550px) {
    .screen .head-btns .btn {
        display: grid;
        grid-template-columns: calc(100% - 70px) 50px;
        align-items: center;
        grid-gap: 20px;
        margin: 10px auto;
    }
    .screen .head-btns .btn .title {
        position: relative;
        display: flex;
        justify-content: flex-end;
        right: 0%;
        background-color: transparent;
        padding: 0px;
        width: 100%;
        animation-duration: 0s;
    }
    
    .screen .head-btns .btn .title p {
        white-space: normal;
        font-size: 14px;
    }
    .screen .head-btns .btn img {
        max-width: 50px;
    }
    .screen .head-text {
        position: relative;
        display: block;
        top: 0%;
        left: 0%;
        transform: translate(0%, 0%);
        margin: 5% auto;
        width: 95%;
    }
    .screen .head-text h1 {
        font-size: 45px;
        text-shadow: 0px 0px 30px rgba(0,0,0,0.5);
    }
}

/* ANIMACIJE */

@keyframes slidein {
  0% {
      opacity: 0;
      right: 0%;
  }
  100% {
      opacity: 1;
      right: 100%;
  }
}