@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@font-face {
    font-family: "Planet-Kosmos";
    src: url('/fonts/planet_kosmos.TTF');
}

.dela-gothic-one-regular {
    font-family: "Dela Gothic One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.ubuntu-regular {
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-style: normal;
}


h2, h3, h4, h5 {
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-style: normal;
}


#header {
    display: flex;
    justify-content: space-between;
    height: 60px;
    border-bottom: 2px solid #505050;
    align-items: center;
    background-color: #f9f9f9;
}

#logo {
    right: 0;
    left: 0;
}

#logo a {
    font-family: "Planet-Kosmos";
    font-size: 36px;
    color: #505050;
    cursor: pointer;
    text-decoration: none
}

#logo a:hover {
    color: #a793c6;
}

#menu {
    display: flex;
    width: 215px;
}

#menu input {
    margin-left: 50px;
}

#contacts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 215px;
}

#contacts h2 {
    font-family: "Ubuntu", sans-serif;
    font-size: 19px;
    font-weight: 500;
    margin: 5px 50px 5px auto;
    color: #333333;
}

/* menu button */
body {
    -webkit-tap-highlight-color: transparent;
    margin: 0;
    background-color: #dadada;
}

#menu_checkbox {
    display: none;
}

label {
    position: absolute;
    display: block;
    width: 30px;
    height: 30px;
    cursor: pointer;
    margin: -15px auto 0 50px;
}

label:before {
    content: "";
    position: fixed;
    transition: 1.2s cubic-bezier(0, 0.96, 1, 0.02) background-color;
}

label div {
    position: relative;
    top: 0;
    height: 6px;
    background-color: #505050;
    margin-bottom: 6px;
    transition: 0.3s ease transform, 0.3s ease top, 0.3s ease width,
    0.3s ease right;
    border-radius: 2px;
}

label div:first-child {
    transform-origin: 0;
}

label div:last-child {
    margin-bottom: 0;
    transform-origin: 30px;
}

label div:nth-child(2) {
    right: 0;
    width: 30px;
}

#menu_checkbox:checked + label div:first-child {
    top: -3px;
    transform: rotateZ(45deg);
}

#menu_checkbox:checked + label div:last-child {
    top: 3px;
    transform: rotateZ(45deg);
}

#menu_checkbox:checked + label div:nth-child(2) {
    width: 42.5px;
    top: 0;
    right: 6.5px;
    transform: rotateZ(-45deg);
}


.menu_list {
    display: none;
    position: absolute;
    top: 80px;
    left: 115px;
    transform: translateX(-50%);
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    padding: 10px 30px 10px 20px;
    border-radius: 10px;
    text-align: left;
}

.menu_list a {
    display: block;
    font-family: "Ubuntu", sans-serif;
    font-size: 19px;
    font-weight: 500;
    margin: 10px 0;
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.menu_list a:hover {
    color: #a793c6;
}

#menu_checkbox:checked ~ .menu_list {
    display: block;
}


.product-card-group {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 50px 100px;
}

.product-card {
    display: flex;
    flex-direction: column;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 15px;
    width: 20%;
}

.add-cart-btn {
    background-color: #333333;
    border-radius: 5px;
}

.add-cart-btn:hover {
    background-color: #a793c6;
}

.add-cart-btn h3 {
    color: #f9f9f9;
    text-align: center;
}

.add-cart-btn:hover h3 {
    color: #333333;
}