:root {
    font-family: 'Public Sans', sans-serif;
    font-display: optional;
}
body{
    margin: 0;
    /* overflow-x: hidden; */
}
a {
    text-decoration: none;
    color: #4267B2;
    font-weight: bold;
}
.web-paslaugos {
    position: sticky;
    top: -5px;
    z-index: 2;
    background-color: white;    
    display: flex;
    justify-content: space-around;
    align-items: center;    
    max-height: 3rem;
    box-shadow: 0 0 .4em  #4267B2;
    border-radius: 10px 10px 10px 10px;
    margin: 10px;
    margin-bottom: 0;
    transition: 800ms ease-in-out;    
}
.web-paslaugos:hover {
    box-shadow: 0 0 .8em  #4267B2;
}
.navigacija {    
    display: flex;
    padding-left: 0;
    text-decoration: none;
    max-width: 800px;
}
.mobile-menu, .mobile-menu-exit {
    display: none;
}
.logotipas {
    transition: 300ms ease-in-out;
}
.logotipas:hover {
    transform: scale(1.4);
}

.navigacija > li {
    box-shadow: 0 0 .2em  #4267B2;
    border-radius: 10px 10px 10px 10px;
    padding: .3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 10px;
}
.kontaktai {
    display: flex;
    align-items: center;
    gap: 10px;
}
.tel {
    font-size: x-large;
    color: black;
    display: flex;
    align-items: center;    
    border-radius: 10px;
    box-shadow: 0 0 .4em  #4267B2;
    padding: 4px;    
    background-color: white;
    transition: 300ms ease-in-out;
    height: fit-content;    
}
/* .tel:hover {
    font-size: 62px;    
    transform: translateY(1.5rem) translateX(8px);
} */
.email {
    margin: 0;
    padding-top: 3px;
} 
.email > a > svg {
    border-radius: 10px;
    box-shadow: 0 0 .4em  #4267B2;
    padding: 0 3px 0 3px;
    transition: 300ms ease-in-out;
} 
.email > a > svg:hover {
    box-shadow: 0 0 2em  #4267B2;
}
.wrapper {
    width: 100%;
    display: grid;    
}
.navigacija > li {
    list-style: none;
    transition: 300ms ease-in-out;
}
.navigacija > li:hover {
    box-shadow: 0 0 2em  #4267B2;
}
.header {
    display: grid;
    color: #4267B2;
    font-size: 1rem;
    font-family: 'Orbitron', sans-serif;
    margin: 4rem 0 4rem 0;
    margin-left: -200px;
    margin-right: -200px;
}

.mobilus-dizainas {
    /* padding-top: 900px; */
    display: grid;
    align-content: flex-start;
    padding-top: 700px;
    gap: 600px;
}
.antrastes {
    border-radius: 10px;    
    box-shadow: 0 0 .4em  grey;
    width: 12rem;
    height: 15rem;
    padding: 8px;
    margin: 10px;
    overflow-y: hidden;
    color: black;
    transition: 300ms ease-in-out;
    font-weight: lighter;
}
.antrastes:hover {
    box-shadow: 0 0 1.3em  grey;
}
.responsive {
    display: none;
}
#parduotuves {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: center;
    animation: test2 5.9s infinite  alternate-reverse;
}    
#programavimas {
    grid-column: 4;
    grid-row: 3;
    align-self: center;
        
    animation: test2 8s infinite  alternate-reverse;
}
#dizainas {
    grid-column: 3;
    grid-row: 5;
    align-self: top;
    animation: test1 3.7s infinite  alternate-reverse;
}
#optimizavimas {
    grid-column: 3;
    grid-row: 1;
    align-self: top;
    justify-self: right;
    animation: test1 5.7s infinite  alternate-reverse;
}
#paslaugos {
    grid-column: 4;
    grid-row: 2;
    align-self: top;
    animation: test1 3.5s infinite  alternate-reverse;
}
#seo {
    grid-column: 1;
    grid-row: 1;
    align-self: bottom;
    justify-self: center;
    animation: test1 4.6s infinite  alternate-reverse;
}
#prieziura {
    grid-column: 2;
    grid-row: 5;
    align-self: top;
    animation: test1 7.4s infinite  alternate-reverse;
}
#pagalba {
    grid-column: 1;
    grid-row: 3;
    align-self: top;
    animation: test1 5.2s infinite  alternate-reverse;
}

