@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,500;1,700;1,900&family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,600;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,500;1,700;1,900&family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,600;1,900&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    background: #1a1d20;
    color: white;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    height: 100vh;
}

/* ------------ Scroll bar : new design ------------ */

::-webkit-scrollbar {
    width: 10px;
    background: #4e5862;
}
::-webkit-scrollbar-thumb {
    background: #ce6401;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #f07706;
}

.wrapper {
    margin: 1em 1em 5em;
}
.logo {
    width: 8em;
}



h1 {
    font-size: 2rem;
    margin-bottom: 2em;
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
    opacity: 0;
    transform: translateY(100px);
    text-align: center;
}
h1:hover {
    color: #ce6401;
}
h2 {
    font-family: 'Merriweather', serif;
    font-size: 1.5rem;
    margin-bottom: 2em;
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
    opacity: 0;
    transform: translateY(100px);
    text-align: center;
}
h2:hover {
    color: #ce6401;
}

main {
    margin-top: 4em;
}
h1 {
    font-family: 'Merriweather', serif;
}
label {
    margin-top: 1em;
    margin-bottom: 0.4em;
    display: block;
    font-weight: bold;
}
.col2 {
    display: flex;
}
.hero {
    display: block;
}
.about {
    margin-top: 4.5em;
}
.form {
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
    margin: 0 auto;
}

input[type="text"], input[type="submit"] {
    padding: 1.2em;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    border-radius: 0.2em;
    border: none;
}
input[type="submit"] {
    width: 10em;
    background: #f07706;
    color: white;
    border: none;
    margin-left: 0.5em;
    font-weight: bold;
    cursor: pointer;
}
input[type="submit"]:hover {
    background: #ce6401;
}


.card {
    transform: translateY(100px) scaleY(1);
    transform-origin: 0% 100%;
    padding-left: 1em;
    border-left: 1px solid #4e5862;
    position: relative;
    height: 8em;
}
.card img {
    width: 37em;
    justify-content: space-around;  
    align-items: center;
    
}
.card:before {
    position: absolute;
    content: '';
    border-radius: 100%;
    border: 0.5em solid #1a1d20;
    background: #f07706;
    width: 0.5em;
    height: 0.5em;
    top: 0;
    left: -0.8em;
    opacity: 1;
}
.card:hover:before {
    width: 0.8em;
    height: 0.8em;
    left: -0.95em;
    top: -0.15em;
}
.card .title {
    font-weight: bold;
    opacity: 0;
    transform: translateY(100px);
}
.card .desc {
    color: #697887;
    opacity: 0;
    transform: translateY(100px);
}
.about {
    display: flex;
    height: 350px;
   
}

footer {
    opacity: 0;
    background: linear-gradient(90.73deg, #d19a67 4%, #f07706 97.46%);
    padding: 2em 1em;
    color: #1a1a1a;
    font-weight: bold;
    margin-top: 23em !important;
}
footer .all {
    margin: 0.3em 0 0 0.5em;
    font-size: 2rem;
}
footer .parent {
    display: block;
}
footer .twitter {
    width: 2em;
    margin-left: 0.5em;
}
footer .social {
    margin-top: 2em;
}
footer a {
    color: black;
    text-decoration: none;
}
footer .angle-line {
    margin-top: 1.2em;
}


@media only screen and (min-width: 600px) {
    .wrapper {
        margin: 3em;
   }
    h1 {
        font-size: 3rem;
   }
}


@media only screen and (min-width: 750px) {
    .features {
        display: grid;
        grid-template-columns: repeat(2, auto);
        grid-template-rows: repeat(2, auto);
        gap: 2em;
   }
    .features .card {
        margin-bottom: 2em;
        height: auto;
   }
    .features .card .title {
        margin-top: 0;
   }
   .about {
    display: flex;
   }
    footer {
        padding: 3em;
   }
}
@media only screen and (min-width: 900px) {
    .form {
        width: 75%;
   }

}
@media only screen and (min-width: 1200px) {
    .hero {
        display: flex;
        justify-content: space-between;
        margin: 8em 0 6em;
   }
    .hero h1 {
        width: 40%;
        margin-bottom: 0;
        text-align: left;
   }
    .hero .form {
        width: 50%;
        align-self: flex-end;
        padding-bottom: 1em;
        margin: unset;
   }
    .features {
        grid-template-columns: repeat(4, auto);
        grid-template-rows: auto;
   }
    .wrapper, .features {
        margin-bottom: 0;
   }
    footer {
        margin: 0;
        padding: 6em;
   }
    footer .parent {
        max-width: 1150px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
   }
    footer .social {
        margin: 0;
   }
    footer .learn, footer .scoreur {
        margin: 1em;
   }
    .features .card {
        margin-bottom: 0;
        height: 15rem;
   }
    .wrapper {
        width: 1150px;
        margin: 3em auto 0;
   }
}
