/**** Reset ****/

*,
::before,
::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul {
    list-style-type: none;
}

input,
button {
    outline: none;
}

a {
    color: black;
    text-decoration: none;
}

/**** body ****/

body {
    width: 100%;
    min-height: 100vh;
    display: flex;
}

/**** section container ****/

.container {
    width: 100%;
    display: flex;
}

/**** left__container ****/

.left__container {
    filter: drop-shadow(15px 0px 10px rgba(50, 50, 0, 0.5));
    width: 45%;
    min-height: 100vh;
}

.left {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #0f0e17;
    color: #a7a9be;
    clip-path: polygon(0 0, 100% 0%, 75% 100%, 0% 100%);
}

.left p {
    font-family: "Muli", sans-serif;
    font-size: 3.2em;
    margin-right: 2em;
    font-weight: bold;
    vertical-align: baseline;
    margin-bottom: 0.5em;
}

.small {
    vertical-align: text-top;
    font-size: 0.5em;
}

/**** right ****/

.right {
    width: 55%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.main__info {
    text-align: center;
    padding-inline: 1em;
}

.main__info h1 {
    font-size: 2em;
    line-height: 1.7;
    margin: 0;
}

h1,
button,
.form {
    font-family: "Lato", sans-serif;
}

.form__subscribe {
    margin-top: 1.6em;
}

.form {
    width: 250px;
    height: 50px;
    padding: 0;
    margin-right: -6px;
    border: 2px solid #0f0e17;
    border-radius: 25px 0 0 25px;
    border-right: none;
    padding-left: 0.5em;
    margin-top: 1.6em;
    font-weight: bold;
}

.form__subscribe button {
    width: 120px;
    height: 50px;
    border: 2px solid #0f0e17;
    border-left: none;
    border-top: 2px solid #0f0e17;
    border-radius: 0 25px 25px 0;
    padding: 0;
    font-weight: bold;
    color: #fffffe;
    background-color: #0f0e17;
    transition: cursor 0.3s ease-in-out;
}

.form__subscribe button:hover {
    cursor: pointer;
}

.icon__list {
    margin-top: 1.6em;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f0e17;
    font-size: 2.2em;
    width: 100%;
}

.icon__list__item {
    padding-inline: 40px;
    transform: scale(1);
    transition: transform 0.3s ease-in-out;
}

.icon__list__item:hover {
    transform: scale(1.5);
}

/**** Responsive design version tablette ****/

@media screen and (max-width: 767px) {
    .container {
        flex-direction: column;
    }

    .left__container,
    .right {
        width: 100%;
        height: 50vh;
    }

    .left {
        clip-path: polygon(0 0, 100% 0, 100% 95%, 0% 100%);
    }

    .left p {
        margin-right: 0;
    }

    .form__subscribe {
        margin-left: 0;
    }
}

/**** Responsive design version mobile ****/

@media screen and (max-width: 576px) {
    .form__subscribe {
        display: flex;
        flex-direction: column;
    }

    .form {
        border-right: 2px solid #0f0e17;
        margin-bottom: 1.6em;
    }

    .form,
    .form__subscribe button {
        width: 100%;
        border-radius: 16px;
    }

    .icon__list__item {
        padding-inline: 20px;
    }
}