
.about-section {
	/*Layout for About Me section*/
  	display: flex;
    gap: 2.5em;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    flex: 1;          
    max-width: 1200px;
    margin: 0 auto;    
    padding: 2em 8%;
    box-sizing: border-box;
}

.about-text {
	/*Text content of About Me*/
  	flex: 1 1 60%;
  	line-height: 1.8;
  	margin-top: 1rem;
}

.about-text a {
  	text-decoration: underline;
  	color: inherit;
  	transition: background-color 0.3s ease, text-decoration 0.3s ease;
}

.about-text a:hover {
  	text-decoration: none;
  	background-color: #f6d4d4;
  	border-radius: 3px;
}

#about-ppicture {
    flex: 1 1 300px; 
    display: flex;
    justify-content: center;
}

#about-picture img {
	/*About photo styling*/
  	width: 270px;
  	height: auto;
  	object-fit: cover;
  	border-radius: 6px;
  	border: 2px solid var(--blush);
  	display: block;
}

@media (max-width: 768px) {
	/*About sections stack */
	.about-section {
        display: flex !important;
        flex-direction: column!important; 
        align-items: center !important;
        padding: 2rem 1rem !important;
        overflow: visible !important;
    }

    .about-text {
        flex: none !important;
        width: 100% !important;
        text-align: center;
    }

    #about-picture {
        flex: none !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin-bottom: 2rem;
    }

    #about-picture img {
        display: block !important;
        width: 250px !important; 
        height: auto !important;
        border-radius: 20px;
        margin: 0 auto;
    }
}