@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap');

:root{
    --main-color:#0eb6c2;
    --main-darker:#078c96;
    --main-lighter: #53e7e0;
    --black:#171c22;
    --white:#fff;
    --bg:#010103;
    --border:.1rem solid rgba(255,255,255,.3);
    --poppins: 'Poppins', sans-serif;
}

*{
    font-family: 'Poppins', sans-serif;
    margin:0; padding:0;
    box-sizing: border-box;
    outline: none; border:none;
    text-decoration: none;
    text-transform: capitalize;
    transition: .2s linear;
    text-transform: none;
}

html{
    font-size: 64.2%;
    overflow-x: hidden;
    scroll-padding-top: 8rem;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar{
    width: .8rem;
}

html::-webkit-scrollbar-track{
    background: transparent;
}

html::-webkit-scrollbar-thumb{
    background: #000;
}

body{
    background: var(--bg);
}

section{
    padding:2rem 7%;
}

.heading{
    text-align: center;
    color:#fff;
    padding-bottom: 3.5rem;
    font-size: 5rem;
    letter-spacing: 1px;
}

.heading span{
    color:var(--main-color);
}

.gradient{
    background: linear-gradient(90deg,  #0093E9 0%, #6ae7d9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn{
    display: inline-block;
    padding: 1.2rem 3.2rem;
    font-size: 1.7rem;
    color:#fff;
    background: var(--main-color);
    cursor: pointer;
    border-radius: 30px;
    margin-bottom: 20px;
    font-weight: 700;
}

.btn:hover{
    color:var(--main-color);
    background-color:var(--white);
}

.header{
    background: #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top:0; left: 0; right: 0;
    z-index: 1000;
    height: 65px;
}

.main{
    padding: 1.5rem 2rem 2rem 1.5rem;
}

.projectheader{
    padding: 1rem 2rem 0rem 1rem;
}

.header .logo h3{
    font-size: 2.2rem;
    padding: 2rem;
    margin-top: 10px;
    margin-bottom: 7px;
    letter-spacing: -2px;
    background: linear-gradient(90deg,  #0093E9 0%, #6ae7d9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 2rem;

}

.header .logo h3:hover{
    -webkit-transform: scale(1.1);
}

.header .navbar{
    position: absolute;
    right: 0;
    top: 15px;
}
.header .navbar a{
    margin:0 2rem;
    font-size: 2rem;
    font-family: var(--poppins);
    color:#fff;
}

.header .navbar a:active{
    text-decoration: underline;
}

.header .navbar a:hover{
    color:var(--main-color);
    text-decoration: underline;
    text-underline-offset: 5px;
}

.header .icons div{
    color:#fff;
    cursor: pointer;
    font-size: 2.5rem;
    margin-left: 2rem;
}

.header .icons div:hover{
    color:var(--main-color);
}

#projects-btn{
    display: none;
}

.header .search-form{
    position: absolute;
    top:115%; right: 7%;
    background: #fff;
    width: 50rem;
    height: 5rem;
    display: flex;
    align-items: center;
    transform: scaleY(0);
    transform-origin: top;
}

.header .search-form.active{
    transform: scaleY(1);
}

.header .search-form input{
    height: 100%;
    width: 100%;
    font-size: 1.6rem;
    color:var(--black);
    padding:1rem;
    text-transform: none;
}

.header .search-form label{
    cursor: pointer;
    font-size: 2.2rem;
    margin-right: 1.5rem;
    color:var(--black);
}

.header .search-form label:hover{
    color:var(--main-color);
}

.header .cart-items-container{
    position: absolute;
    top:100%; right: -100%;
    height: calc(100vh - 9.5rem);
    width: 35rem;
    background: #fff;
    padding:0 1.5rem;
}

.header .cart-items-container.active{
    right: 0;
}

.header .cart-items-container .cart-item{
    position: relative;
    margin:2rem 0;
    display: flex;
    align-items: center;
    gap:1.5rem;
}

.header .cart-items-container .cart-item .fa-times{
    position: absolute;
    top:1rem; right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--black);
}

.header .cart-items-container .cart-item .fa-times:hover{
    color:var(--main-color);
}

.header .cart-items-container .cart-item img{
    height: 7rem;
}

.header .cart-items-container .cart-item .content h3{
    font-size: 2rem;
    color:var(--black);
    padding-bottom: .5rem;
}

.header .cart-items-container .cart-item .content .price{
    font-size: 1.5rem;
    color:var(--main-color);
}

.header .cart-items-container .btn{
    width: 100%;
    text-align: center;
}

.home{
    min-height: 100vh;
    display: flex;
    align-items: center;
    font-family: var(--poppins);
    background-size: cover;
    background-position: center;
    
}

@media (max-width: 1000px){
    .home{
        min-height: 85vh;
    }
}

.contentgrid{
    display: flex;
    flex-direction: row;
    height: 100%;
    margin: 0 auto;
    gap: 5rem;
}

.contentgrid .content{
    max-width: 50rem;
}

.certification .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(42rem, 1fr));
    gap:1.5rem;
    padding: 0;
    margin: 0 auto;
    max-width: 1200px;
}