@keyframes test1 {
    from {
      opacity: 0.6;
      color: #4267B2;
    }
    to {
      opacity: .1;
    }
}
@keyframes test2 {
    from {
      opacity: 0.1;
      color: #4267B2;
    }
    to {
      opacity: .6;
    }
}

h1 {
    font-family: 'Public Sans', sans-serif;
    grid-column: 2/4;
    grid-row: 2/4;
    color: black;
    text-align: center;
    font-size: 4rem;    
    box-shadow: 0 0 .2em  #4267B2;
    border-radius: 10px;
    color: #4267B2;
    max-width: 60rem;
    margin: 2rem;
    text-shadow: 0 0 0.02em #4267B2;
    transition: 800ms ease-in-out;
}
h1:hover{    
    box-shadow: 0 0 2em  #4267B2;
}
.mobilus-dizainas {
    grid-column: 1;
    grid-row: 1/4;
}
.it-paslaugos {
    grid-column: 3;
    grid-row: 1/4;
}
.tinklapiai {
    grid-column: 2/3;
    grid-row: 1/4;
    margin: 0;
    display: grid;
    justify-items: center;        
}
.tinklapio-pavyzdys {
    padding: 10px;
    margin-bottom: 7rem;
    display: grid;    
    justify-items: center;
    gap: 10px;    
    border-radius: 10px;    
    box-shadow: 0 0 .4em  #4267B2;
    max-width: 80rem;
    min-width: 600px;
}
.mobilaus, .kompiuterio {
    position: relative;
    overflow: hidden;
    max-height: 500px;    
    border-radius: 10px;
    box-shadow: 0 0 .4em #4267B2;
    transition: 400ms ease-in-out;
}
.mobilaus {
    grid-column: 1;
}
.kompiuterio {
    grid-column: 2;
    max-width: 400px;
    max-height: 400px;
}
.aprasymas {
    grid-column: 2;
    margin-top: -80px;
}
.mobilaus-vaizdas, .kompiuterio-vaizdas {
    display: block;    
    width: 100%;    
    object-fit: cover;
    transition: 900ms ease-in-out;
}
.kompiuterio-vaizdas {
    max-width: 500px;
    object-position: center;    
}
.kompiuterio:hover {
    transform: scale(2);
}
.mobilaus:hover {
    transform: scale(1.5);
    z-index: 1;
}
.kompiuterio-vaizdas:hover {
    animation: komp-move 3s infinite alternate-reverse ease-in-out;
    -webkit-animation: komp-move 3s infinite alternate-reverse ease-in-out;
    -moz-animation: komp-move 3s infinite alternate-reverse ease-in-out;
    -o-animation: komp-move 3s infinite alternate-reverse ease-in-out;    
}

