@import 'common.css';

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
}

.content {
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

.top .content {
    height: calc(100vh - 500px - 70px);
    min-height: 150px;
    align-items: center;
}

.top .right {
    align-self: center;
    width: auto;
    display: flex;
    align-items: center;
}

.bottom .content {
    height: 500px;
    align-items: flex-end;
}

.top .left {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.description {
    align-self: flex-start;
}

.description h3 {
    font-size: 16px;
    color: var(--primary-accent);
    font-weight: normal;
    letter-spacing: 1px;
    text-shadow: 1px 1px 1px #000;
    text-align: justify;
    max-width: 600px;
}

.pic img {
    display: block;
    max-width: 100%;
    height: auto;
}

.call-me {
    color: var(--primary-accent);
    letter-spacing: 2px;
    font-weight: bold;
    writing-mode: vertical-rl;
    text-decoration: none;
    text-shadow: 1px 1px 1px #000;
}

.name, .full-name {
    font-weight: bold;
    letter-spacing: 10px;
    text-shadow: 2px 2px 2px #000;
}

.name {
    display: flex;
    font-size: 80px;
}

.first-name {
    margin-right: 20px;
}

.name-border {
    border-bottom: 3px solid var(--secondary-accent);
}

.quote {
    font-size: 18px;
    margin-top: 10px;
    color: var(--primary-accent);
    font-weight: bold;
    letter-spacing: 2.5px;
    text-shadow: 2px 2px 2px #000;
}

.icons {
    display: flex;
    background-color: rgba(35, 32, 28, 0.65);
}

.icons a {
    text-align: center;
    margin: 0 3px;
    padding: 10px;
    border-bottom: 2px solid var(--secondary-accent);
    text-decoration: none;
    color: var(--primary-accent);
    font-size: 30px;
    line-height: 29px;
}

.icons a:hover {
    color: var(--secondary-accent);
    border-color: var(--primary-accent);
    transition: color 500ms ease-out;
}

.name-on-center {
    display: none;
    text-align: center;
}

.really {
    display: none;
    text-align: center;
    color: var(--secondary-accent);
}

/* Responsive adjustments */
@media only screen and (max-width: 850px) {
    .bottom .content {
        flex-direction: column-reverse;
        align-items: center;
    }

    .bottom .right {
        position: absolute;
    }

    .bottom .left {
        z-index: 2;
    }

    .call-me {
        display: none;
    }

    .first-name {
        margin-right: 10px;
    }

    .full-name {
        font-size: 55px;
    }

    .name-on-left {
        display: none;
    }

    .name-on-center {
        display: block;
    }

    .top .left {
        margin: auto;
    }
}

@media only screen and (max-height: 800px) {
    .call-me {
        display: none;
    }

    .pic img, .bottom .content {
        height: 400px;
    }

    .top .content {
        height: calc(100vh - 400px);
    }
}

@media only screen and (max-width: 500px) {
    .full-name {
        font-size: 40px;
    }

    .icons a {
        font-size: 25px;
    }
}

@media only screen and (max-width: 420px) {
    .full-name {
        font-size: 30px;
    }

    .icons a {
        margin: 0 3px;
        padding: 5px 3px;
    }
}

@media only screen and (max-width: 325px) {
    .description {
        display: none;
    }
}

@media only screen and (max-height: 750px) {
    .pic img, .bottom .content {
        height: 300px;
    }

    .top .content {
        height: calc(100vh - 300px);
    }

    .name, .full-name {
        font-size: 40px;
    }
}

@media only screen and (max-height: 600px) {
    .pic img, .bottom .content {
        height: 150px;
    }

    .top .content {
        height: calc(100vh - 150px);
    }
}

@media only screen and (max-height: 335px) {
    .description {
        display: none;
    }

    .pic img, .bottom .content {
        height: 100px;
    }

    .top .content {
        height: calc(100vh - 100px);
    }
}

@media only screen and (max-width: 285px), only screen and (max-height: 260px) {
    .container {
        display: none;
    }

    .really {
        display: block;
    }
}

@media only screen and (max-width: 480px) {
    .overlay {
        position: relative;
        height: auto;
    }
}