.certification .box-container .box{
    text-align: center; 
    position: relative;
}

.certification .content{
    padding: 3rem;
    background:var(--black);
    height: 35rem;
    max-width: 65rem;
    margin: 0 auto;
}


.certification .content h3{
    font-size: 3rem;
    color:var(--main-color);
    padding: 0;
    margin-right: 0;
}

.certification .content p{
    font-size: 1.5rem;
    color:#ccc;
    padding:1rem 0;
    line-height: 1.5;
    letter-spacing: 1px;
    margin-bottom: -10px;
}

.mainphoto{
    justify-self: center;
    align-self: center;
    display: block;
}


.mainphoto img{
    max-width: 25vmax;
    height: auto;
    border-radius: 200px;
    border: 7px solid var(--white);
}

.home .content h3{
    font-size: 4vmax;
    color:var(--white);
    letter-spacing: 1px;
    font-weight: 800;
    line-height: 6rem;
    margin: 20px 0;
}

.home .content span{
    background: linear-gradient(90deg,  #0093E9 0%, #6ae7d9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home .content p{
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.8;
    color:#eee;
    text-transform: none;
}

/*ABOUT*/

.about .row{
    display: flex;
    flex-direction: row;
    background:var(--black);
    margin-bottom: 10px;
    max-height: 100%;
    padding: 2.5rem;
    gap: 3rem;
}

@media (max-width: 1250px){
    .about .row{flex-wrap: wrap-reverse;}

}

.aboutimage{
    align-self: center;
    max-width: 80vh;
    margin: 0 auto;
}


.aboutimage img{
    max-width: 100%;
    height: auto; 
}

.about .row .content{
    padding: 0;
    align-self: center;
}

.about .row .content h3, .blogpost .row .content h3{
    font-size: 3.75rem;
    letter-spacing: 1px;
    color:var(--main-color);
    text-transform: none;
    margin-top: 10px;
    line-height: 5rem;
    margin-bottom: 10px;
}

.about .row .content p{
    font-size: 2.5vmin;
    color:#ccc;
    padding:1rem 1rem 0 0;
    line-height: 1.4;
}

.about .row .content span{
    color: var(--main-color);
}

p span{
    color: var(--main-color);
}
/*Products*/

.row{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(45rem, 1fr));
    gap:1.5rem;
    padding: 0;
    margin: 0 auto;
    max-width: 1200px;
    
}



.row .content{
    padding: 3rem;
    background:var(--black);
    height: 40rem;
    
}


.row .content h3{
    font-size: 3rem;
    color:var(--main-color);
    padding: 0;
    margin-right: 0;
}

.row .content p{
    font-size: 1.5rem;
    color:#ccc;
    padding:1rem 0;
    line-height: 1.5;
    letter-spacing: 1px;
    margin-bottom: -10px;
}

