@media (max-width: 1024px) {
    * {
        padding: 0;
        margin: 0;
        box-sizing: border-box;
        font-family: 'Open Sans', sans-serif;
    }

    .first-section {
        height: 100vh;
        width: 100vw;
    }

    .header {
        padding: 10px;
        display: flex;
        justify-content: space-between;
    }

    .header ul {
        display: none;
    }

    .header .logo {
        color: #333;
        font-size: 2em;
        font-weight: 700;
        text-decoration: none;
        transition: 0.5s;
    }

    .header .logo span {
        color: #2196f3;
    }

    .menu-deplier {
        position: absolute;
        top: 0;
        right: 0;
        transform: translateX(-50%);
        height: 60px;
        width: 60px;
        color: black;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        transition: 0.5s;
        font-size: 2em;
        z-index: 3;
    }

    .menu-deplier ion-icon:nth-child(2) {
        display: none;
        transition: 0.5s;
    }

    .closer ion-icon:nth-child(1) {
        display: none;
    }

    .closer ion-icon:nth-child(2) {
        display: block;
    }

    .closer ul {
        position: absolute;
        top: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 50px;
        width: 100vw;
        height: 100vh;
        list-style: none;
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(50px);
        z-index: 2;
    }

    .content {
        width: 100vw;
        top: 100px;
        padding: 0 25px;
    }

    .content h3 {
        font-size: 2em;
        color: #333;
        font-weight: 200;
        transition: 0.5s;
    }

    .content h2 {
        font-size: 1.8em;
        color: #333;
        font-weight: 700;
        transition: 0.5s;
    }

    .content h2 span {
        color: #e96e63;
    }

    .content p {
        font-size: 1.2em;
        color: #666;
        margin: 10px 0;
        transition: 0.5s;
    }

    .content button {
        background: #2196f3;
        color: #fff;
        border: none;
        outline: none;
        padding: 15px 10px;
        font-size: 0.8em;
        letter-spacing: 0.05em;
        margin-right: 20px;
        border-radius: 4px;
        font-weight: 600;
        cursor: pointer;
        transition: 0.5s;
    }

    .content button.chat {
        background: transparent;
        color: #333;
    }

    .content button.chat ion-icon {
        position: relative;
        top: 5px;
        color: #e96e63;
        font-size: 1.5em;
    }

    .cadre {
        display: none;
    }

    .me {
        display: none;
    }

    .sci {
        position: absolute;
        bottom: 30px;
        display: flex;
        gap: 20px;
    }

    .sci li {
        list-style: none;
    }

    .sci li a {
        text-decoration: none;
        font-size: 1.75em;
        color: #333;
    }

    .sci li a:hover {
        color: #2196f3;
    }

    .dayNight {
        display: none;
    }


}

@media (min-width: 1025px) {
    * {
        padding: 0;
        margin: 0;
        box-sizing: border-box;
        font-family: 'Open Sans', sans-serif;
    }

    .first-section {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-height: 100vh;
        padding: 0 100px;
        background: #fff;
        transition: 0.5s;
    }

    .p-main {
        width: 50vw;
    }

    .first-section.night {
        background: #333;
    }

    .header {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        padding: 20px 100px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .header .logo {
        color: #333;
        font-size: 2em;
        font-weight: 700;
        text-decoration: none;
        transition: 0.5s;
    }

    .header .logo span {
        color: #2196f3;
    }

    .header ul {
        display: flex;
        gap: 40px;
    }

    .header ul li {
        list-style: none;
    }

    .header ul li a {
        text-decoration: none;
        font-weight: 500;
        font-size: 1.2em;
        color: #333;
        transition: 0.5s;
    }

    .content {
        position: absolute;
        width: 100vw;
        top: 100px;
        padding: 0 25px;
    }

    .content h3 {
        font-size: 2em;
        color: #333;
        font-weight: 200;
        transition: 0.5s;
    }

    .content h2 {
        font-size: 3em;
        color: #333;
        font-weight: 700;
        transition: 0.5s;
    }

    .content h2 span {
        color: #e96e63;
    }

    .content p {
        font-size: 1.2em;
        color: #666;
        margin: 10px 0;
        transition: 0.5s;
    }

    .content button {
        position: relative;
        background: #2196f3;
        color: #fff;
        border: none;
        outline: none;
        padding: 15px 35px;
        font-size: 1.25em;
        letter-spacing: 0.05em;
        margin-right: 20px;
        border-radius: 4px;
        font-weight: 600;
        cursor: pointer;
        transition: 0.5s;
    }

    .content button.chat {
        background: transparent;
        color: #333;
    }

    .content button.chat ion-icon {
        position: relative;
        top: 5px;
        color: #e96e63;
        font-size: 1.5em;
    }

    .sci {
        position: absolute;
        bottom: 30px;
        display: flex;
        gap: 20px;
    }

    .sci li {
        list-style: none;
    }

    .sci li a {
        text-decoration: none;
        font-size: 1.75em;
        color: #333;
    }

    .sci li a:hover {
        color: #2196f3;
    }

    .dayNight {
        position: absolute;
        bottom: 25px;
        left: 50%;
        transform: translateX(-50%);
        height: 60px;
        width: 60px;
        background: #f0f0f0;
        border-radius: 50%;
        color: #666;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        transition: 0.5s;
        font-size: 2em;
    }

    .first-section.night .dayNight {
        background: #444;
        color: #fff;
    }

    .dayNight ion-icon:nth-child(2),
    .first-section.night .dayNight ion-icon:nth-child(1) {
        display: none;
    }

    .first-section.night .dayNight ion-icon:nth-child(2) {
        display: block;
    }

    .first-section.night header .logo,
    .first-section.night .content h2,
    .first-section.night .content h3,
    .first-section.night .content p,
    .first-section.night .content button.chat,
    .first-section.night .sci li a,
    .first-section.night header ul li a {
        color: #fff;
    }

    .first-section.night .sci li a:hover {
        color: #2196f3;
    }

    .cadre {
        position: absolute;
        top: 300px;
        right: 0;
        max-width: 400px;
        animation: animateFrame 8s ease-in-out infinite;
    }

    @keyframes animateFrame {
        0%,100% {
            transform: translateY(0px);
        }

        50% {
            transform: translateY(50px);
        }
    }

    .me {
        position: absolute;
        right: 100px;
        bottom: 0;
        max-height: 85vh;
        animation: animateMe 8s ease-in-out infinite;
    }

    @keyframes animateMe {
        0%,100% {
            transform: translateX(0px);
        }

        50% {
            transform: translateX(-50px);
        }
    }

    .menu-deplier {
        display: none;
    }
}