
@import url("https://use.typekit.net/nlf3lze.css");


/* ROOT */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body{
    margin: 0;
    box-sizing: border-box;
    font-family: "europa", sans-serif;
    font-weight: 100;
    position: relative;
}
/* INTRO */
.intro{
    display: none;
   position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
}

/* Keyframes for fade-out animation */
@keyframes fadeOut {
    from {
      opacity: 1; /* Fully visible */
    }
    to {
      opacity: 0; /* Fully invisible */
    }
  }
  
  /* Class to apply the fade-out effect */
  .fade-out {
    animation: fadeOut 2s ease-in-out forwards; /* Duration: 2s, easing: ease-in-out, end state: retain final frame */
  }
.intro_1{
    width: auto;
    height: 100vh;
    background-color: #000;
}

.intro_2{
    width: auto;
    height: 100vh;
    background-color: #fff;
}

.intro_3{
    width: auto;
    height: 100vh;
    background-color: #FFC300;
}

.intro_img_1, .intro_img_2, .intro_img_3{
    position: relative;
    left: 50vw;
    top: 50vh;
    transform: translate(-50%, -50%);
    max-width: 50vw;
    max-height: 50vh;
}


/* HOME */

.flex-center{
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-center-coll{
    display: flex;
    justify-content: flex-start;
    align-items: start;
    flex-direction: column;
}

.flex-right{
    display: flex;
    justify-content: end;
    align-items: end;
}

.flex-between{
    display: flex;
    justify-content: space-between;
    align-items: start;
}
.flex-between-coll{
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-direction: column;
    height: 100vh;
}

.w-25{
    width: 25%;
}

.w-75{
    width: 75%;
}

.w-100{
    width: 100%;
}
/* TOP */


    /* LOGO */
    .logo_img{
        width: 250px;
        margin-top: 0px;
        
    }
    .logo_img:hover{
        opacity: 0.7;
        transition: .2s  ease-in-out;
    }

    /* MENU */
    a {
        color: #000;
      }
      
      /* header */
      
    .header {
        box-sizing: border-box;
        position: fixed;
        top: 0;
        left: 0;
        padding: 0 15px 0 5px;
        width: 100vw;
        height: 150px;
        background-color: #fff;
        z-index: 999;
    }
      
    .header ul {
        margin-top: 5px;
        padding: 0;
        list-style: none;
        overflow: hidden;
    }
      
    .header li a {
        display: block;
        padding: 20px 20px;
        font-size: 11pt;
        text-decoration: none;
    }
      
    .header li a:hover,
    .header .menu-btn:hover {
        opacity: 0.7;
        transition: .2s  ease-in-out;
    }
    .active{
        opacity: 0.7;
    }
    

      .header .logo {
        display: block;
        float: left;
        font-size: 2em;
        padding: 10px 20px;
        text-decoration: none;
      }
      
      /* menu */
      
      .header .menu {
        clear: both;
        max-height: 0;
        transition: max-height .2s ease-out;
      }
      
      /* menu icon */
      
      .header .menu-icon {
        cursor: pointer;
        display: flex;        
        top: 35px;
        right: 30px;
        position: fixed;
        user-select: none;
      }
      
      .header .menu-icon .navicon {
        background: #000;
        display: block;
        height: 2px;
        position: relative;
        transition: background .2s ease-out;
        width: 26px;
      }
      
      .header .menu-icon .navicon:before,
      .header .menu-icon .navicon:after {
        background: #333;
        content: '';
        display: block;
        height: 100%;
        position: absolute;
        transition: all .2s ease-out;
        width: 100%;
      }
      
      .header .menu-icon .navicon:before {
        top: 7px;
      }
      
      .header .menu-icon .navicon:after {
        top: -7px;
      }
      
      /* menu btn */
      
      .header .menu-btn {
        display: none;
      }
      
      .header .menu-btn:checked ~ .menu {
        max-height: 240px;
        background-color: #fff;
      }
      
      .header .menu-btn:checked ~ .menu-icon .navicon {
        background: transparent;
      }
      
      .header .menu-btn:checked ~ .menu-icon .navicon:before {
        transform: rotate(-45deg);
      }
      
      .header .menu-btn:checked ~ .menu-icon .navicon:after {
        transform: rotate(45deg);
      }
      
      .header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
      .header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
        top: 0;
      }
       
/* MAIN */

.left{
    position: fixed;
    left: 0;
    top: 150px;
    width: 18%;
    margin-left: 30px;
    height: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    z-index: 1000;
}

.left h1{
    font-size: 20pt;
    margin-bottom: 40px;
}

.left p{
    font-size: 10pt;
    line-height: 18pt;
    margin-bottom: 20px;
}

.left-link{
    width: 65px;
}

.linkin{
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: #B4B4B4;
}

.linkin:hover > span{
    color: #000;
    transition: .2s  ease-in-out;
}

.linkin:hover > img{
    opacity: 1;
    transform: translateX(5px);
}

.left-link img{
    width: 20px;
    opacity: 0.8;
    transition: .2s  ease-in-out;
    vertical-align:middle;
}

.left-intro-text{
    position: fixed;
    left: 0;
    bottom: calc(100vh - 79%);
    margin-left: 30px;
    width: 15%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10pt;
}

