* {
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

body {
    font-family: 'Titillium Web', sans-serif;
    margin: 0;
    padding: 0;
}

header {
    width: 100%;
    position: fixed;
    background-color: whitesmoke;
    top: 0;
    box-shadow: 0 10px 15px -5px rgba(0,0,0,.25);
    z-index: 9999;
}

header .wrapper {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

header h1 {
    margin: 0;
    padding: 5px 0 10px 20px;
    font-size: 2em;
    text-transform: uppercase;
    color: #ff7748;
    font-weight: normal;
}

header nav {
    margin-right: 10px;
}

header nav img {
    margin-right: 10px;
    display: none;
    cursor: pointer;
    transition: all 0.25s;
    filter: saturate(0);
    -webkit-filter: saturate(0);
}

header nav img:hover {
    transform: rotate(180deg);
    filter: none;
    -webkit-filter: none;
}

header a {
    font-size: 1.1em;
    color: #3b3b3b;
    margin: 0 2px;
    padding: 15px 20px;
    transition: all .15s;
}

header a:hover {
    color: #ff7748;
}

header a.on-page {
    color: #ff7748;
    border-bottom: solid 3px #ff7748;
}

#cover {
    width: 100%;
    background-image: url(../img/cover.jpg);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin-top: 63px;
}

#cover .wrapper {
    max-width: 1200px;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: flex-start;
    margin: 0 auto;
    height: calc(100vh - 63px);
    text-align: center;
    padding: 50px;
}

#cover h2 {
    font-size: 85px;
    color: white;
    font-weight: 400;
    margin: 0;
    width: 100%;
    line-height: 90px;
    max-width: 750px;
    text-align: left;
}

#cover div {
    padding-top: 100px;
    display: block;
    text-align: left;
}

#cover a {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    color: white;
    transition: all .2s;
    font-size: 19px;
    letter-spacing: 1px;
    text-indent: 1px;
    padding: 18px 65px;
    border: solid 2px transparent;
    background-color: #ff7748;
    margin: 0 0 0 10px;
}

#cover a img {
    display: inline-block;
    margin-left: 10px;
    width: 8px;
}

#cover a:hover {
    background-color: transparent;
    border: solid 2px #ff7748;
}

#col-nav {
    display: none;
    transition: all 0.3s;
    overflow: hidden;
    -webkit-animation: navOpen .7s;
    animation: navOpen .7s;
}

#col-nav a {
    display: block;
    margin: 5px;
}

#col-nav .on-page {
    border-bottom: solid 2px #ff7748;
}

#col-nav a:hover {
    background-color: #ffddd1;
}

#opis {
    text-align: center;
    background-color: #ff7748;
    padding: 60px 35px;
}

#opis p.main {
    font-size: 30px;
    padding: 0 0 15px 0;
    font-weight: 600;
}

#opis p {
    font-weight: 100;
    margin: 0;
    color: white;
    padding: 0;
    font-size: 18px;
}

#nakup {
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    text-align: center;
    padding: 60px 15px;
}

#nakup h4 {
    font-size: 2em;
    font-weight: lighter;
    color: #3b3b3b;
    margin: 0 0 20px 0;
}

#nakup div {
    margin: 10px;
}

#nakup a {
    color: #ff7748;
    font-size: 1.3em;
}

#nakup a:hover {
    text-decoration: underline;
}

footer {
    margin: 0;
    background-color: #313131;
    padding: 2px;
    text-align: center;
    color: gray;
    box-shadow: inset 0 10px 20px -5px rgba(0,0,0,.5);
}

footer a {
    color: gainsboro;
    transition: color .2s;
}

footer a:hover {
    color: white;
}

/* GRELNE PLOŠČE */

#vzorci {
    background-image: url(../img/pattern1.jpg);
    background-size: cover;
    margin-top: 63px;
}

#vzorci .wrapper {
    width: 100%;
    max-width: 1200px;
    padding: 20px 20px 40px 20px;
    margin: 0 auto;
    text-align: center;
}

#vzorci h1 {
    font-weight: lighter;
    font-size: 2em;
}

.vzorec {
    display: inline-block;
    margin: 20px;
}

.vzorec h3 {
    font-weight: normal;
    font-size: 1.1em;
    margin: 3px;
}

.vzorec img {
    border-radius: 100%;
    border: solid 3px white;
    box-shadow: 0 5px 15px rgba(0,0,0,.2);
    width: 100px;
    height: 100px;
    object-fit: cover;
}

#standardne-opcije {
    text-align: center;
    padding: 50px;
    overflow: hidden;
}

#standardne-opcije div.wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-flow: row-reverse wrap;
    justify-content: center;
    align-items: center;
}

#standardne-opcije .left {
    display: inline-block;
    width: 50%;
    padding-left: 50px;
}

