/* Issues */
/*Mobile responsive check*/
/*remove extra parts*/
/*check for all backgrounds*/
/*delete the .container and match the design with front-page.php. and using same layout like that page*/


/*Import Components*/
@import url('components/_reset.css');
@import url('components/_base.css');
@import url('components/_navigation.css');
@import url('components/_buttons.css');


h1 {
    color: var(--white);
    font-size: 20px;
}

.page-about {
    max-width: 1320px;
    width: 100%;
    margin: 64px auto;

    flex-direction: column;
    display: flex;
    gap: 24px 48px ;

    @media screen and (max-width: 1280px) {
        margin: 40px auto;
        gap: 20px;
        padding: 20px 20px;
    }

    @media screen and (max-width: 768px) {
        gap: 24px 0;
        margin: 20px auto;
        padding: 20px;
    }
}

.top {
    display: flex;
    width: 100%;
    gap: 64px;
    justify-content: space-between;
    align-items: center;
}

    @media screen and (max-width: 768px) {
        .top {
            flex-direction: column;
            gap: 20px;
            justify-content: space-between;
            align-items: stretch;
        }
}

/* Navigation */
#nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    width: 65%;
}

@media screen and (max-width: 768px) {
    #nav {
        width: 100%;
        height: 80px;
    }
}

/* Copyright section */
#copy-right {
        background-color: var(--borderColor);
        padding: 20px 20px 16px 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 12px;
        width: 35%;

        background-image: url("../images/copy-right-section-background.png");
        background-repeat: no-repeat;
        background-size: contain;
        background-position: bottom;
}

@media screen and (max-width: 768px) {
    #copy-right {
        display: none;
    }
}

.copy-right {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    height: 68px;
}

.copy-right h6,
.copy-right p {
    font-size: 12px;
    line-height: 15px;
    font-weight: 500;
    color: #545353;
    margin: 0;
}

/* Follow me section */
.follow-me-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--borderColor);
    border-radius: var(--boxRadius);
    padding: 16px;
    width: 100%;

    @media screen and (max-width: 768px) {
        justify-content: space-between;
    }
}

/* About page main content */
.about-page-main {
    display: flex;
    min-height: 518px;
    background-image: url("../images/about-page-background.png");
    padding: 20px;

    .img-section {
        .profile-image-container {
            #profile-image {
                width: 240px;
                height: 240px;
                margin-bottom: 20px;
            }
        }
    }
}

@media screen and (max-width: 768px) {
    .about-page-main {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 32px;
        background-position: top;
        background-size: contain;
        background-repeat: no-repeat;
    }
}

.img-section {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.content-section {
    width: 60%;
    display: flex;
    flex-direction: column;
}

@media screen and (max-width: 768px) {
    .content-section , .img-section {
        width: 100%;
    }
}

/* Profile image */
.profile-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70%;
}

#profile-image  {
    background-image: url("../images/deleteme_profile.png");
    background-repeat: no-repeat;
    background-size: cover;
    width: 320px;
    height: 320px;
    border-radius: 100%;
    border: 10px solid var(--borderColor);

}

/* Content area */
.content {
    display: flex;
    gap: 12px;
    flex-direction: column;
    height: 70%;
    justify-content: center;
}

.contact-container {
    width: 70%;
    height: 30%;
    display: flex;
    align-items: flex-end;
    align-self: flex-end;

    @media screen and (max-width: 768px) {
        margin-top: 32px;
        width: 100%;
    }
}

/* Button container */
.contact-button-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr;
    justify-content: end;
    width: 100%;

    @media screen and (max-width: 768px)  {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;


    }
}

.button-container {
    display: flex;
    column-gap: 12px;
    width: 80%;
    justify-content: flex-end;
}

@media screen and (max-width: 768px) {
    .content-section , .img-section , .contact-container , .button-container{
        width: 100%;
    }
}


@media screen and (max-width: 768px) {
    .button-container {
        flex-direction: column;
        gap: 8px;
        margin-top: 32px;
        justify-content: stretch;
        align-items: center;

    }

    .btn-1, .btn-2, .btn-3 {
        width: 100% !important;
    }
}