html {
    box-sizing: border-box;
}

*,*:before, *:after {
    box-sizing: inherit;
}

body {
    font-family: sans-serif;
    margin: 0;
    overflow: auto;
    background-image: linear-gradient(260deg, #2376ae 0%, #c16ecf 100%);
}
.top {
    text-align: center;
}

a {
    color:white;
    font-weight: 100;
    letter-spacing: 2px;
    text-decoration: none;
    background: rgba(5, 3, 3, 0.2);
    padding:20px 5px;
    display: inline-block;
    width: 100%;
    text-align: center;
    transition:all 0.5s;
}
/*video*/
.love {
    height: 100%;
    width: 100%;
    -webkit-filter:blur(5px);
    filter:blur(5px);
    position: absolute;
    top: 0;
    z-index: -1;
}

a:hover {
    background: rgba(0,0,0,0.3);
}
.toggleNav {
    display: none;
}

img {
    width: 100%;
}

.wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

input {
    padding: 10px;
    border:0;
}

section, footer {
    text-align: center;
    background: rgba(0,0,0,0.2);
    padding: 20px;
    margin: 20px 0;
    color: white;
    font-weight: 100;
}

/*flex container */
.flex-nav ul{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

/*flex Item */
.flex-nav li{
    flex:3,
}

.flex-nav .social {
    flex:1;
}

@media all and (max-width:1000px) {
    .flex-nav ul{
        flex-wrap:wrap;
    }
    .flex-nav li{
        flex:1 1 50%;
    }
    .flex-nav .social {
        flex: 1 1 25%;
    }
}

@media all and (max-width:500px) {
    .flex-nav li{
        flex-basis:100%;
    }
    .wrapper {
        display:flex;
        flex-direction: column;
    }
    .wrapper > * {
        order:9999;
    }
    .flex-nav{
        order:1;
    }
    .toggleNav{
        display:block;
    }
    .flex-nav ul{
        display:none;
    }
    .flex-nav ul.open {
        display:flex;
    }
    .top {
        order:2;
    }
    .details {
        order:3;
    }
}
