/* 
    Theme Name: Proderma
    Author: Plano-IT
    Version: 1.0.0
*/

.editable{
    width: 90%;
    margin-top: 20px;
    margin-bottom: 20px;
}

*{
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    scroll-behavior: smooth;
    text-decoration: none;
}

html{
    margin: 0!important;
}

html, body{
    width: 100%;
}

.loader{
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #E5ADC9;
    z-index: 99;
    transition: opacity 0.75s, visibility 0.75s;
}

.loader--hidden{
    opacity: 0;
    visibility: hidden;
}

.loader::after{
    content: "";
    width: 75;
    height: 75;
    border: 15px solid #dddd;
    border-top-color: #fff;
    border-radius: 50%;
    animation: loading 0.75s ease infinite;
}

@keyframes loading{
    from {
        transform: rotate(0turn)
    }
    to{
        transform: rotate(1turn);
    }
}

header{
    width: 100%;
    background-color: #FEF0F3;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.above, .info{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.info a{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-right: 20px;
}

.info a img, .above a img{
    margin-right: 10px;
}

.above a{
    text-decoration: none;
    color: #506B73;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.above{
    width: 100%;
    margin-bottom: 30px;
    margin-top: 20px;
}

.nav{
    z-index: 2;
    width: 70%;
    height: 80px;
    border-radius: 10px;
    background-color: #fff;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px;
}

.mob-but{
    display: none;
}

.line{
    width: 35px;
    height: 4px;
    background-color: #222121;
    margin-bottom: 5px;
    border-radius: 50px;
}

.mob-nav {
    max-height: 0;  /* Collapsed initially */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    width: 90%;
    transition: max-height 0.5s ease-in-out;  /* Smooth height transition */
}

.mob-nav.show {
    max-height: 300px; /* Adjust this based on how tall the menu is */
}

.mob-nav a{
    padding: 20px;
}

.mob-nav a:hover{
    background-color: #f1eded;
}

.left{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.left .logo{
    height: 70px;
}

.left img{
    margin-right: 100px;
}

.left a, .mob-nav a{
    color: #445B64;
    text-decoration: none;
    margin-right: 20px;
    transition: 0.25s;
}

.left #active, .left a:hover, .mob-nav #active, .mob-nav a:hover{
    color: #E5ADC9;
}

.right{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.right a img{
    height: 24px;
    margin-right: 10px;
}

.right a{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-right: 20px;
}

.button{
    padding: 15px;
    border-radius: 5px;
    background-color: #E5ADC9;
    color: #fff;
    text-decoration: none;
    transition: 0.25s;
    color: #fff!important;
    font-weight: normal!important;
}

.button:hover{
    border-radius: 1px;
    background-color: #b8869f;
}

.banner{
    width: 80%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    margin-top: -20px;
    z-index: 1;
}

.banner img{
    height: 600px;
}

.text a{
    color: #E5ADC9;
    font-weight: bold;
    font-size: 20px;
}

.text h1{
    font-size: 70px;
    margin-bottom: 50px;
}

main{
    width: 100%;
    background-color: #E5ADC9;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#onas{
    margin-top: 20px;
    margin-bottom: 50px;
    width: 80%;
    color: #fff;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

#onas h2{
    font-size: 40px;
}

#onas p{
    font-size: 17px;
    white-space: wrap;
    width: 40%;
    line-height: 35px;
}

#storitve{
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.row{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 20px;
}

.row a{
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.25s;
}

.row a .tag{
    height: 30px;
    width: 60%;
    background-color: #fff;
    color: #000;
    border-radius: 10px;
    margin-top: -40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    padding: 20px;
    z-index: 2;
}

.row a:hover{
    transform: scale(1.05);
}

.row img{
    width: 400px;
    height: 250px;
    margin-right: 20px;
    border-radius: 10px;
    z-index: 1;
    filter: brightness(80%);
}

#informacije{
    width: 100%;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#informacije h2{
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 35px;
}

.inf{
    width: 60%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

.inf iframe{
    border-radius: 10px;
}

.kontakt{
    font-size: 20px;
}

footer{
    margin-top: 20px;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: #E5ADC9;
    color: #fff;
    height: 40px;
}

#vsestoritve{
    padding-top: 20px;
    padding-bottom: 20px;
    width: 100%;
    background-color: #FEF0F3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.storitev{
    overflow: hidden;
    max-height: 320px;
    width: 70%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-around;
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 20px;
    position: relative;
    transition: max-height 0.5s ease-in-out;  /* Smooth height transition */
}

.storitev.show{
    max-height: 1500px;
}

.storitev img{
    width: 400px;
    height: 250px;
}

.storitev .text, .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow p{
    width: 60%!important;
    padding: 10px!important;
    padding-bottom: 100px!important;
}

.storitev .text b, .stortxt b, .stortxt a strong{
    color: #E5ADC9;
}

.readmore{
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    background-color: #faf7f7;
    height: 50px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.25s;
    color: #E5ADC9;
    font-weight: bold;
}

.readmore:hover{
    background-color: #e7e2e2;
}

@media only screen and (max-width: 1410px){
    .nav{
        width: 95%;
    }

    .left img{
        margin-right: 0px!important;
    }

    .prodmail{
        margin-right: 0px!important;
    }

    .right{
        display: none;
    }

    .navbtn{
        display: none;
    }

    .mob-but{
        display: flex;
        flex-direction: column;
        cursor: pointer;
    }

    .storitev{
        flex-direction: column;
        align-items: center;
        width: 90%;
        max-height: 30000px;
    }

    .storitev .text{
        padding-bottom: 0px!important;
    }

    .readmore{
        display: none;
    }

    .storitev .text{
        width: 90%;
    }
}

@media only screen and (max-width: 1300px){
    .row{
        flex-direction: column;
    }

    .row a{
        margin-bottom: 20px;
    }

    .row img{
        margin: 0px!important;
        width: 120%;
    }
}

@media only screen and (max-width: 1110px){
    .text h1{
        font-size: 40px;
    }

    #onas p{
        width: 50%;
        line-height: 30px;
    }

    .inf{
        flex-direction: column;
        width: 100%;
    }

    .kontakt{
        margin-bottom: 30px;
    }

    iframe{
        width: 90%;
    }
}

@media only screen and (max-width: 650px){
    #fb{
        display: none;
    }

    .banner img{
        display: none;
        margin-top: 0;
    }

    .banner{
        margin-top: 20px!important;
        margin-bottom: 30px;
        justify-content: left;
    }

    #onas{
        flex-direction: column;
        margin-bottom: 20px;
        justify-content: left;
        text-align: left;
    }

    #onas h2{
        margin-bottom: 20px;
    }
    
    #onas p{
        width: 100%;
    }

    header{
        background-image: url(img/borutzgavec.png);
        background-size: 300px;
        background-repeat: no-repeat;
        background-position: bottom right;
    }

    .banner{
        margin-top: 100px!important;
    }
}