* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

#wrapper {
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    position: fixed;
    display: grid;
    place-items: center;
    overflow: hidden;

    background: #50a3a2;
    background: -webkit-linear-gradient(top left, #50a3a2 0%, #53e3a6 100%);
    background: -moz-linear-gradient(top left, #50a3a2 0%, #53e3a6 100%);
    background: -o-linear-gradient(top left, #50a3a2 0%, #53e3a6 100%);
    background: linear-gradient(to bottom right, #50a3a2 0%, #53e3a6 100%);
}

#main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#title {
    order: 2;
}

#title h1 {
    font-family: 'Inconsolata', monospace;
    font-size: 4.35em;
    font-weight: 900;
    line-height: 1em;
    margin: 0;
    padding: 0;
}

#localities {
    order: 1;
}

#professions {
    order: 3;
}

#contact-options {
    order: 4;
    margin-top: 1em;
    width: 100%;
}

#contact-options ul {
    list-style: none;
    padding: 0 1em;
    margin: 0;
    display: flex;
    justify-content: space-between;
}

#contact-options ul li {
    display: inline-block;
    text-align: center;
    height: 4.35em;
    line-height: 4.885em;
    width: 4.35em;
}

#contact-options ul li:not(:last-child)::after {
    margin-right: 0;
}

#contact-options a {
    color: #222;
    text-decoration: none;
}

#contact-options a .label {
    display: none;
}

.contact-option {
    box-sizing: border-box;
    border: 2px solid transparent;
    border-radius: 50%;
}

.contact-option:hover {
    border: 2px solid #222;
    border-radius: 50%;
}

.info {
    font-family: 'Inconsolata', monospace;
    font-size: 1.25em;
    margin: 0.75em 0 0.25em 0;
}

.info>span:not(:last-child)::after {
    content: "|";
    margin: 0 2px;
}

.icon {
    font-size: 2em;
}

.bg-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: -1;
}

.bg-bubbles li {
    position: absolute;
    list-style: none;
    display: block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.15);
    bottom: -160px;

    -webkit-animation: square 25s infinite;
    animation:         square 25s infinite;

    -webkit-transition-timing-function: linear;
    transition-timing-function: linear;
}

.bg-bubbles li:nth-child(1) {
    left: 10%;
}

.bg-bubbles li:nth-child(2) {
    left: 20%;

    width: 80px;
    height: 80px;

    animation-delay: 2s;
    animation-duration: 17s;
}

.bg-bubbles li:nth-child(3) {
    left: 25%;
    animation-delay: 4s;
}

.bg-bubbles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;

    animation-duration: 22s;

    background-color: rgba(255, 255, 255, 0.25);
}

.bg-bubbles li:nth-child(5) {
    left: 70%;
}

.bg-bubbles li:nth-child(6) {
    left:80%;
    width: 120px;
    height: 120px;

    animation-delay: 3s;
    background-color: rgba(255, 255, 255, 0.2);
}

.bg-bubbles li:nth-child(7) {
    left: 32%;
    width: 160px;
    height: 160px;

    animation-delay: 7s;
}

.bg-bubbles li:nth-child(8) {
    left: 55%;
    width: 20px;
    height: 20px;

    animation-delay: 15s;
    animation-duration: 40s;
}

.bg-bubbles li:nth-child(9) {
    left: 25%;
    width: 10px;
    height: 10px;

    animation-delay: 2s;
    animation-duration: 40s;
    background-color: rgba(255, 255, 255, 0.3);
}

.bg-bubbles li:nth-child(10) {
    left: 90%;
    width: 160px;
    height: 160px;

    animation-delay: 11s;
}

@-webkit-keyframes square {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-150vh) rotate(600deg); }
}
@keyframes square {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-150vh) rotate(600deg); }
}

@media screen and (max-width: 800px) {
    #header h1 {
        font-size: 4em;
    }
    .info {
        font-size: 1em;
    }
}

@media screen and (max-width: 400px) {
    #header h1 {
        font-size: 3.35em;
    }
    .info {
        font-size: .85em;
    }
    .icon {
        font-size: 1.5em;
        line-height: .04167em;
        vertical-align: -.125em;
    }
}

@media screen and (max-width: 300px) {
    #header h1 {
        font-size: 3em;
    }
    .info {
        font-size: .85em;
    }
    .icon {
        font-size: 1em;
        line-height: 1em;
        vertical-align: 1em;
    }
}