@import "./colors.css";

@font-face {
    font-family: 'logo-font';
    src: url('/fonts/MadLines.ttf');
}


html {
    margin: 0 auto;
    max-width: 1024px;
    background-color: var(--color-gray-900);
    color: var(--color-gray-200);
}

main {
    background-color: var(--color-gray-900);
    color: var(--color-gray-200);
}


.profile {
    position: relative;
    padding: 1em;
}

.profile img {
    display: block;
    margin: auto;
    max-width: 80%;
    border-radius: 50%;
    background-color: black;
    border: 10px double var(--color-gray-200);
}

.profile-info {
    z-index: 2;
    position: absolute;
    bottom: 1em;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(100,100,100,.7);
    padding: .2em 1em;
    margin: auto auto auto 0;
    width: 80%;
    max-width: 20em;
    border: 5px double var(--color-gray-200);
}

.profile-info span {
    display: block;
    text-align: center;
}
.profile-info .name {
    font-size: x-large;
}
.profile-info .bio {
    font-style: italic;
}

.profile-links li {
    margin: 0;
    flex: 1;
}
.profile-links a {
    font-size: x-large;
    display: block;
    text-decoration: none;
    text-align: center;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid gray;
    border-top: 1px solid gray;
    box-sizing: border-box;
    padding: 1em;
}

.profile-links a:hover {
    background-color: #333;
    border-bottom: 1px solid white;
    border-top: 1px solid white;
}

.profile-links ul {
    list-style: none;
    padding: 0;
}



@media only screen and (min-width: 600px) {

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

main {
    position: relative;
    display: flex;
    width: 100%;
    background-color: var(--color-gray-900);
    color: var(--color-gray-200);
}

.profile {
    position: relative;
    width: 50%;
    padding-bottom: 50%;
    margin: 11px;
  
} 
.profile img {
    position: absolute;
    top: 0;
    left: 0;
    max-width: none;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius: 50%;
    background-color: black;
}

.profile-info {
    z-index: 2;
    position: absolute;
    bottom: 1em;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(100,100,100,.7);
    padding: .2em 1em;
    margin: auto auto auto 0;
    width: 80%;
    border: 5px double var(--color-gray-200);
}

.profile-info span {
    display: block;
    text-align: center;
}
.profile-info .name {
    font-size: x-large;
}
.profile-info .bio {
    font-style: italic;
}

.profile-links {
    flex: 1;
    position: absolute;
    top: 15px;
    left: 25%;
    bottom: 15px;
    right: 0;
}

.profile-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.profile-links li {
    margin: 0;
    flex: 1;
}
.profile-links a {
    font-size: x-large;
    height: 100%;
    display: block;
    text-decoration: none;
    text-align: right;
    color: white;
    display: flex;
    justify-content: right;
    align-items: center;
    padding-right: 1em;
    padding-left: 200px;
    border-bottom: 1px solid gray;
    border-top: 1px solid gray;
    box-sizing: border-box;
}

.profile-links a:hover {
    background-color: #333;
    border-bottom: 1px solid white;
    border-top: 1px solid white;
}

}
