@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans+Display:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Parisienne&family=Parkinsans:wght@300..800&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    margin: 0;
    color: white;
}

img {
    width: 100%;
    max-width: max-content;
}

header {
    position: fixed;
    z-index: 99;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
    padding: 0px 10%;
    color: white;
    border-bottom: 5px solid white;
    background-color: #333;
}

header h1 {
    font-family: "DM Sans";
    font-weight: normal;
}

header h1 strong {
    font-weight: bolder;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
    color: white;
}

ul.navigace {
    display: flex;
    flex-direction: column;
}

div#jedna {
    grid-column: 2;
    display: flex;
    flex-direction: column;
}

div#podhavni {
    grid-column: 3;
    display: flex;
    flex-direction: column;
}

nav a {
    text-decoration: none;
}

ul li {
    padding: 10px;
    color: white;
}

ul li ul {
    position: absolute;
    top: 10%;
    display: flex;
    flex-direction: column;
    margin-top: 50px;
    transform: scale(0);
    transition: 0.7s;
}

ul li ul li {
    position: relative;
    right: 15px;
    margin: 0px;
    padding: 15px;
    background-color: #333;
}

ul li:hover ul {
    transition: 0.7s;
    transform: scale(1);
}

a {
    text-decoration: none;
    color: white;
}

h4 {
    font-family: "Inter";
}

div#back h1 {
    margin: 0;
    font-weight: bolder;
    font-size: 3em;
    font-family: "Parkinsans";
}

div#mezera {
    position: relative;
    top: 80px;
}

div#produkty {
    display: flex;
    flex-direction: column;
}

div#produkty article {
    margin: 15px;
}

main {
    padding-top: 30px;
}

section {
    padding: 10px 10%;
    color: #000000;
    display: flex;
    flex-direction: column;
}

footer {
    padding: 10px 10%;
    background-color: #444;
    ;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    align-items: center;
}

.but {
    background-color: #ffffff;
    color: #000000;
    padding: 10px 20px;
    margin: 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.4s;
}

.but:hover {
    background-color: #000000;
    color: white;
    transition: 0.4s;
}

#nakupovat-btn {
    position: absolute;
    top: 200px;
    left: 0;
}

button {
    background-color: #ffffff;
    color: #000000;
    padding: 10px 20px;
    margin: 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.4s;
    transform: scale(1.5);
}

button:hover {
    background-color: #000000;
    color: white;
    transition: 0.4s;
}

button:active {
    background-color: #6d6d6d;
    transform: translateY(-5px);
}

footer li {
    padding: 2px;
    color: white;
}

.footer-section {
    width: 20%;
    margin: 20px 0px;
}

.footer-section h3 {
    margin-top: 0;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    text-decoration: none;
    color: #ffffff;
    transition: 0.4s;
}

.footer-section a:hover {
    color: #ebee49;
}

.copyright {
    text-align: center;
    padding: 10px;
    color: #fff;
    grid-column: span 3;
}

.copyright p {
    margin: 0;
}

.checked {
    color: orange;
}

#footer-left {
    grid-column: 1 / span 3;
    grid-row: 1;
}

#footer-center {
    grid-column: 4 / span 2;
    grid-row: 1;
}

#footer-dva {
    grid-column: 2 / span 3;
    grid-row: 1;
}

#footer-nevim {
    grid-column: 3;
    grid-row: 1;
}

#obr1 {
    background-image: url(../img/processor-4987614_640.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 6% 8%;
    margin: 5px;
    color: white;
    position: relative;
    bottom: 50px;
    border: 4px solid rgb(133, 133, 133);
}

#obr2 {
    background-image: url(../img/nvidia-5264921_640.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 6% 8%;
    margin: 5px;
    color: white;
    position: relative;
    bottom: 50px;
    border: 4px solid rgb(133, 133, 133);
}

#obr3 {
    background-image: url(../img/ram-424813_640.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    padding: 6% 8%;
    margin: 5px;
    color: white;
    position: relative;
    bottom: 50px;
    right: 5px;
    border: 4px solid rgb(133, 133, 133);
}

.recenze {
    padding: 20px 9.5%;
    background-color: #f7f7f7;
    display: flex;
    flex-direction: column;
}

.recenze-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.recenze-item {
    margin: 20px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    flex: 1;
}

.recenze-item h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.recenze-item p {
    font-size: 16px;
    margin-bottom: 20px;
}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #FFFFFF;
}

::-webkit-scrollbar-thumb {
    background: #a8a8a8;
}

::-webkit-scrollbar-thumb:hover {
    background: #F70D1A;
}

