@import url(reset.css);

body {
    background-image: url(../images/tesla.jpg);
    background-size: 1400px;
    font-family: verdana;
    color: white;
}

nav {
    text-transform: uppercase;
    font-weight: bold;
    line-height: 5vh;
    text-align: center;
    min-height: 5vh;
    margin: 1em 0;
    display: flex;
}

a {
    text-decoration: none;
    color: white;
}

nav div {
    width: 10vw;
}

nav ul {
    float: left;
    width: 80vw;
    padding: 0 32vh;
    display: flex;
    flex-flow: row wrap;
}

nav li {
    display: block;
    flex: 1 0;
}

.pageWrapper {
    display: flex;
    flex-flow: row wrap;
}

.sidebar, .counterWeight {
    width: 250px;
    height: 30vh;
}

.sidebar {
    margin: auto 0;
}

.sidebar li {
    display: block;
    border-left: 3px solid #333;
    margin: 1rem .6rem;
    padding: 2px 6px;
    text-decoration: none;
}

.sidebar a {
    
    color: rgba(0,0,0,0);
    font-size: .8rem;
    text-transform: uppercase;
}

.sidebar a:hover {
    color: #333;
}

main {
    width: 50vw;
    height: 70vh;
    margin: 4em auto;
    text-align: center;
}

main h1 {
    font-size: 2.5rem;
}

.button1, .button2 {
    display: block;
    width: 275px;
    height: 40px;
    line-height: 40px;
    margin: .7rem;
    border-radius: 20px;
    font-size: .8rem;
    text-transform: uppercase;
}

.button1 {
    float: left;
    background-color: white;
    color: black;

    margin-left: 3rem;
}

.button2 {
    float: right;
    border: 3px solid white;
    margin-right: 3rem;
    line-height: 34px;
}

.button2:hover {
    background-color: white;
    color: black;
}

main a:last-child {
    display: block;
    text-decoration: underline;
    text-align: center;
    font-size: .8rem;
    width: 100px;
    margin: 2.4rem auto;
}