html, body {
    height: 100%;
    margin:0;
}

body {
    background-image:url(images/head.jpg);
    background-repeat:no-repeat;
    background-attachment: fixed;
    font-family: 'Libre Baskerville', serif;
    font-weight: 400!important;
    text-align:center;
    font-size: 16px;
    color:#ffffff;
    overflow-x:hidden;
}

#navigation {
    width:80%;
    margin:90px auto 50px auto;
    padding:35px 40px;
    background: linear-gradient(180deg, #fff8e7, #fff1d6);
    border-radius:28px;
    text-align:center;
    font-family:'Lora', serif;
    border:1px solid rgba(255,165,0,0.25);
}

#navigation a {
    display:inline-block;
    margin:0 18px;
    padding:10px 0;
    font-size:20px;
    letter-spacing:1px;
    color:#ff7a00;
    text-decoration:none;
    position:relative;
    transition:0.25s;
}

#navigation a::after {
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:0%;
    height:3px;
    background:linear-gradient(90deg, #ff7a00, #ffb347, #ff7a00); 
    border-radius:3px;
    transition:0.35s;
}

#navigation a:hover::after {
    width:100%;
}

#navigation a:hover {
    color:#ff9c3c; 
    text-shadow: 0 0 2px rgba(255,122,0,0.4);
    animation: twitch 0.3s infinite;
}

#navigation a:nth-child(1):hover { animation-delay: 0s; }
#navigation a:nth-child(2):hover { animation-delay: 0.05s; }
#navigation a:nth-child(3):hover { animation-delay: 0.1s; }
#navigation a:nth-child(4):hover { animation-delay: 0.15s; }
#navigation a:nth-child(5):hover { animation-delay: 0.2s; }

@keyframes twitch {
    0% { transform: translate(0px, 0px) rotate(0deg); }
    10% { transform: translate(-2px, 1px) rotate(-1deg); }
    20% { transform: translate(1px, -1px) rotate(1deg); }
    30% { transform: translate(-1px, 2px) rotate(0deg); }
    40% { transform: translate(2px, -2px) rotate(-1deg); }
    50% { transform: translate(-1px, 1px) rotate(1deg); }
    60% { transform: translate(1px, -1px) rotate(0deg); }
    70% { transform: translate(-2px, 2px) rotate(-1deg); }
    80% { transform: translate(2px, -1px) rotate(1deg); }
    90% { transform: translate(-1px, 1px) rotate(0deg); }
    100% { transform: translate(0px, 0px) rotate(0deg); }
}


a:link,
a:visited,
a:active {
    text-decoration:none;
    color:#ff7a00;
    font-size:16px;
    font-family:'Libre Baskerville', serif;
    font-weight:600!important;
}

a:hover { color:#ffffff; }

b, i { color:#ff7a00; border-bottom:3px dashed #ff7a00; font-weight:400!important; }

#container{ width:55%; margin:60px auto; }

.contentx{
    margin:50px auto;
    padding:35px 40px;
    max-width:780px;
    background:rgba(0,0,0,0.65);
    color:#ffffff;
    border-radius:25px;
    font-family:'Lora', serif;
    line-height:2.2;
    letter-spacing:0.5px;
    text-align:justify;
    border:1px solid rgba(255,122,0,0.25);
}

h1 {
    font-family: 'Bebas Neue', cursive;
    font-size:36px;
    text-align:center;
    text-transform:uppercase;
    letter-spacing:2px;
    background:linear-gradient(90deg, #ff7a00, #ffb347, #ff7a00);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    margin:40px 0 25px 0;
    position:relative;
}

h1::after {
    content:'';
    display:block;
    width:60%;
    height:6px;
    margin:8px auto 0 auto;
    background:linear-gradient(90deg, #ff7a00 0%, #ffb347 50%, #ff7a00 100%);
    border-radius:3px;
    box-shadow:0 0 10px rgba(255,122,0,0.3);
}

blockquote {
    position:relative;
    background: rgba(0,0,0,0.65);
    color:#ffffff;
    font-family:'Lora', serif;
    font-style:italic;
    line-height:1.8;
    letter-spacing:0.5px;
    padding:25px 35px;
    margin:40px auto;
    border-radius:25px;
    max-width:750px;
    box-shadow: inset 0 0 15px rgba(255,122,0,0.1);
    border-left:6px solid transparent;
}

blockquote::before {
    content:'';
    position:absolute;
    left:0;
    top:0;
    width:6px;
    height:100%;
    border-radius:3px;
    background:linear-gradient(to bottom, #ff7a00 0%, #ffb347 40%, #ffb347 60%, #ff7a00 100%);
}

blockquote::after {
    content:'“';
    font-size:50px;
    color:#ff7a00;
    position:absolute;
    top:-10px;
    left:15px;
    opacity:0.5;
    pointer-events:none;
}

.contentx input,
.contentx textarea,
.contentx select{
    width:40%;
    max-width:100%;
    background:#000000;
    border:2px dashed #ff7a00;
    padding:10px;
    margin:6px 0;
    color:#ffffff;
    font-family:'Libre Baskerville', serif;
    border-radius:10px;
    transition:all 0.25s ease;
}

.contentx textarea{
    width:40%;
    min-height:120px;
    resize:vertical;
}

.contentx input:focus,
.contentx textarea:focus,
.contentx select:focus{
    outline:none;
    border:2px solid #ff7a00;
    box-shadow:0 0 10px rgba(255,122,0,0.6);
}

.contentx select{ cursor:pointer; }

#footer{
    text-align:center;
    margin-top:80px;
    padding:40px 0;
}

.footer-label{
    display:inline-block;
    background:#ffffff;
    color:#000000;
    padding:8px 20px;
    border-radius:10px;
    font-size:12px;
    letter-spacing:2px;
}

@media (max-width: 1024px) {
    #navigation {
        width: 70%;
        padding: 25px 30px;
    }

    #navigation a {
        font-size: 18px;
        margin: 0 12px;
        padding: 8px 0;
    }

    #container {
        width: 85%;
        margin: 80px auto;
    }

    .contentx {
        padding: 25px 30px;
        max-width: 100%;
        line-height: 2;
    }

    h1 {
        font-size: 30px;
    }

    blockquote {
        padding: 20px 25px;
        font-size: 15px;
    }

    .contentx input,
    .contentx textarea,
    .contentx select {
        width: 60%;
    }
}

@media (max-width: 600px) {


    #navigation {
        width: 90%;
        padding: 20px 15px;
    }

    #navigation a {
        display: block;
        margin: 6px 0;
        font-size: 16px;
        padding: 10px 0;
    }

    #navigation a::after {
        left: 0;
        right: 0;
        margin: 0 auto;   
        width: 50%;        
    }

    #navigation a:hover::after {
        width: 50%;         
    }

    #container {
        width: 95%;
        margin: 60px auto;
    }

    .contentx {
        padding: 20px 15px;
        font-size: 14px;
        line-height: 1.8;
        border-radius: 20px;
    }

    h1 {
        font-size: 26px;
    }

    blockquote {
        padding: 15px 20px;
        font-size: 14px;
    }

    .contentx input,
    .contentx textarea,
    .contentx select {
        width: 90%;
    }

    #footer .footer-label {
        padding: 6px 14px;
        font-size: 11px;
    }
}