.bold{
    font-weight: 800;
}

.cardtext{
    margin-top: 30px;
}

.resume .cvbtn{
    margin-top: 10px;
    text-align: center;
}

.cvbtn{
    color:var(--white);
    background-color: none;
    font-size: 1.8rem;
    font-weight: 800;
}

.slideshow-container {
    width: 100%;
    flex:1 1 45rem;
    position: relative;
    margin: auto;
  }

/* Hide the images by default */
.mySlides {
    display: none;
  }


  /* Next & previous buttons */
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    text-shadow: 1px 2px 3px #000;
    font-weight: bold;
    font-size: 30px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
    transition: 0.2s ease;
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
    background-color: rgba(0,0,0,0.8);
    color: #f2f2f2;
    font-size: 20px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }

  
  /* Fading animation */
  .fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
  }
  
  @-webkit-keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
  }
  
  @keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
  }

/*Projects*/

  .projects .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(42rem, 1fr));
    gap:1.5rem;
    padding: 0;
    margin: 0 auto;
    max-width: 1200px;
}

.projects .box-container .box{
    text-align: center; 
    position: relative;
}


.projects .box-container .box img{
    height: 35rem;
    width: 100%;
}

.resume .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(42rem, 1fr));
    gap:1.5rem;
    padding: 0;
    margin: 0 auto;
    max-width: 1200px;
}

.resume .box-container .box{
    text-align: center; 
    position: relative;
}


.resume .box-container .box img{
    height: 35rem;
    width: 100%;
}

.overlay{
    position: absolute;
    display:none;
    z-index: 100;
    height: 35rem;
    width: 100%;
}

.overlay p{
    padding: 3rem;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: -40px;
    letter-spacing: 0;
    line-height: 1.9rem;
}

.overlay span{
    color: var(--main-color);
}

.imgtext{
    position: absolute;
    width: 100%;
    display: flex;
    align-items: flex-end; /* Align items to the bottom */
    justify-content: center;
    height: 85px;
    z-index: 100;
    bottom: 0;
    left: 50%;
    padding-bottom: 15px;
    transform: translate(-49.95%, 0%);
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 4rem;
    text-shadow: 3px 4px 3px #000;
    background: rgb(0, 0, 0, 0.7);
   
    letter-spacing: 0;
}

.svatby{
    color:#fad1c4;
}

.bioserenity{
    color: #2d91e3;
}

.royaume{
    color: #fdd585;
}

.truhlarstvi{
    color: #da7619;

}

.nordicscreen{
    color: #94ca00;
}

.monsterslayer{
    color: #912240;
}

.weather{
    color: #9057df;
}

.bescipes{
    color: #f07d3b;
}

.pacman{
    color:rgb(255, 208, 0);
}

.chat{
    color:#ff6a6a;
}

.sneks{
    color: #4ba7ee;
}

.box:hover .imgtext{
    display: none;
}


.box:hover .img-hover{
    opacity: 0.2;
    filter: blur(1px);
}

.box:hover .overlay{
    display:block;
}

.projects .box-container .box h3{
    color: #fff;
    font-size: 2.5rem;
    letter-spacing: 1.5px; 
    margin-top: 10px; 
}

.projects .box-container .box:hover > *{
    color:var(--black);
}

section{
    margin-bottom: 2rem;
}

.footer{
    margin-bottom: 0;
}

.projectimg{
    min-height: 350px;
    max-height: 400px;
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.projectbtn{
    position: absolute;
    color:var(--white);
    background-color: none;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto;
    opacity: 1;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
    letter-spacing: 0;
}


/*Blog*/

.blog .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap:1.5rem;
    
}

.blog .box-container .box{
    padding:1rem;
    position: relative;
    text-align: center;    
    background-color: var(--black);
}


.blog .box-container .box img{
    height: auto;
    max-width: 100%;
}

.blog .box-container .box h3{
    color: #fff;
    font-size: 2rem;
    letter-spacing: 1.5px; 
    margin-top: 10px; 
    margin-bottom: 50px;
    padding: 10px;
}