#standardne-opcije h1 {
    font-weight: normal;
    text-align: left;
    color: #ff7748;
}

#standardne-opcije p {
    text-align: left;
}

#standardne-opcije img {
    display: inline-block;
    width: 100%;
    max-width: 350px;
    border-radius: 5px;
}

#specifikacije {
    background-color: #ffddd1;
    text-align: center;
    padding: 15px;
    color: #3b3b3b;
}

#specifikacije h1 {
    font-weight: lighter;
    margin-bottom: 35px;
}

#specifikacije table {
    margin: 0 auto;
    padding: 0px;
    border-collapse: collapse;
    width: 90%;
    max-width: 735px;
    margin-bottom: 30px;
}

#specifikacije table th, td {
    border: solid 1px #ffddd1;
    padding: 10px 25px;
    background-color: whitesmoke;
}

#specifikacije table th {
    font-weight: normal;
    background-color: #ff7748;
    color: white;
}

#opis2 {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px;
}

#opis2 h1 {
    color: #ff7748;
}

#opis2 ul {
    list-style-type: circle;
}

#posebne-izvedbe {
    padding: 20px;
    width: 100%;
    text-align: center;
    background-color: #ff7748;
    color: white;
    padding-bottom: 40px;
}

#posebne-izvedbe h1 {
    font-weight: normal;
}

#posebne-izvedbe p {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    font-weight: lighter;
}

.bold {
    font-size: 1.3em;
}

#navodila {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px 20px 20px;
}

#navodila h1 {
    font-weight: normal;
    text-align: center;
    color: #ff7748;
}

#navodila div {
    text-align: right;
    margin: 10px 0;
}

#navodila a {
    color: #ff7748;
    font-weight: bold;
    font-size: 1.2em;
}

#navodila a:hover {
    text-decoration: underline;
}

/* CENIK */

#cenik-cap {
    background-color: #ff7748;
    position: fixed;
    top: 63px;
    width: 100%;
    padding: 20px;
    border-bottom: solid 1px white;
}

#cenik-cap p {
    text-align: center;
    color: white;
    padding: 5px 0;
    width: 100%;
    max-width: 1200px;
    font-weight: lighter;
    margin: 0 auto;
    font-size: 16px;
}

#cena {
    width: 100%;
    text-align: center;
    padding: 0;
}

#cena h1 {
    margin: 0;
    font-size: 1.3em;
    color: white;
    font-weight: normal;
}

.ddv {
    font-size: 0.8em;
}

#cena h2 {
    margin: 0;
    display: inline-block;
    font-weight: normal;
    font-size: 2.5em;
    color: white;
}

h1#no-select {
    margin: 0;
    display: inline-block;
    font-size: 1.3em;
    color: white;
    font-weight: normal;
}

#tip {
    width: 100%;
    text-align: center;
    margin: 0 auto;
    padding: 15px;
}

#cenik {
    margin-top: 180px;
    padding-bottom: 25px;
}

#cenik h1 {
    font-size: 1.5em;
    font-weight: lighter;
    color: #3b3b3b;
}

#tip h2 {
    background-color: transparent;
    padding: 10px 23px 13px 23px;
    color: #ff7748;
    display: inline-block;
    margin: 5px;
    cursor: pointer;
    transition: all .15s;
    border-radius: 5px;
    border: solid 1px #ff7748;
    font-weight: normal;
    font-size: 1.3em;
}

#tip h2:hover {
    background-color: #ff7748;
    color: white;
}

#tip h2:active {
    background-color: rgba(255,119,75,.5);
}

#tip h2.selected {
    background-color: #ff7748;
    color: white;
}

#vzorec {
    width: 100%;
    max-width: 420px;
    text-align: center;
    margin: 0 auto;
    padding: 10px 10px 25px 10px;
}

#vzorec h2 {
    background-color: transparent;
    padding: 5px 15px;
    color: white;
    text-shadow: 1px 1px 1px rgba(0,0,0,.75);
    margin: 10px auto;
    cursor: pointer;
    transition: all .2s;
    border-radius: 5px;
    font-weight: normal;
    font-size: 1.3em;
    width: 90%;
    box-shadow: inset 0 65px 0 rgba(0,0,0,.1);
}

#vzorec h2:hover {
    width: 100%;
}

#vzorec h2.selected {
    margin: 15px auto;
    width: 95%;
    padding: 15px;
}

#bra {
    background-image: url(../img/vzorci/01_bracki_sivec.jpg);
}

#car {
    background-image: url(../img/vzorci/02_carrara.jpg);
}

#cri {
    background-image: url(../img/vzorci/03_cristalino.jpg);
}

#ves {
    background-image: url(../img/vzorci/04_veselje.jpg);
}

