@import url('https://fonts.googleapis.com/css2?family=Russo+One&display=swap');

* {
    box-sizing: border-box;
    padding: 0;
    outline: none;
    border: none;
    margin: 0;
    font-family: arial;
    font-family: "Russo One", serif;
    font-style: normal;
    color: white;
}

:root {
    --color: #fa9b1f;
}

body {
    background: linear-gradient(rgba(17, 17, 17, 0.8), rgba(46, 38, 27, 0.8)),
        url('images/bg.jpg');
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.videodiv {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80%;
    position: relative;
    height: 500px;
}

video {
    width: 100%;
    height: 500px;
    object-fit: cover;
    margin-top: 20px;
    border-radius: 20px;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
}

.videodiv img {
    width: 200px;
}

h1 {
    font-size: 60px;
}

a {
    color: white;
    text-decoration: none;
    cursor: pointer;
}

header {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: start;
    padding-left: 10%;
    padding-right: 10%;
    gap: 20px;
    border-bottom: 1px solid #66666671;
    margin-bottom: 20px;
}

.oyna {
    position: absolute;
    right: 10%;
    background-color: #333;
    border-radius: 500px;
    padding: 15px;
    padding-left: 30px;
    padding-right: 30px;
    box-shadow: inset 0px 0px 10px var(--color);
    color: #ccc;
    transition-duration: 0.3s;
    cursor: pointer;
}

p {
    color: rgba(255, 255, 255, 0.795);
}

.oyna:hover {
    box-shadow: inset 0px 0px 10px var(--color);
    color: var(--color);
}

header img {
    height: 80px;
    width: 75px;
}

header a {
    position: relative;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition-duration: 0.3s;
}

header a::after {
    content: "";
    background-color: var(--color);
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    border-radius: 50px;
    opacity: 0;
    transition-duration: 0.3s;
}

header a:hover::after {
    opacity: 1;
}

header a:hover {
    color: var(--color);
}

.overview {
    width: 80%;
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    text-align: center;
    gap: 10px;
}

.overview div {
    background-color: #111;
    border-radius: 20px;
    padding: 20px;
    width: 24%;
}

.overview div h2 {
    font-size: 40px;
}

section {
    width: 80%;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

section img {
    width: 50%;
    border-radius: 20px;
    height: 500px;
    object-fit: cover;
}

section div {
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

section h3 {
    font-size: 30px;
    width: 100%;
    margin-bottom: 30px;
}

footer {
    margin-top: 100px;
    width: 100%;
    padding: 20px;
    border-top: 1px solid #66666671;
}

.products {
    width: 80%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.product {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}

.product img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    object-fit: cover;
    transition-duration: 0.3s;
    margin-bottom: 5px;
}

.product img:hover {
    transform: scale(1.05);
}

.avresi {
    position: fixed;
    right: 10px;
    bottom: 10px;
    background-color: white;
    border: 2px solid #999;
    padding: 20px;
    display: flex;
    flex-direction: column;
    width: calc(100% - 20px);
    max-width: 400px;
    border-radius: 10px;
    gap: 10px;
    transition: opacity 1s ease-in-out;
}

.avresi img {
    width: 100%;
    max-width: 200px;
}

.avresi p {
    font-weight: 400;
    color: black;
}

.avresi div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.avresi div a {
    width: 49%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    background-color: #222;
    color: white;
    font-weight: 300;
    border-radius: 10px;
    transition: opacity 0.3s;
}

.avresi div a.blue {
    background-color: oklch(.546 .245 262.881);
}

.avresi div a:hover {
    opacity: 0.7;
}

@media screen and (max-width: 800px) {
    header{
        padding-left: 1%;
        padding-right: 1%;
    }
    .oyna{
        right: 1%;
    }
    .videodiv{
        width: 95%;
    }
    .overview{
        width: 95%;
    }
    section{
        width: 95%;
    }
    .products{
        width: 95%;
    }
}

@media screen and (max-width: 650px) {
    header a{
        display: none;
    }
    section{
        flex-direction: column;
    }
    section div{
        width: 100%;
    }
    section img{
        width: 100%;
    }
    .overview{
        display: none;
    }
}