.mobilaus-vaizdas {
    object-position: top;
    max-width: 250px;
    max-height: 653px;
}
/* .mobilaus-vaizdas:hover {
    transform: translateY(-150px);
}
.kompiuterio-vaizdas:hover {
    transform: translateY(-30px);
} */
@keyframes komp-move {
    from {
        transform: translateY(-30px)
    }
    to {
        transform: translateY(0px)
    }
}
@-webkit-keyframes komp-move {
    from {
        transform: translateY(-30px)
    }
    to {
        transform: translateY(0px)
    }
}
@-moz-keyframes komp-move {
    from {
        transform: translateY(-30px)
    }
    to {
        transform: translateY(0px)
    }
}
@-o-keyframes komp-move {
    from {
        transform: translateY(-30px)
    }
    to {
        transform: translateY(0px)
    }
}
.mobilaus-vaizdas:hover {
    animation: mob-move 3s infinite alternate-reverse ease-in-out;
    -webkit-animation: mob-move 3s infinite alternate-reverse ease-in-out;
    -moz-animation: mob-move 3s infinite alternate-reverse ease-in-out;
    -o-animation: mob-move 3s infinite alternate-reverse ease-in-out;    
}
@keyframes mob-move {
    from {
        transform: translateY(-150px)
    }
    to {
        transform: translateY(0px)
    }
}
@-webkit-keyframes mob-move {
    from {
        transform: translateY(-150px)
    }
    to {
        transform: translateY(0px)
    }
}
@-moz-keyframes mob-move {
    from {
        transform: translateY(-150px)
    }
    to {
        transform: translateY(0px)
    }
}
@-o-keyframes mob-move {
    from {
        transform: translateY(-150px)
    }
    to {
        transform: translateY(0px)
    }
}
.kontaktai-apacia {
    opacity: 1;
    display: grid;
    justify-items: center;
    gap: 20px;    
    /* align-self:flex-end; */
    margin-top: 1200px;
    position: sticky;
    top: 10px;
    border: 2px solid;
    
}
.aprasymas {
    font-size: 17px;
    /* font-weight: 100; */
    max-width: 25rem;
    padding: 14px;
    padding-top: 0;
    padding-bottom: 24px;    
}
footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 40px;    
}
.orai {
    border-radius: 10px;    
    box-shadow: 0 0 .4em  grey;
    width: 12rem;
    height: 15rem;
    padding: 8px;
    margin: 10px;
    overflow-y: hidden;
    color: black;
    /* font-weight: 100; */
    opacity: 0;
}
nav.menu-btn {
    display: none;
}

@media (max-width: 1090px) {
    .header {
        margin-left: -100px;
        margin-right: -100px;
    }
    h1 {
        font-size: 36px;
    }
}
@media (max-width: 912px) {   
    .header {
        margin-left: unset;
        margin-right: unset;
        margin-bottom: unset;
        /* margin-top: 10rem; */

    }
    .antrastes {
        display: none;
    }
    .responsive {
        display: block;
        border-radius: 10px;    
        box-shadow: 0 0 .4em  grey;
        width: 320px;
        height: 5rem;
        padding: 8px;
        padding-top: 0;
        padding-bottom: 35px;
        /* font-weight: lighter; */
    } 
    h1 {
        font-size: 36px;
    }
    .tinklapio-pavyzdys {
        margin: 8px;
        margin-bottom: 50px;
        margin-top: 50px;
        min-width: unset;
    }
    .kompiuterio {
        grid-column: 1;        
    }
    .kompiuterio:hover {
        transform: scale(1);
    }
    .kompiuterio-vaizdas {
        min-width: 300px;
    }
    .kompiuterio-vaizdas:hover {
        transform: translateY(0);
    }
    .mobilaus:hover {
        transform: scale(1);
    }
    .mobilaus-vaizdas:hover {
        transform: translateY(0);
    }
    .aprasymas {
        grid-column: 1;
        padding-top: 90px;
    }
   
    /* .tel:hover {
        font-size: 52px;
    } */
    #programavimas {
        display: none;
    }
    #pagalba {
        display: none;
    }
    #paslaugos {
        display: none;
    }
    #seo {
        display: none;
    }
    .orai {
        display: none;
    }
    .header > h3, h4, h5  {
        text-align: center;
    } 

}
@media (max-width: 790px) {
    .mobile-menu, .mobile-menu-exit {
        display: unset;
        cursor: pointer;

    }   
    .mobile-menu-exit {
        /* float: right; */
        margin: .5em;
        cursor: pointer;
        justify-self: end;
    }
    nav {
        display: none;
    }
    .navigacija {
        display: grid;
        /* position: absolute; */
        top: 40px;
        margin-top: 0;
    }
    nav.menu-btn {
        display: grid;
        justify-items: center;
    }
    
    nav {
        position: fixed;
        z-index: 999;
        width: 80vw;        
        top: 50px;
        background: #4267B2;
        height: 280px;
        padding: 1em;
        border-radius: 8px;
    }
    
        ul.primary-nav {
            margin-top: 5em;
        }
    
        li a {
                color: white;
                text-decoration: none;
                display: block;
                padding: .5em;
                font-size: 1.3em;
                text-align: right;
        }
        li a:hover {
                    text-shadow: 0 0 2px white;
                }
    .kompiuterio-vaizdas:hover {
        animation: unset;
        
    }
            
        
}



