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

/* HEADER SECTION */

header{
    display: flex;
    justify-content: space-between;
    background-color:#1f2937;
    padding: .5rem;
}

ul{
    display: flex;
    gap: 3rem;
    margin-right: 20rem;
    list-style-type: none;
    color: #e5e7eb;
}

a{
    color: #f9faf8;
    text-decoration: none;
    cursor: pointer;
}

a:hover{
    color: lime;
    text-decoration: underline lime;
    cursor: pointer;
}

a:focus{
    border: 3px solid yellow;
    padding: 4px;
}

h1{
    font-size: 1.5rem;
    font: "Roboto", sans-serif;
    color: #F9FAF8;
    margin-left: 10rem;
}

/* HERO SECTION */

#hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #1f2937;
  padding: 4rem 8rem; 
  gap: 4rem;
}
    
.text {
  flex: 0 1 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  gap: 1.5rem;
}
    
.text p{ 
    color: #e5e7eb; 
    font-size: 1rem; 
    max-width: 40ch; 
    line-height: 1.5; } 

#hero h2{ 
    font-size: 3rem; 
    color: #F9FAF8; 
    max-width: 15ch; } 
    
button{ 
    border: 1px solid white; 
    border-radius: 10px; 
    padding: .5rem 2rem; 
    background-color: #3882f6; 
    color: #F9FAF8; 
    font-weight: 900; 
    cursor: pointer;
} 

button:hover{
    background-color: #F9FAF8;
    color:#1f2937;
    cursor: pointer;
}

button:focus{
    border: 5px solid yellow;;
}
    
.img {
  flex: 0 1 45%; 
  display: flex;
  justify-content: center;
  align-items: center;
}

.img img {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* INFO SECTION */

#info h2{
    text-align: center;
    margin: 3rem;
    font-size: 2.2rem;
    font-family: sans-serif;
    font-weight: 900;
    color: #1f2937;
}

.card-stack{
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 5rem;
}
.card{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.card img{
    border: 3px solid #3882f6;
    border-radius: 10px;
    aspect-ratio: 1 / 1;
    width: 200px;
    background-color: white;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

.card p{
    color: #5B6471;
    max-width: 20ch;
    font-family: sans-serif;
    text-align: center;
}

/* QUOTE SECTION */

#quote{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #e5e7eb;
    gap: 2rem;
    height: 20rem;
}

blockquote{
    font-size: 2rem;
    color: #1f2937;
    font-weight: 300;
    font-style: italic;
    font-family: sans-serif;
    max-width: 42ch;
}

.align{
    display: flex;
    flex-direction: column;
    gap: 2rem
}

#quote figcaption{
    text-align: right;
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 900;
    font-family: sans-serif;
}

/* CALL 2 ACTION */

#call2action{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5rem;
}

.call-container{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6rem;
    background-color: #3882f6;
    width: 60%;
    padding: 2rem;
    border-radius: 10px;
}

.inner{
    color: #F9FAF8;
    font-family: sans-serif;
}

.inner h2{
    font-weight: 700;
    margin-bottom: .5rem;
}

.inner p{
    color: #BFD1ED;
}

.call-container button{
    border: 2px solid #F9FAF8;
    font-size: large;
    font-weight: 600;
}

/* FOOTER SECTION */

footer{
    display: flex;
    justify-content: center;
    background-color:#1f2937;
    padding: .5rem;
    color: #F9FAF8;
    padding: 2rem;
    font-family: sans-serif;
    font-size: 1.1rem;
}