#ros {
    background-image: url(../img/vzorci/05_rosso_verona.jpg);
}

#gia {
    background-image: url(../img/vzorci/06_gialo_atlantide.jpg);
}

#ver {
    background-image: url(../img/vzorci/07_verde_guatemala.jpg);
}

#pri {
    background-image: url(../img/vzorci/08_prilepski_beli.jpg);
}

#rosa {
    background-image: url(../img/vzorci/09_rosa_norvegia.jpg);
}

#rosa2 {
    background-image: url(../img/vzorci/10_rosa_portugallo.jpg);
}

#gra {
    background-image: url(../img/vzorci/11_granit_1.jpg);
}

/* GALERIJA */

#gal-cap {
    margin-top: 63px;
    background-color: #ff7748;
}

#gal-cap p {
    text-align: center;
    color: white;
    padding: 20px;
    width: 100%;
    max-width: 1200px;
    font-weight: lighter;
    margin: 0 auto;
}

#galerija {
    padding: 6px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

#galerija img {
    display: block;
    object-fit: cover;
    height: 250px;
    width: 250px;
    transition: filter .25s;
}

#galerija a {
    display: inline-block;
    overflow: hidden;
    margin: 1px 2px;
}

#galerija a:hover img {
    filter: brightness(130%);
    -webkit-filter: brightness(130%);
}

/* PROIZVAJALEC */

#cover2 {
    margin-top: 63px;
    width: 100%;
    background-image: url(../img/proizvajalec_cover.jpg);
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    background-attachment: fixed;
    text-align: center;
    box-shadow: inset 0 -10px 20px rgba(0,0,0,0.15);
}

#cover2 img {
    padding: 100px 50px;
    width: 100%;
    max-width: 399px;
}

#mramoterm {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

#mramoterm h1 {
    color: #ff7748;
    font-size: 2em;
    font-weight: normal;
}

#mramoterm p {
    text-align: justify;
}

@media only screen and (max-width: 1050px) {
    #galerija a {
        width: 24%;
    }
    
    #galerija img {
        width: auto;
    }
    
    #cover h2 {
        font-size: 75px;
        line-height: 80px;
    }
}

@media only screen and (max-width: 900px) {
    #galerija a {
        width: 32%;
    }
}

@media only screen and (max-width: 820px) {
    header nav {
        margin-right: 5px;
    }
    
    nav a {
        display: none;
    }
    
    header a {
        padding: 10px;
    }
    
    header nav img {
        display: block;
    }
    
    #standardne-opcije div.wrapper {
        flex-direction: row;
    }
    
    #standardne-opcije {
        padding: 20px;
    }
    
    #standardne-opcije .left {
        display: block;
        width: 100%;
        padding: 10px;
    }
    
    #standardne-opcije p {
        text-align: justify;
    }
    
    #standardne-opcije img {
        width: 375px;
        padding: 25px;
    }
    
    #opis2 p {
        text-align: justify;
    }
    
    #cover h2 {
        text-align: center;
    }
    
    #cover div {
        margin: 0 auto;
    }
    
    #cover a {
        margin: 0;
    }
}

@media only screen and (max-width: 665px) {
    #cover h2 {
        font-size: 60px;
        line-height: 60px
    }
    
    #cover .wrapper div {
        padding-top: 50px;
    }
}

@media only screen and (max-width: 635px) {
    #specifikacije table {
        width: 100%;
    }
    
    #specifikacije table tr, th, td {
        padding: 5px 15px;
        font-size: 1em;
    }
    
    #galerija a {
        width: 48%;
    }
}

@media only screen and (max-width: 535px) {
    #specifikacije table tr, th, td {
        padding: 0;
        font-size: 0.8em;
    }
    
    #galerija a {
        width: 47%;
    }
    
    #galerija img {
        height: 200px;
    }
}

@media only screen and (max-width: 430px) {
    #galerija img {
        height: 150px;
    }
}

@media only screen and (max-width: 460px) {
    #cover .wrapper {
        padding: 25px;
    }
    
    #cover h2 {
        font-size: 50px;
        line-height: 55px;
        text-align: left;
    }
    
    #cover .wrapper div {
        padding-top: 40px;
        width: 100%;
    }
    
    #cover .wrapper div a {
        font-size: 18px;
        padding: 15px 65px;
    }
}

@media only screen and (max-width: 340px) {
    #specifikacije table {
        font-size: 0.7em;
        font-weight: bold;
    }
    
    #cover .wrapper div a img {
        display: none;
    }
}

@-webkit-keyframes navOpen {
    from {
        opacity: 0;
    }
    
    to {
        opacity: 1;
    }
}

@keyframes navOpen {
    from {
        opacity: 0;
        width: 55%;
    }
    
    to {
        opacity: 1;
        width: 100%;
    }
}