::selection {
    background-color: #F70D1A;
    color: #ffee00;
}

.button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgb(20, 20, 20);
    border: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 0px 4px rgba(255, 255, 255, 0.253);
    cursor: pointer;
    transition-duration: 0.3s;
    overflow: hidden;
    position: fixed;
    right: 10px;
    bottom: 1%;
    transform: scale(0.9);
}

.svgIcon {
    width: 12px;
    transition-duration: 0.3s;
}

.svgIcon path {
    fill: white;
}

.button:hover {
    width: 140px;
    border-radius: 50px;
    transition-duration: 0.3s;
    background-color: #F70D1A;
    align-items: center;
}

.button:hover .svgIcon {
    transition-duration: 0.3s;
    transform: translateY(-200%);
}

.button::before {
    position: absolute;
    bottom: -20px;
    content: "Zpět nahoru";
    color: white;
    font-size: 0px;
}

.button:hover::before {
    font-size: 13px;
    opacity: 1;
    bottom: unset;
    transition-duration: 0.3s;
}

.flexa {
    flex: 1;
    padding: 20px;
    margin: 10px;
    text-align: justify;
}

.flexa div {
    margin: 10px;
    padding: 10px;
}

.nahi {
    flex-direction: column;
}

.nahi article {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    margin: 10px;
    padding: 10px;
    background-color: rgba(212, 212, 212, 0.147);
}

.velky {
    font-size: 1.8em;
}

.velky s {
    color: #F70D1A;
    font-size: 0.8em;
}

.marginovat {
    margin: 30px 10px 10px 10px;
    text-align: center;
}

.marginovat img {
    margin: 10px;
}

.sleva {
    background-color: #6d6d6d;
    padding: 10px;
    border-radius: 5px;
    color: white;
    position: relative;
    top: 30px;
}

.slevicka {
    position: absolute;
    top: 20%;
    background-color: #333;
    border-radius: 100%;
    padding: 30px;
    color: white;
}

.slevicka p {
    position: absolute;
    top: -8%;
    left: 13%;
    font-size: 1.4em;
}

.nahi h1 {
    margin: 0;
    margin-top: 20px;
    font-size: 2.5em;
    font-family: "Montserrat";
}

section.pc {
    background-image: url("../img/computer-2162153_1920.png");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0px 11% 20px 11%;
    font-family: "Merriweather";
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 10px 5% 8% 5%;
}

section.pc h3 {
    position: relative;
    top: 50px;
    margin: 0;
}

.nahi h2 {
    margin: 0;
    font-size: 1.8em;
    font-family: "Open Sans";
}

section.gridy {
    padding: 100px 10% 10px 10%;
}

.nemizet {
    background-color: #000000;
    color: white;
}

.nemizet:hover {
    background-color: #F70D1A;
}

.prev-button,
.next-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    border: none;
    padding: 10px;
    font-size: 20px;
    cursor: pointer;
}

.prev-button {
    left: 7%;
    top: 40%;
}

.next-button {
    right: 45%;
    top: 40%;
}

.male {
    width: 15%;
}

img#obrazek {
    width: 75%;
    margin-top: 15px;
}

div.odsebe {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin: 10px 25px 10px 10px;
}

div#prdokt {
    display: flex;
    flex-direction: column;
}

form {
    display: flex;
    flex-direction: column;
    font-family: "Roboto";
    transition: 0.6s;
    flex: 1;
}

form input,
textarea {
    margin: 5px;
    padding: 5px;
    border: 0px solid white;
    outline: none;
    font-family: "Open Sans";
    border-bottom: 2px solid #ffffff;
    transition: 0.6s;
    background-color: transparent;
}

form input:focus {
    border-bottom: 2px solid black;
    transition: 0.6s;
}

form input::placeholder {
    font-size: 1.1em;
}

.je {
    display: block;
}

.upravto {
    display: block;
    background-color: #000000;
    color: #FFFFFF;
}

.upravto:hover {
    background-color: #F70D1A;
}

.konec {
    background-color: #16bc00;
    padding: 20px;
    font-size: 1.4em;
    border-radius: 20px;
    color: white;
    transition: 0.4s;
}

.konec:hover {
    background-color: #F70D1A;
    transition: 0.4s;
}

.werbung article {
    color: white;
    padding: 10px;
}


.werbung {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    padding: 10px 10.5%;
}

.werbung div {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin: 10px;
    padding: 15px;
}

.werbung article {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.werbung article a {
    border-radius: 20px;
    padding: 10px 15px;
    background-color: white;
    color: #000000;
}

section#ojebavka {
    display: flex;
    align-items: stretch;
}

