body {
    background-color: black;
    font-family: 'IBM Plex Sans Condensed', sans-serif;
}

.row {
    margin-right: 0;
    margin-left: 0;
}

::-webkit-scrollbar {
    display: none;
}

main {
    margin-top: 120px;
    background-image: url(img/pattern5.jpg);
    background-size: 300px;
}


/*
*
*  HEADER
*
*/

header {
    background-color: black;
    color: white;
    text-align: center;
    position: fixed;
    top: 0;
    z-index: 99;
    height: 120px;
    width: 100%;
    padding-left: 10px;
}

header .titolo {
    font-size: 70px;
    color: white;
    font-family: 'Bungee', sans-serif;
    align-self: center;
    text-align: left;
}

header .titolo a {
    color: white;
    text-decoration: none;
}

header .titolo a:hover {
    text-decoration: none;
    color: white;
}

header .logo {
    height: 120px;
    padding: 10px;
    transform: rotate(180deg);
    transition: 0.5s;
}

header .logo:hover {
    transform: rotate(0deg);
}

/* menu navigazione */
header .overlay {
    height: 0;
    width: 100%;
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    background-color: black;
    overflow-y: hidden;
    transition: 0.5s;
}

header .overlay-content {
    font-family: 'bungee', sans-serif;
    position: relative;
    width: 100%;
    top: 10%;
}

header .link-sx {
    text-align: right;
    align-self: center;
}

header .link-c {
    text-align: center;
    align-self: center;
}

header .link-dx {
    text-align: left;
    align-self: center;
}

header .skew1 {
    transform: rotate(15deg);
    padding: 100px 0 !important;
}

header .skew2 {
    transform: rotate(-15deg);
    padding: 100px 0 !important;
}

header .overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 60px;
    color: white;
    display: block;
    transition: 0.3s;
}

header .overlay a:hover,
header .overlay a:focus {
    color: #CC0000;
}

header .overlay .close-nav {
    right: 10px;
    position: absolute;
    font-size: 70px;
}

header .open-nav {
    text-align: right;
    align-self: center;
    font-size: 60px;
    transition: 0.3s;
}

header .open-nav span:hover {
    color: #cc0000;
    cursor: pointer;
}

/*
*
*  NEWS BUTTON
*
*/

main .newsletter {
    position: fixed;
    right: 0;
    top: 50vh;
    z-index: 100;
}

main .newsletter i {
    font-size: 30px;
}

main .newsletter button {
    border-radius: 2px;
    background-color: #cc0000;
}

main .modal-content {
    text-align: center;
}

main .modal .close {
    text-align: right;
    padding: 10px;
}

main .modal form {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    align-self: center;
    padding: 20px;
}

main .modal .submit {
    font-size: 20px;
    font-weight: 900;
    margin: 10px;
    color: white;
    background-color: black;
}

main .modal .submit:hover {
    background-color: #cc0000;
}

/*
*
*  MAIN HOMEPAGE
*
*/

article {
    border: 2px solid black;
    font-size: 20px;
}

.box1 {
    height: 450px;
    background-size: auto 140%;
    background-repeat: no-repeat;
    background-position: center;
}

.box2,
.box3 {
    height: 400px;
    background-size: auto 140%;
    background-repeat: no-repeat;
    background-position: center;
}

.box4 {
    height: 50px;
    background-size: auto 50px;
    background-color: white;
}

