@import url('https://db.onlinewebfonts.com/c/f1fcc5aed1e20fc0cdb9f8a7573625bd?family=Integral+CF+Regular');
@import url('https://fonts.cdnfonts.com/css/satoshi');

:root {
    --red: rgb(170, 28, 28);
    --black: #0F1011;
    --gray: #3F4041;
    --whitegray: #9F9FA0;
}

* {
    box-sizing: border-box;
    outline: none;
    border: none;
    padding: 0;
    margin: 0;
    font-weight: 500;
    color: var(--black);
    font-size: 18px;
    font-family: 'Satoshi', sans-serif;
    user-select: none;
    -webkit-user-drag: none;
}

body {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
}

header img {
    filter: brightness(0);
    height: 50px;
}

header {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 10%;
    padding-right: 10%;
}

a {
    text-decoration: none;
    cursor: pointer;
}

header div {
    display: flex;
    align-items: center;
    justify-content: center;
}

header a {
    font-family: "Integral CF Regular";
    transition: opacity 0.3s;
    padding: 10px;
}

header a:hover {
    opacity: 0.5;
}

header box-icon {
    background-color: var(--black);
    width: 50px;
    height: 50px;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: opacity 0.3s;
}

header box-icon:hover {
    opacity: 0.5;
}

.herosection {
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 700px;
}

.herosection img {
    width: 50%;
    height: 700px;
    object-fit: contain;
    object-position: top;
}

.herosection div {
    width: 50%;
}

.herosection h1 {
    font-family: "Integral CF Regular";
    font-size: 60px;
    font-weight: 600;
    margin-bottom: 20px;
}

p {
    color: var(--whitegray);
    font-weight: 400;
}

.brands {
    width: 100%;
    background-color: var(--black);
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 10%;
    padding-right: 10%;
    overflow: hidden;
}

.brands img {
    height: 300px;
    width: 20%;
    object-fit: contain;
    filter: invert(1);
}

section {
    margin-top: 100px;
    width: 80%;
}

section h1 {
    font-family: "Integral CF Regular";
    font-weight: 600;
    font-size: 40px;
    text-align: center;
}

.products {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

@media (max-width: 992px) {
    .products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .products {
        grid-template-columns: repeat(1, 1fr);
    }
}

.product {
    display: flex;
    flex-direction: column;
    gap: 20px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.product:hover {
    opacity: 0.7;
}

.product img {
    width: 100%;
    height: 500px;
    object-position: top;
    overflow: hidden;
    object-fit: cover;
    background-color: var(--whitegray);
}

.product div {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product h2 {
    font-family: "Integral CF Regular";
    font-weight: 600;
}

.product p {
    font-weight: 600;
    color: var(--gray);
}

.social {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 200px;
}

.social a {
    text-decoration: underline;
    font-weight: 400;
    color: var(--whitegray);
    transition: color 0.3s;
}

.social a:hover {
    color: var(--gray);
}

footer {
    padding: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

footer div {
    text-align: left;
    display: flex;
    flex-direction: column;
}

footer h3 {
    font-size: 20px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 600;
}

footer a {
    color: var(--whitegray);
    transition: color 0.3s;
    font-weight: 400;
    margin-bottom: 10px;
}

footer a:hover {
    color: var(--gray);
}

.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;
}

.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: 600;
    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: 1300px) {
    .herosection h1{
        font-size: 30px;
    }
    .herosection{
        height: 500px;
    }
    .herosection img{
        height: 500px;
    }
}


@media screen and (max-width: 900px) {
    .herosection h1{
        font-size: 30px;
    }
    .herosection div{
        width: 100%;
    }
    .herosection img{
        display: none;
    }
    header a{
        display: none;
    }
    footer{
        padding: 20px;
        flex-direction: column;
        margin-top: 50px;
    }
    footer div{
        width: 100%;
        margin-bottom: 10px;
    }
    .social{
        display: none;
    }
    section h1{
        font-size: 20px;
    }
}