.blogbtn{
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 1rem 2.5rem;
    font-size: 1.5rem;
    color:#fff;
    background: var(--main-color);
    cursor: pointer;
    margin-top: 30px;
    font-weight: 700;
    letter-spacing: 0;
}

.blogbtn:hover{
    background: var(--white);
    color:var(--main-color);

}

.bloglink{
    font-size: 2rem;
    text-align: center;
    margin-top: 20px;
}

.bloglink a{
    color: var(--white);
    
}

.bloglink a:hover{
    color: var(--main-color);
    text-decoration: underline;
    text-underline-offset: 5px;
}

/*Blogposts*/

.blogpost{
    margin-top: 8rem;
}

.blogpost .heading{
    font-size: 4rem;
}


.blogpost .row{
    display: grid;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(50rem, 1fr));
    background:var(--black);
    margin-bottom: 10px;
    max-height: 100%;
    padding: 2.5rem;
    gap: 3rem;
}

.blogpost .row .content{
    margin-bottom: 20px;
}

.blogpost .row .content p{
    font-size: 2.4vmin;
    font-weight: 500;
    color:#ccc;
    padding:1rem 1rem 0 0;
    line-height: 1.3;
}

/*Products*/

.products .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap:1.5rem;
}

.products .box-container .box{
    text-align: center;
    border:var(--border);
    padding: 2rem;
}

.products .box-container .box .icons a{
    height: 5rem;
    width: 5rem;
    line-height: 5rem;
    font-size: 2rem;
    border:var(--border);
    color:#fff;
    margin:.3rem;
}

.products .box-container .box .icons a:hover{
    background:var(--main-color);
}

.products .box-container .box .image{
    padding: 2.5rem 0;
}

.products .box-container .box .image img{
    height: 25rem;
}

.products .box-container .box .content h3{
    color:#fff;
    font-size: 2.5rem;
}

.products .box-container .box .content .stars{
    padding: 1.5rem;
}

.products .box-container .box .content .stars i{
    font-size: 1.7rem;
    color: var(--main-color);
}

.products .box-container .box .content .price{
    color:#fff;
    font-size: 2.5rem;
}

.products .box-container .box .content .price span{
    text-decoration: line-through;
    font-weight: lighter;
    font-size: 1.5rem;
}
.gallerygrid{
    display: grid;
    gap: 1rem;
    grid-template-columns:  repeat(auto-fit, minmax(30rem, 1fr 1fr 1fr));
}

.cards {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-gap: 1rem;
    padding: 10px;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }

  .smaller{
    max-width: 900px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

.tall{
    height: 35rem;
}

.card {
    background-color: var(--main-color);
    justify-self: center;
    color: white;
    padding: 0;
    height: 25rem;
  }

.gallerypic{
    max-width: 100%;
    height: 100%;
}


.slides{
    display: none;
}

.carouselcontainer{
    display: flex;
    flex: 2 1;
    flex-direction: row;
    height: 450px;
    background-color: #d18135;
    justify-content: center;

}

.carouselcontainer span{
    font-size: 1.8rem;
}

/*Contact*/


.contact .row{
    display: flex;
    background: none;
    flex-wrap: nowrap;
    gap:1rem;
    max-height: 450px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact .row .map{
    flex:1 1 45rem;
    width: 100%;
    object-fit: cover;
}

.footermap{
    max-height: 40rem;
    max-width: 40rem;
}

.contact .row .info{
    flex: 1 1 45rem;
    text-align: center;
}

.contact .heading{
    padding-bottom: 1rem;
}

#infop{
    margin-top: 20px;
    margin-bottom: 20px;
    color: #fff;
    font-size: 2rem;
    letter-spacing: 1px;
    text-align: center;
    padding: 0 3rem 0 3rem;
}

.contact .row .info .iconcontainer{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 800px;
    color: #fff;
    font-size: 4.5rem;
    margin-top: 10px;
    margin: 0 auto;
    justify-self: center;
    word-break: break-all;
}

.iconcontainer p{
    font-size: 2rem;
    font-weight: bold;
    margin-top: 10px;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 2rem;
}

#contact-p{
    font-size: 1.3rem;
    font-weight: normal;
}


