@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

:root {
    --background: #00000000;
    --primary: #DD5555;
    --white: #FFFFFF;
    --black: #2E2E2E;
    font-family: 'Open Sans', sans-serif;
}

body {
    background-color: var(--background);
    color: var(--black);
    margin: 0;
}

h1, h2, h3, p {
    text-align: center;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 48px;
    font-weight: bold;
}

h2 {
    font-size: 36px;
    font-weight: 600; /* Semi-bold */
}

h3 {
    font-size: 28px;
}

main {
    color: var(--black);
}

.container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
}

@media screen and (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media screen and (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media screen and (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}
    
@media screen and (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media screen and (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* Header */

header {
    background-color: var(--primary);
    color: var(--white);
    height: 52px;
}

header li.active, header li:hover {
    background-color: rgba(0,0,0,.25);
}

header nav {
    margin-left: 16px;
}

header nav li {
    display: inline;
    padding-top: 15px;
    padding-bottom: 15px;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

header nav li a {
    color: var(--white);
    text-decoration: none;
    padding: 1rem;
    opacity: 1;
}

header > div {
    display: flex;
    height: 100%;
    align-items: center;
}

/* Hero */

#hero {
    background-image: url('../img/about.png');
    background-position: center;
    background-size: cover;
    height: 658px;
    color: var(--white);
}

#hero h1 {
    text-transform: uppercase;
    margin: 0;
    margin-bottom: 10.5px;
}

#hero p {
    font-size: 24px;
    margin: 0;
    margin-bottom: 23px;
}

#hero .container {
    height: 100%;
}

#hero .container > div {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 100%;
}

#hero hr {
    background-color: var(--white);
    width: 390px;
    height: 1px;
    border: 0;
    margin-bottom: 24px;
}

#buttons {
    display: flex;
    justify-content: center;
    gap: 28px;
}

#buttons button {
    background-color: #FFFFFF;
    border: none;
    border-radius: 5%;
    color: var(--black);
    cursor: pointer;
    font-size: 18px;
    height: 46px;
    width: 112px;
}

button#like::before {
    content: url('../img/thumbs-up.svg');
    margin-right: 0.5rem;
}

button#love::before {
    content: url('../img/heart-shape-silhouette.svg');
    margin-right: 0.5rem;
}

button#buy::before {
    content: url('../img/shopping-cart-black-shape.svg');
    margin-right: 0.5rem;
}


/* Features */

#features {
    padding-top: 52px;
    padding-bottom: 46.51px;
}

#features-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}

#features-list div {
    width: 358px;
}

/* Equipe */

#team-members {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 53px;
    height: 100%;
    padding-top: 64px;
    padding-bottom: 63px;
}

#team-members div {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 24px;
}

#team-members img {
    border-radius: 50%;
    width: 239px;
    height: 239px;
}

button.mail {
    background-color: var(--primary);
    border: none;
    border-radius: 5%;
    color: var(--white);
    cursor: pointer;
    font-size: 18px;
    height: 40px;
    width: 132px;
}

button.mail::before {
    content: url('../img/envelope.svg');
    margin-right: 0.5rem;
}

/* Contact */

#contact {
    background-color: var(--primary);
    padding-top: 51.5px;
    padding-bottom: 64px;
}

#contact h2 {
    color: var(--white);
}

#contact form, #form-name, #form-email, #form-message {
    display: flex;
    flex-direction: column;
}

#contact form {
    padding-top: 32.5px;
    max-width: 748px;
    margin: 0 auto;
}


#form-info {
    display: flex;
    flex-direction: row;
    gap: 32px;
}

#form-message {
    padding-top: 19px;
    padding-bottom: 16px;
}

#form-submit {
    display: flex;
    flex-direction: row-reverse;
}

#form-name, #form-email {
    gap: 3px;
    width: 100%;
}

#contact label {
    color: var(--white);
}

#contact input, #contact textarea {
    border: none;
    border-radius: 2%;
    height: 40px;
    padding-left: 10px;
}

#contact textarea {
    height: 112px;
}

#contact button[type=submit] {
    display: flex;
  align-items: center;
  justify-content: center;
    background-color: var(--white);
    border: none;
    border-radius: 5%;
    color: var(--black);
    cursor: pointer;
    font-size: 18px;
    height: 40px;
    width: 132px;
}

#contact button[type=submit]::before {
    content: url('../img/paper-plane.svg');
    color: var(--black);
    margin-right: 0.5rem;
}