@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");
:root {
    --body-font: "Poppins", sans-serif;
    --title-color: hsl(220, 48%, 28%);
}
.about-container {
    width: 70%;
    position: relative;
    margin: 0 auto;
    border-radius: .3rem;
    height: max-content;
    overflow: hidden;
	font-family: var(--body-font)
}

.about-container img {
    border-radius: .3rem;
    width: 100%;
}

.hover-content {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    bottom: -100%;
    cursor: pointer;
    transition: bottom 0.4s ease-in-out; 
}

.about-container:hover .hover-content {
    bottom: 0;
}
.about-content {
	text-align: center;
	background-color: black;
	display: flex;
	justify-content: center;
	align-items: center;
	opacity:0.7;
	height: 100%;
	font-weight: 600;
	color: white;
	padding:.7rem;
}
.name-info {
    height: 30%;
    background-color: white;
	padding:1rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
    border-bottom: 10px solid hsl(220, 48%, 28%);
}
.about-name {
	font-size: 1.5rem;
}
.section-heading {
    margin-top:5rem;
}
.color-name {
	color: hsl(220, 48%, 28%);
}
.more-info {
	display: flex;
	justify-content: space-around;
	color: hsl(220, 48%, 28%);
	font-size: 1.1rem;
}
.placeholder-dots {
	padding: 0 .3rem 0 .3rem;
}
.section-heading {
    opacity: 1;
}
.abt-two {
    display: none;
}
@media screen and (max-width: 800px) {
    .about-container {
        width: 90%;
        height: auto;
        margin: 0 auto;
        font-size: 0.575rem;
        font-weight: 500;
    }
    .about-container img {
        width: 100%;
        height: auto;
    }
    .abt-one {
        display: none;
    }
    .abt-two {
        display: block;
    }
    .name-info {
        border-bottom: 5px solid var(--title-color);
    }
    .name-info h2{
        font-size: .8rem;
    }
    .more-info {
        font-size: .5rem;
    }
}

@media screen and (max-width: 1300px) {
    .about-container {
        width: 90%;
        height: auto;
        margin: 0 auto;
    }
    .about-container img {
        width: 100%;
        height: auto;
    }
    .about-content {
        text-align: center;
    }
}