.contact .row .info h3{
    text-transform: uppercase;
    font-size: 4.5rem;
    color: var(--main-color);
    margin-top: -15px;
    letter-spacing: 1px;
}

.iconcircle{
    background-color: var(--black);
    height: 100px;
    width: 100px;
    border-radius: 50px;
}

.fa-circle{
    color:var(--black);
}

.fa-paper-plane, .fa-phone, .fa-linkedin-in{
    color: var(--main-color);
    font-size: 3.5rem;
}

.fa-paper-plane:hover, .fa-phone:hover, .fa-linkedin-in:hover{
    color:var(--white);
    cursor: pointer;
}

.fa-stack{
    justify-self: center;
}


.review .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap:1.5rem;
}

.review .box-container .box{
    border:var(--border);
    text-align: center;
    padding:3rem 2rem;
}

.review .box-container .box p{
    font-size: 2rem;
    line-height: 1.5;
    color:#ccc;
    padding:2rem 0;
    letter-spacing: 1px;
}

.review .box-container .box .user{
    height: 7rem;
    width: 7rem;
    border-radius: 50%;
    object-fit: cover;
}

.review .box-container .box h3{
    padding:1rem 0;
    font-size: 2.5rem;
    color:#fff;
    letter-spacing: 1px;

}

.review .box-container .box .stars i{
    font-size: 1.5rem;
    color:var(--main-color);
}

.footer{
    background:var(--black);
    text-align: center;
}

.footer .share{
    padding:1rem 0;
}

.footer .share a{
    height: 5rem;
    width: 5rem;
    line-height: 5rem;
    font-size: 2rem;
    color:#fff;
    border:var(--border);
    margin:.3rem;
    border-radius: 50%;
}

.footer .share a:hover{
    background-color: var(--main-color);
    text-decoration: none;
}

.footer .links{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding:2rem 0;
    gap:1rem;
}

.footer .links a{
    padding:.7rem 2rem;
    color:#fff;
    border:var(--border);
    border-radius: 25px;
    font-size: 2rem;
    font-weight: 500;
}

.footer .links a:hover{
    color:var(--main-color);
    border-color: var(--main-color);
    text-decoration: none;
    transition: 0.3s ease;

}

.footer .credit{
    font-size: 2rem;
    color:#fff;
    font-weight: lighter;
    padding:1.5rem;
}

.footer .credit span{
    color:var(--main-color);
}

.footer .credit span a{
    color:var(--main-color);
}

.footer .credit span a:hover{
    color:var(--main-color);
    text-decoration: underline var(--main-color);
    text-underline-offset: 5px;
}


/* media queries  */

@media (max-width:991px){

    html{
        font-size: 55%;
    }

    .header{
        padding:1.5rem 2rem;
    }

    section{
        padding:2rem;
    }

    .about .row .content{
        grid-column: 1;

    }
}

@media (max-width:768px){

    #projects-btn{
        display: inline-block;
    }

    .header .navbar{
        position: absolute;
        top:100%; right: -100%;
        background: #fff;
        width: 30rem;
        height: calc(100vh - 9.5rem);
    }

    .header .navbar.active{
        right: 50px;
    }

    .header .navbar a{
        color:var(--main-color);
        display: block;
        margin:1.5rem;
        padding:.5rem;
        font-size: 2rem;
    }

    .header .search-form{
        width: 90%;
        right: 2rem;
    }

    .home{
        background-position: left;
        justify-content: center;
        text-align: center;
    }

    .home .content h3{
        font-size: 5.5rem;
    }

    .home .content p{
        font-size: 2rem;
    }

    .mainphoto{
        display: none;
    }

}

@media (max-width:450px){

    html{
        font-size: 50%;
    }

}