div#shrnuti {
    flex: 1;
    display: flex;
    flex-direction: column;
}

div#ffform {
    display: flex;
    flex-direction: column;
    flex: 2
}

div.dobirka input {
    margin: 10px;
    padding: 5px;
}

div.dobirka {
    font-size: 1em;
    font-weight: 300;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    margin-left: 0;
    flex: 1;
}

div#shrnuti article {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #9a9a9a41;
    border-radius: 15px;
    padding: 0px 20px;
    margin: 0px 20px;
}

div#shrnuti {
    display: flex;
    flex: 1;
}

div#shrnuti img {
    width: 100%;
}

div#ffform {
    background-color: #9a9a9a41;
    padding: 20px;
    border-radius: 15px;
}

#qwerty,
#sekce1,
#ojebavka,
#bavka {
    padding-top: 100px;
}

#ojebavka {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

#bavka {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#bavka article {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #16bc00;
}

#sklad {
    color: #16bc00;
}

p#sklad img {
    width: 10%;
    position: relative;
    top: 10px;
    margin-right: 10px;
}

#poi {
    margin-left: 0;
    padding-left: 0;
    border-right: 3px solid rgba(128, 128, 128, 0.4);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#oiu {
    border-right: 3px solid rgba(128, 128, 128, 0.4);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#iuz {
    margin-right: 0;
    padding-right: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

#posip {
    margin: 10px 10px 10px 0px;
    padding: 10px;
    flex: 2;
    text-align: justify;
}

#tech {
    margin: 10px;
    padding: 10px;
    flex: 1;
    text-align: justify;
}

#druhy {
    text-align: justify;
}

#sekce1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#sekce1 article {
    display: flex;
    flex-direction: column;
    background-color: rgba(191, 191, 191, 0.229);
    border-radius: 10px;
    padding: 20px;
}

#sekce1 article img {
    width: 30%;
}

#vidth {
    width: 30%;
}

#tech1 {
    background-image: url("../img/network-3357642_640.jpg");
}

#tech2 {
    background-image: url("../img/matrix-356024_640.jpg");
}

a.kupovat {
    background-color: #000000;
    color: white;
    padding: 10px;
    border-radius: 10px;
    transition: 0.4s;
}

a.kupovat:hover {
    background-color: #F70D1A;
    transition: 0.4s;
}

.input {
    display: none;
}

.label {
    position: absolute;
    top: 40px;
    right: 10%;
    z-index: 9999999;
    cursor: pointer;
}

.labela {
    display: none;
}

.label div {
    width: 40px;
    height: 5px;
    transform-origin: 0px 3px;
    background-color: rgb(255, 253, 253);
    transition: 0.7s;
    margin: 6px 0px;
}

.input:checked~label div:first-child {
    transform: rotate(45deg);
    position: relative;
    bottom: 6px;
}

.input:checked~label div:nth-child(2) {
    opacity: 0;
}

.input:checked~label div:last-child {
    transform: rotate(-45deg);
}

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #F70D1A;
    cursor: pointer;
}

@media(min-width:930px) {
    ul.navigace {
        flex-direction: row;
    }

    header {
        justify-content: space-between;
        align-items: baseline;
    }

    div#jedna {
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
    }

    div#podhavni {
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
    }

    div#back {
        background-image: url("../img/gaming-computer-6903836_1920.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        padding: 10px 10.5% 18% 10.5%;
        text-align: justify;
    }

    div.odsebe {
        flex-direction: row;
    }

    div.dobirka {
        flex-direction: row;
        flex: 1;
        margin: 20px 20px 20px 0;
        font-size: 1.2em;
    }

    section {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    div#produkty {
        flex-direction: row;
    }

    div#prdokt {
        flex-direction: row;
    }

    .navigace {
        display: flex;
        flex-direction: row;
    }

    .popis {
        align-items: flex-start;
    }

    #sekce1 article {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    #ojebavka {
        flex-direction: row;
        align-items: flex-start;
    }

    .label {
        display: none;
    }

    nav ul li ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 10%;
    }

    nav ul li ul li {
        transform: scale(0);
        transition: 0.6s;
    }

    nav ul li:hover ul li {
        transform: scale(1);
        transition: 0.6s;
    }

    div#ffform {
        display: flex;
        flex-direction: column;
        flex: 2;
        font-size: 1em;
        margin-right: 20px;
    }

    div#shrnuti {
        flex: 1;
    }
}

