@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:ital,wght@0,300..800;1,300..800&display=swap');

html {
    background-color: black;
    color: white;
    font-family: 'Google Sans Code', monospace;
    scroll-behavior: smooth;
}

body {
    vertical-align: center;
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: 10%;
}

@media (min-width: 768px) {
    body {
        max-width: 75%;
    }
}

@media (min-width: 1024px) {
    body {
        max-width: 50%;
    }
}

h1 {
    font-size: 2rem;
}

h2 {
    margin-top: 2em;
    font-size: 1.6rem;
}

h3 {
    font-size: 1.4rem;
    margin: 0;
    margin-top: 6px;
}

p {
    font-size: 1.1rem;
    line-height: 1.3;
}

.content {
    padding: 1em;
}

.info-container h2, p {
    opacity: 0.8;
}

.info-container {
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(255,255,255,0);
    background: rgba(255,255,255,0.03);
    padding: 20px;
    transition: 0.25s;
    margin-top: 1em;

    display: flex;
    flex: 1 1 250px;
    min-width: 400px;
    max-width: 100%;
    flex-direction: column;
}

.info-container.mini {
    min-width: 200px;
    flex: 1 1 100px;
}

.contacts {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1em;
    justify-content: center;
}

.projects {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1em;
    justify-content: center;
}

@media (max-width: 700px) {
    .projects {
        flex-direction: column;
        align-items: stretch;
    }

    .info-container {
        min-width: 200px;
    }

    .contacts {
        flex-direction: column;
        align-items: stretch;
    }
}

.info-container:hover {
    box-shadow: 0 2px 8px rgba(255,255,255,0.1);
}

.navbar li {
    list-style: none;
    display: inline-block;
    padding-right: 1em;
    font-size: 20px
}

.navbar {
    text-align: right;
}

.more-btn {
    float: right;
    align-self: flex-end;
    font-size: 18px;
    font: inherit;
    background-color: rgb(236, 97, 33);
    color: black;
    padding: 12px;
    border-radius: 12px;

    margin-top: auto;
}

a {
    text-decoration: none;
    color: rgb(255, 138, 83);
    opacity: 1;
    transition: 0.25s;
}

a:hover {
    opacity: 0.5;
}