@import "variables.css";

body {
    color: var(--main-text-color);
    height: 100vh;
    background-color: var(--bg-color);
    overflow-y: overlay;
}

*, .row {
    padding: 0;
    margin: 0;
    vertical-align: baseline;
    list-style: none;
    border: 0;
}

a {
    text-decoration: none;
}

.under-construction {
    width: 400px;
    margin: 50px auto;
    text-align: center;
    font-weight: 600;
}

.title {
    position: relative;
    display: inline-block;
    margin: 2em 0;
}

.main-title {
    text-align: center;
    font-family: 'Cinzel', serif;
    font-size: 100px;
    font-style: italic;
    font-weight: 500;

    filter: var(--drop-shadow);
}

.dot-com {
    position: absolute;
    right: 0;
    bottom: 0;

    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 35px;
    font-weight: 500;

    filter: var(--drop-shadow);
}

.svg-background-left {
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
}

.svg-background-right {
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
}

.profile-info {
    width: 100%;
    display: grid;
    grid-template-areas: 
        "photo"
        "social";
    grid-template-columns:1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    justify-content: center;
}

.photo {
    grid-area: photo;
    grid-row: 1/4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo img {
    width: 284px;
    border-radius: 50%;
    filter: var(--drop-shadow);
}

.social {
    width: 250px;
    justify-content: center;
    margin: 0 auto;

    display: grid;
    grid-area: social;
    grid-row: 4/4;
    column-gap: 10px;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr;
    grid-template-areas:
        "linkedin"
        "github"
        "facebook";
}

.social .social-item {
    width: 115px;
    padding: 5px 0;
    font-size: 16px;
    color: var(--main-text-color);
    letter-spacing: 1px;

    display: flex;
    align-items: center;
    justify-content: space-evenly;
    
    filter: var(--drop-shadow);
}

.social .linkedin {
    grid-area: linkedin;
    grid-column: 1/2;
    grid-row: 1/4;

    background: #2774AF;
}

.social .github {
    grid-area: github;
    grid-column: 2/3;
    grid-row: 1/4;

    background: #161B23;
}

.social .facebook {
    grid-area: facebook;
    grid-column: 3/4;
    grid-row: 1/4;

    background: #3A5795;
}

@media screen and (min-width: 1440px) {
    .container {
        width: 1440px;
    }
}

@media (min-width:769px) and (min-width: 1439px) {
    /*  */
}

@media screen and (max-width: 768px) {
    body {
        background: var(--bg-color);
    }

    .main-title {
        text-align: center;
        font-weight: 600;
        font-size: 2rem;

        filter: var(--drop-shadow);
    }

    .dot-com {
        display: none;
    }

    .photo img {
        width: 150px;
        border-radius: 10%;
        filter: var(--drop-shadow);
    }
    
    .under-construction {
        width: 80%;
        text-align: center;
    }
}
