@charset "utf-8";

/* CSS Document */

* {
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
li,
body,
a {
    margin: 0;
    padding: 0;
}

a,
a:hover,
a:active,
a:focus {
    outline: none;
    border: 0;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

body {
    font-family: 'Raleway', sans-serif;
    width: 100%;
    min-height: 100vh;
    background: url(../images/bg.jpg) center / cover no-repeat #000;
    margin: 0;
    padding: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav {
    position: absolute;
    width: 100vw;
    top: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav a {
    padding: 5px;
    text-align: center;
    position: relative;
    display: block;
}

.tooltip {
    position: absolute;
    z-index: 2;
    cursor: pointer;
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transform: rotate(-90deg) translate(10px, 0);
    transform-origin: left center;
    transition-duration: .3s;
    top: 0;
    bottom: 0;
    left: 50%;
    display: none;
    padding: 7px;
    background-color: #fff;
    color: #000;
    font-size: 14px;
    line-height: 1em;
}

nav a:hover .tooltip {
    visibility: visible;
    opacity: 1;
    transform: rotate(0deg) translate(30px, 0);
}

.tooltip:after {
    position: absolute;
    margin-top: -3px;
    top: 50%;
    left: -4px;
    width: 0;
    border-right: 4px solid #fff;
    border-bottom: 4px solid transparent;
    border-top: 4px solid transparent;
    content: "";
}


.logo {
    margin: 150px auto 0;
    display: block;
    width: 80%;
    max-width: 400px;
}


h1 {
    font-size: 24px;
    font-weight: 200;

    text-align: center;
    margin-top: 100px;
    color: #fff;
}

h2 {
    font-size: 18px;
    font-weight: 200;

    text-align: center;
    margin: 10px;
    color: #c4c4c4
}

h3 {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    position: absolute;
    transform: rotate(-90deg);
    color: #404040;
    top: -150px;
}

h3:before {
    content: '';
    background: #404040;
    width: 50px;
    height: 1px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    left: -70px;
}

@media screen and (min-width: 768px) {
    nav {
        width: auto;
        top: auto;
        left: 40px;
        flex-direction: column;
    }

    nav a {
        margin: 5px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo {
        width: 100%;
    }

    h1 {
        font-size: 30px
    }
    .tooltip{
        display: table;
    }
}
