@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');

html {
    background-color: white;
    align-self: center;
    align-items: center;
    align-content: center;
    font-family: "Lexend", sans-serif;
    overflow-x: hidden;
}

header a {
    position: absolute;
    top: 0;
    left: 0;
    height: calc(10px + 2vw);
    width: calc(20px + 4vw);
    margin: 10px;
}

header a img {
    width: 100%;
    height: 100%;
    border: 1px solid black;
    border-radius: 5px;
}

body {
    padding: 1%;
    align-content: center;
    margin: auto;
    height: fit-content;
}

.main {
    margin: auto;
    text-align: center;
    align-content: center;
    height: fit-content;
}

.separator {
    vertical-align: top;
    display: inline;
    margin: auto;
    width: auto;
}

.separator.stack {
    display: inline-block;
}

.block {
    display: inline-block;
    vertical-align: top;
    border-radius: 10px;
    background-color: rgb(243, 243, 243);
    margin: 10px;
    padding: 15px;
    box-shadow: 0 3.5px 10px rgb(64,64,64);
    width: max-content;
    min-height: 100%;
    max-height: 100%;
    transition: all 0.25s ease;
    height: 275px;
}

.block:hover {
    box-shadow: 0 3.5px 10px rgb(75,75,75);
    transform: scale(1.025);
}

h1 {
    color: rgb(32,32,32);
    font-size: calc(25px + 5vw);
    font-weight: 500;
    text-align: center;
    transition: all 0.25s ease;
    margin: 5px;
}

h2 {
    color: rgb(16,16,16);
    font-size: calc(10px + 3vw);
    font-weight: 750;
    text-align: center;
    margin: 4px;
}

.h2-slim {
    font-weight: 250;
    text-align: center;
    margin: 4px;
}

h3 {
    color: rgb(64,64,64);
    font-size: 50px;
    font-weight: 1000;
    text-align: left;
    margin: 6px;
}

h4 {
    color: rgb(32,32,32);
    font-size: 25px;
    font-weight: 750;
    text-align: left;
    margin: 8px;
}

p {
    color: rgb(16,16,16);
    font-size: 20px;
    font-weight: 500;
    text-align: left;
    margin: 10px
}

td > h4, td > p {
    margin-top: -2.5px;
    padding-top: 0px;
    margin-bottom: 0px;
    padding-bottom: 0px;
}

td > p {
    margin-left: 100px;
}

a {
    color: black;
}

sup {
    line-height: 0;
    font-size: 0.75em;
}

.photo {
    max-height: none;
    padding: 0;
    height: 305px !important;
    width: auto;
    object-fit: contain;
}

.block > p {
    margin-left: 25px;
}

.limit1 {
    width: 510px;
}

.limit2 {
    width: 575px;
}

.limit1 p {
    margin-top: 0px;
}

.limit2 p {
    margin-top: -1px;
}

#cv .block {
    height: 600px;
    padding: 15px;
}

#cv embed{
    width: 100%;
    height: 100%;
}

.stack .block {
    display: block;
}

.double .block:first-child {
    margin-bottom: 20px;
}

#langs h4 {
    margin-bottom: 2.5px;
}

#langs p {
    margin-top: 2.5px;
}

#cv object * {
    height: 600px;
    vertical-align: middle;
}

#cv object img {
    box-shadow: 0 3.5px 10px rgb(64,64,64);
}

#cv a, #cv a * {
    display: none;
    box-shadow: none;
    position: absolute;
    top: 50%;
    left: 50%;
    height: 100px;
    border-radius: 25%;
    transform: translate(-50%, -50%);
}

#cv object:hover * {
    display: block;
}

hr {
    margin: 150px;
    margin-left: 50px;
    margin-right: 50px;
}

.main hr {
    margin: 100px;
}

.small {
    font-size: 50%;
    font-weight: 750;
    color: rgb(50,50,50);
}