.adress{
    position: fixed;
    left: 0;
    bottom: calc(100vh - 90%);
    margin-left: 30px;
    width: 15%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.adress p{
    font-size: 10pt;
}

.social{
    position: fixed;
    left: 0;
    bottom: calc(100vh - 98%);
    margin-left: 30px;
    width: 10%;
    display: flex;
    justify-content: space-between;
}

.social li{
    list-style: none;
}

.social img{
    width: 35px;
    opacity: 0.8;
    transition: .2s  ease-in-out;
}

.social img:hover{
    width: 35px;
    opacity: 1;
}

.right{
    box-sizing: border-box;
    float: right;
    right: 0;
    margin-top: 150px;
    margin-bottom: 50px;
    height: auto;
    padding: 0 30px;
    width: 70%;
}

.projects-home{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
}

.project-home{
    margin-bottom: 50px;
    text-align: right;
}

.project-home a{
    text-decoration: none;
}

.project-home a img{
    max-width: 100%;
    max-height: 800px;
    object-fit: cover;
}

.project-info{
    display: none;
    
}



/* BOTTOM */

.bottom{
    display: none;
}

.adress_bottom{
    width: 50%;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.adress_bottom p{
    font-size: 10pt;
}

.social_bottom{
    width: 50%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.social_bottom li{
    list-style: none;
}

.social_bottom img{
    width: 35px;
    opacity: 0.8;
    transition: .2s  ease-in-out;
}

.social_bottom img:hover{
    width: 35px;
    opacity: 1;
}

/* PROJECTS */

/* PRACTICE */
.right_practice{    
    box-sizing: border-box;
    float: right;
    right: 0;
    margin-top: 200px;
    margin-bottom: 50px;
    height: auto;
    padding: 0 30px;
    width: 70%;
}

.clients{
    display: grid;
    grid-gap: 80px;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.clients img{
    width: 80%;
}

.cartoons{
    margin-top: 100px;
    margin-bottom: 100px;
    display: grid;
    grid-gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.cartoons img{
    width: 80%;
}

/* BACKGROUND */
.projects-bckg{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
}

.project-bckg{
    margin-bottom: 50px;
    text-align: right;
}

.project-bckg{
    text-decoration: none;
}

.project-bckg img{
    width: auto;
    max-height: 800px;
    object-fit: cover;
}

.project-info{
    display: none;
    
}

/* PRINCIPAL DESIGNER */
.pd-top-title{
    display: none;
}

.projects-pd{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    margin-top: 2px;
}

.project-pd{
    margin-bottom: 50px;
}

.project-pd img{
    width: 100%;
    max-height: 800px;
    object-fit: cover;
}

.pd-desc{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

.pd-desc-r{
    width: 30%;
    text-align: left;
}

.pd-desc-img{
    width: 65%;
}

.pd-desc img{
    width: 100%;
    height: auto;
}

@media (min-width: 960px) {
    .header li {
        float: left;
      }
      .header li a {
        padding: 20px 30px;
      }
      .header .menu {
        clear: none;
        float: right;
        max-height: none;
      }
      .header .menu-icon {
        display: none;
      }
      
     
}
/* RESPONSIVE */
@media (max-width: 960px) {
    .header {
        height: 100px;
    }
    .logo_img{
        width: 150px;
        margin-top: 10px;
        
    }
    .left{
        display: none;
    }
    .adress{
        display: none;
    }
    .social{
        display: none;
        position: relative;
    }
    .right{
        width: 100%;
        margin-top: 120px;
    }
    .project-home a{
        text-decoration: none;
        color: #000;
    }
    .project-info{
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        flex-direction: column;
        padding: 5px 0px;
    }
    .project-info h2{
        font-size: 24px;
        font-weight: bold;
        text-align: left;
    }
    .project-info span{
        width: 100%;
        font-size: 11pt;
        margin-bottom: 10px;
        text-align: left;
    }

    .bottom{
        display: block;
    }

    .right_practice{
        width: 100%;
        margin-top: 120px;
    }
    /* .clients{
        grid-gap: 30px;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    .cartoons{
        margin-top: 50px;
        margin-bottom: 50px;
        grid-gap: 30px;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    } */

    .pd-top-title{
        display: block;
        width: 100%;
    }
    .pd-top-title h1{
        margin-bottom: 25px;
    }
    .pd-desc{
        flex-direction: column;
    }
    .pd-desc-r{
        width: 100%;
        text-align: left;
        order: 2;
    }
    .pd-desc-img{
        width: 100%;
        order: 1;
    }    

}

@media (max-width: 1102px) {
    .clients{
        grid-gap: 30px;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    .cartoons{
        grid-gap: 30px;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}

@media (max-width: 1415px) {
    .clients{
        grid-gap: 30px;
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
    .cartoons{
        grid-gap: 30px;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
    .left-intro-text{
        display: none;
    }
}

/* MOBILNI PRIKAZ */
@media (max-width: 500px) {
    .clients{
        grid-gap: 30px;
        grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    }
    .cartoons{
        grid-gap: 30px;
        grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    }
    .left-intro-text{
        display: none;
    }
}

/* @media (min-width: 690px) {
    .clients{
        grid-gap: 30px;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    .cartoons{
        grid-gap: 30px;
        grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    }
}


@media (max-width: 1631px) {
    .clients{
        grid-gap: 30px;
        grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    }
    .cartoons{
        grid-gap: 30px;
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    }
} */