main .overlay-articles {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background-color: rgb(0, 0, 0, 0.7);
    overflow: hidden;
    width: 100%;
    height: 0;
    transition: .4s ease;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

main article:hover .overlay-articles {
    bottom: 0;
    height: 100%;
}

main .overlay-articles h2 {
    color: white;
    font-size: 35px;
    font-family: 'bungee', sans-serif;
}

main .overlay-articles p {
    text-align: center;
    color: white;
    font-size: 20px;
    padding: 0 30px;
}

.scroll-left {
    overflow: hidden;
    position: relative;
    color: white;
    background-color: black;
}

.scroll-left p {
    font-family: 'bungee', sans-serif;
    font-size: 35px;
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    width: auto;
    -moz-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    -moz-animation: scroll-left 6s linear infinite;
    -webkit-animation: scroll-left 6s linear infinite;
    animation: scroll-left 6s linear infinite;
}

@-moz-keyframes scroll-left {
    0% {
        -moz-transform: translateX(100%);
    }

    100% {
        -moz-transform: translateX(-100%);
    }
}

@-webkit-keyframes scroll-left {
    0% {
        -webkit-transform: translateX(100%);
    }

    100% {
        -webkit-transform: translateX(-100%);
    }
}

@keyframes scroll-left {
    0% {
        -moz-transform: translateX(100%);
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }

    100% {
        -moz-transform: translateX(-100%);
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
}

/*
*
*  MAIN CONTACTS
*
*/

.contacts {
    padding-top: 30px;
    padding-bottom: 30px;
}

.contacts form {
    background-color: #fff;
    padding: 30px;
    border: 3px solid black;
}

.contacts h1 {
    font-family: 'bungee', sans-serif;
    text-align: center;
    padding: 10px;
    font-size: 45px;
    color: black;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #cc0000;
}

.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before {
    background-color: #cc0000;
}

.contacts .custom-control {
    padding: 20px 30px;
}

/*
*
*  MAIN ABOUT
*
*/

.about {
    padding-bottom: 30px;
    padding-top: 30px;
}

.about .container {
    background-color: #fff;
    padding: 30px;
    border: 3px solid black;
}

.about h1 {
    font-family: 'bungee', sans-serif;
    text-align: center;
    padding: 10px;
    font-size: 45px;
    color: black;
}

.about p {
    font-size: 20px;
}

.about .card {
    color: white;
    background-color: rgba(0, 0, 0, 0.95);
    border: 2px solid black;
}

.about .card-header {
    font-size: 40px;
    font-family: 'bungee', sans-serif;
    text-align: center;
}

.about .card-text{
    text-align: center;
}

/*
*
*  MAIN CATEGORY
*
*/

.category {
    padding-top: 10px;
}

.category h1 {
    padding: 20px;
    font-family: 'bungee', sans-serif;
    background-color: black;
    color: white;
    text-align: center;
}

/*
*
*  MAIN SINGLE
*
*/

.single {
    background-color: #fff;
    padding: 10px;
}


.single .carousel-inner {
    border: 2px solid black;
}

.single .contenuto {
    background-color: white;
    padding: 20px;
    border: 2px solid black;
}

.single h1 {
    font-family: 'bungee', sans-serif;
    color: black;
    padding-top: 20px;
    font-size: 50px;
}

.single h3 {
    font-weight: 400;
}

.single p a,
.single h4 a,
.single h5 a {
    color: black;
    font-weight: 700;
    transition: 0.3s;
}

.single h4 {
    font-weight: 700;
}

.single a:hover {
    color: #cc0000
}

.single .categorie span {
    font-weight: 700;
    font-size: 20px;
    color: #000;
}

.single h5 {
    text-align: right;
}

/*
*
*  FOOTER
*
*/

footer {
    background-color: black;
    color: white;
    height: auto;
    align-items: center;
    display: flex;
}

.footer-icons {
    font-size: 50px;
    color: #ffffff;
}

.footer-icons i:hover {
    color: #CC0000;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    -webkit-transform: scale(2, 2);
    -ms-transform: scale(1.3, 1.3);
    -o-transform: scale(1.3, 1.3);
    transform: scale(1.3, 1.3);
}

.footer-icons i {
    padding: 15px;
}

.footer-icons a {
    text-decoration: none;
    color: white;
}

.disclaimer {
    padding: 10px;
    text-align: center;
    font-size: 15px;
}

/*
*
*  MEDIA QUERIES
*
*/

@media (max-width: 992px) {
    header .titolo {
        font-size: 50px;
    }

    header .titolo a:after {
        bottom: 30px;
    }

    header .overlay a {
        font-size: 40px;
    }

    header .link-c {
        display: none;
    }

    main .overlay-articles {
        height: 100%;
        background-color: rgba(0, 0, 0, 0.1);
        bottom: 0;
    }

    header .skew1,
    header .skew2 {
        transform: rotate(0deg);
        padding: 30px !important;
    }


    main article:hover .overlay-articles {
        height: 100%;
        bottom: auto;
    }

    .single h1 {
        font-size: 35px;
    }

    main article p,
    main article h2 {
        padding: 5px;
        background-color: rgba(0, 0, 0, 0.65);
    }
}

@media (max-width: 768px) {
    header .titolo {
        font-size: 40px;
    }

    header .overlay {
        overflow-y: scroll;
    }

    header .link-dx,
    header .link-sx {
        text-align: center;
    }

    .single h1 {
        font-size: 30px;
    }

    .footer-icons {
        text-align: center;
    }
}
