* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}

:root {
    color-scheme: light only;
  }

.body1 {
    background: #fefefe;
}

header {
    width: 100%;
    height: 120px;
    margin-top: auto;
    background: #252525;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1;
    position: fixed;
}

.img {
    width: 500px;
    height: auto;
    border-radius: 23px;
}

.hamburger {
    display: none;
}

.nav-bar ul {
    display: flex;
}

.nav-bar ul li a {
    display: block;
    color: #fefefe;
    font-size: 20px;
    padding: 10px 25px;
    border-radius: 10px;
    transition: 0.2s;
    margin: 0 5px;
}

.nav-bar ul li a:hover {
    color: black;
    background: #C0C0C0;
}

.nav-bar ul li a.active {
    color: black;
    background: #fefefe;
}

@media only screen and (max-width: 1320px) {
    header {
        padding:0 50px;
    }
}

@media only screen and (max-width: 1250px) {
    header {
    width: 100%;
    height: 120px;
    margin-top: auto;
    background: #252525;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1;
    position: fixed;
    }
}

@media only screen and (max-width: 1370px) {
    .hamburger {
        display: block;
        cursor: pointer;
    }
    .hamburger .line {
        width: 30px;
        height: 3px;
        background: #ffffff;
        margin: 6px 0;
    }
    .nav-bar {
        height: 0px;
        position: fixed;
        z-index: 1000;
        top: 120px;
        left: 0;
        right: 0;
        width: 100vw;
        background: black;
        transition: 0.2s;
        overflow: hidden;
    }
    .nav-bar.active {
        height: 450px;
        position: fixed;
        z-index: 1;
    }
    .nav-bar ul {
        display: block;
        width: fit-content;
        margin: 80px auto 0 auto;
        text-align: center;
        transition: 0.5s;
        opacity: 0;
        background: solid;
    }
    .nav-bar.active ul {
        opacity: 1;
        z-index: 1;
        position: relative;
    }
    .nav-bar ul li a {
        margin-bottom: 12px;
        color: #fefefe;
        background: solid;
    }
}

@media only screen and (max-width: 1050px) {
    .img {
        width: 400px;
        height: auto;
        border-radius: 23px;
    }
}

@media only screen and (max-width: 650px) {
    .img {
        width: 300px;
        height: auto;
        border-radius: 23px;
        margin-top: 10px;
        margin-left: -15px;
    }
}