@media(max-width:930px) {
    main button {
        display: none;
    }

    .nahi h1 {
        font-size: 1.5em;
    }

    .nemizet {
        display: block;
    }

    .werbung {
        flex-direction: column;
    }

    .footer-container {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr 1fr 1fr;
        align-items: center;
    }

    .footer-section {
        width: 100%;
        margin: 0;
    }

    #footer-left {
        grid-column: 1;
        grid-row: 2;
    }

    #footer-dva {
        grid-column: 1;
        grid-row: 4;
    }

    #footer-center {
        grid-column: 1;
        grid-row: 3;
    }

    #footer-nevim {
        grid-column: 1;
        grid-row: 1;
    }

    section.posunout {
        padding-top: 40%;
    }

    div#back {
        display: none;
    }

    div#podhavni {
        display: none;
    }

    div#prvni div {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    div#shrnuti {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    iframe {
        width: 250px;
    }

    section.pc h3 {
        position: relative;
        top: 8px;
    }

    section.pc {
        margin: 0px 12% 10px 12%;
    }

    #poi,
    #oiu {
        border: 0px solid black;
    }

    nav {
        transform: scaleY(0);
        transform-origin: 0px 0px;
        transition: 0.3s;
        position: absolute;
        left: 0;
        top: 100%;
        width: 100%;
        background-color: #333;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    ul li {
        padding: 10px 80px 10px 10px;
    }

    ul li ul {
        margin-top: 0;
    }

    li {
        transition: 0.6s;
        padding: 5px;
        margin: 5px;
    }

    li:hover {
        transition: 0.6s;
    }

    .input:checked~nav {
        transform: scaleY(1);
        transition: 0.6s;
        width: 100%;
        justify-content: center;
        height: 100vh;
        align-items: flex-start;
    }

    ul li:hover ul {
        transform: scale(0);
        transition: 0.6s;
    }

    ul li input~ul {
        transform: scale(0);
        transition: 0.6s;
    }

    ul li input:checked~ul {
        transform: scale(1);
        position: relative;
        transition: 0.6s;
    }

    .labela {
        display: block;
        position: relative;
        bottom: 18px;
        left: 80px;
        transition: 0.6s;
    }
}

@media(min-width:930px) and (max-width:1000px) {
    section.posunout {
        justify-content: center;
        align-items: center;
        padding-top: 60px;
    }
}

.loader {
    position: relative;
    width: 2.5em;
    height: 2.5em;
    z-index: 9999999999999999999999999999999999999999999;
}

.loader:before,
.loader:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 0.5em;
    height: 0.5em;
    border-radius: 0.25em;
    transform: translate(-50%, -50%);
}

.loader:before {
    background-color: #F70D1A;
    animation: before8 2s infinite;
}

.loader:after {
    background-color: #F70D1A;
    animation: after6 2s infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes before8 {
    0% {
        width: 0.5em;
        box-shadow: 1em -0.5em rgba(225, 20, 98, 0.75), -1em 0.5em rgba(111, 202, 220, 0.75);
    }

    35% {
        width: 2.5em;
        box-shadow: 0 -0.5em rgba(225, 20, 98, 0.75), 0 0.5em rgba(111, 202, 220, 0.75);
    }

    70% {
        width: 0.5em;
        box-shadow: -1em -0.5em rgba(225, 20, 98, 0.75), 1em 0.5em rgba(111, 202, 220, 0.75);
    }

    100% {
        box-shadow: 1em -0.5em rgba(225, 20, 98, 0.75), -1em 0.5em rgba(111, 202, 220, 0.75);
    }
}

@keyframes after6 {
    0% {
        height: 0.5em;
        box-shadow: 0.5em 1em rgba(61, 184, 143, 0.75), -0.5em -1em rgba(233, 169, 32, 0.75);
    }

    35% {
        height: 2.5em;
        box-shadow: 0.5em 0 rgba(61, 184, 143, 0.75), -0.5em 0 rgba(233, 169, 32, 0.75);
    }

    70% {
        height: 0.5em;
        box-shadow: 0.5em -1em rgba(61, 184, 143, 0.75), -0.5em 1em rgba(233, 169, 32, 0.75);
    }

    100% {
        box-shadow: 0.5em 1em rgba(61, 184, 143, 0.75), -0.5em -1em rgba(233, 169, 32, 0.75);
    }
}

.loader {
    position: absolute;
    top: calc(200% - 1.25em);
    left: calc(200% - 1.25em);
}

.loader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255, 255, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.zmana {
    display: inline-block;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    color: white;
    font-size: 24px;
    font-family: 'Courier New', Courier, monospace;
    border-right: 2px solid white;
    right: 10px;
}

.zmana .caret {
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    height: 100%;
    background-color: white;
    animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {

    from,
    to {
        background-color: transparent;
    }

    50% {
        background-color: white;
    }
}