body {
    margin: 0;
    font-family: "Lucida Sans", "Lucida Grande", "Verdana", sans-serif;
    background-color: #fff;
}

.container {
    width: 80%;
    max-width: 1100px;
    margin-top: 2rem;
}

.name {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.img-box {
    width: clamp(10rem, 20vw, 20rem);
    height: clamp(10rem, 20vw, 20rem);
    background-color: #d3d3d3;
    border-radius: 15px;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0.8rem 0;
}

p {
    max-width: 80%;
    line-height: 1.5;
    color: #333;
    font-size: 1rem;
    outline: 10px;

}

.text-container {
    border: 2px solid #333;          /* outline color and thickness */
    border-radius: 10px;             /* rounded corners */
    padding: 1rem 1.5rem;            /* space inside box */
    
    margin: 1.5rem auto;             /* centers horizontally, adds space between boxes */
    width: 100%;
    max-width: 50%;

}


@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .column {
        flex-direction: column;
    }
    #section3 {
        margin-top: 0;
    }
}

@media (min-width: 769px){
#section3{
    margin-top: 30%;
}
}

