/*
Theme Name:		F1 Hub - Net.hr Microsite
Description:   	Sve na jednom mjesto o Formuli 1
Version:       	1.0
Author:        	Mihovil Radaus
Author URI:    	https://www.mrstudio.com/
License:       	GNU General Public License v2 or later
*/


/* CSS Reset*/
html {
    margin: 0;
    padding: 0;
    border: 0;
}

body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, nav, section {
    margin: 0;
    padding: 0;
    border: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
    list-style: none;
}


/* Body setup */
body {
    font-family: "Proxima Nova", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3em;
    text-align: left;
    background-color: #000;
    color: #fff;
    -webkit-font-smoothing: antialiased;
}


a, .btn {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.animate {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
}

:focus {
    outline: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

h1 {
    font-size: 50px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.3em;
}

p {
    margin: 1em 0;
}

.main-container {
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1360px;
    padding-left: 30px !important;
    padding-right: 30px !important;
    margin: 0 auto;
    position: relative;
    height: 100%;
}

.container-short {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.cf:before,
.cf:after {
    content: " ";
    display: table;
}

.cf:after {
    clear: both;
}

.cf {
    *zoom: 1; /* IE 6/7 only */
}


.left {
    float: left;
}

.right {
    float: right;
}

.half {
    width: 49.99%;
}

.third {
    width: 33.32%;
}

.fourth {
    width: 24.99%;
}

.fifth {
    width: 19.99%;
}

.sixth {
    width: 16.65%;
}

.two-thirds {
    width: 66.65%;
}

.four-fifths {
    width: 79.99%;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

.marginfix {
    margin: 0 -15px;
}

.center {
    text-align: center;
    margin: 0 auto;
}

.btn,
.wp-element-button {
    display: inline-block;
    background-color: #000;
    font-size: 18px !important;
    font-weight: 800 !important;
    padding: 10px 25px !important;
    border: none !important;
}

.btn-small {
    font-size: 14px;
    padding: 5px 20px;
    text-align: center;
    margin-top: 20px;
}

.header {
    width: 100%;
    height: 50px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 10px 0;
}

/* Hero */
.hero {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.hero-background {
    background-image: url("assets/img/f1_hero_01.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero .shadow {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.hero-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    z-index: 2;
    font-weight: bold;
    padding: 30px 0;
}

.hero-content h1 {
    margin: 15px auto 5px;
}

.hero .f1-partner img {
    margin: 10px auto 0
}

/* F1 Widget */
.fone-f1-widget {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    width: 100%;
    padding: 50px 0;
}

.fone-f1-widget > .third {
    min-width: 0;
}

.fone-f1-column.third {
    color: #fff;
    background: linear-gradient(180deg, rgba(18,18,18,.98), rgba(3,3,3,.98));
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 60px rgba(0,0,0,.45);
}

.fone-f1-next.third {
    border-color: #e10600;
}

.fone-f1-column h3 {
    margin: 0;
    padding: 22px 24px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    text-transform: uppercase;
    font-size: 24px;
    font-weight: 900;
}

.fone-f1-next h3 {
    color: #e10600;
    text-align: center;
    font-size: 28px;
}

.fone-f1-race-head {
    padding: 24px;
}

.fone-f1-flag {
    display: block;
    width: 38px;
    height: 28px;
    object-fit: cover;
    border-radius: 3px;
    margin-bottom: 14px;
}

.fone-f1-label,
.fone-f1-round {
    margin: 0 0 8px;
    text-transform: uppercase;
    color: rgba(255,255,255,.58);
    font-weight: 900;
}

.fone-f1-column h4 {
    margin: 0 0 14px;
    text-transform: uppercase;
    font-size: 34px;
    line-height: .95;
    font-weight: 950;
}

.fone-f1-circuit,
.fone-f1-date {
    margin: 0 0 10px;
    color: rgba(255,255,255,.78);
    font-size: 17px;
    line-height: 1.35;
}

.fone-f1-next .fone-f1-race-head {
    text-align: center;
}

.fone-f1-next .fone-f1-flag {
    margin: 0 auto 14px;
}

.fone-f1-next h4 {
    font-size: 44px;
}

.fone-f1-track {
    display: block;
    width: 58%;
    max-height: 245px;
    object-fit: contain;
    margin: 20px auto 34px;
    filter: drop-shadow(0 0 16px rgba(225,6,0,.75));
}

.fone-f1-meta {
    display: flex;
    margin: 28px 36px 34px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.12);
}

.fone-f1-meta div {
    flex: 1;
    text-align: center;
    padding: 0 18px;
}

.fone-f1-meta div + div {
    border-left: 1px solid rgba(255,255,255,.16);
}

.fone-f1-meta dt {
    margin-bottom: 8px;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    font-size: 12px;
}

.fone-f1-meta dd {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
}

.fone-f1-podium {
    margin: 0 24px 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.12);
}

.fone-f1-podium h5 {
    margin: 0 0 18px;
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 500;
}

.fone-f1-podium-item {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    min-height: 132px;
    margin-bottom: 16px;
    padding: 0 16px 0;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255,255,255,.065), rgba(255,255,255,.025));
}

.fone-f1-position {
    align-self: center;
    flex: 0 0 40px;
    font-size: 44px;
    line-height: 1;
    font-weight: 950;
}

.fone-f1-position-1 .fone-f1-position {
    color: #d4af37;
}

.fone-f1-position-2 .fone-f1-position {
    color: #d7d7d7;
}

.fone-f1-position-3 .fone-f1-position {
    color: #cd7f32;
}

.fone-f1-driver-visual {
    align-self: stretch;
    display: flex;
    align-items: flex-end;
    flex: 0 0 105px;
}

.fone-f1-driver-photo {
    display: block;
    width: 105px;
    height: 145px;
    object-fit: cover;
    object-position: top left;
    margin-top: -10px;
}

.fone-f1-driver-info {
    align-self: center;
    min-width: 0;
    padding-bottom: 8px;
}

.fone-f1-driver {
    display: block;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 950;
    line-height: 1.05;
}

.fone-f1-team {
    display: block;
    margin-top: 7px;
    color: rgba(255,255,255,.68);
    font-size: 14px;
    line-height: 1.25;
}

.fone-f1-upcoming-list {
    list-style: none;
    margin: 0;
    padding: 28px 24px 24px;
}

.fone-f1-upcoming-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.fone-f1-upcoming-item:last-child {
    border-bottom: 0;
}

.fone-f1-upcoming-item .fone-f1-flag {
    flex: 0 0 44px;
    width: 44px;
    height: 33px;
    margin: 0;
}

.fone-f1-upcoming-info {
    flex: 1;
    min-width: 0;
}

.fone-f1-upcoming-item .fone-f1-name {
    display: block;
    text-transform: uppercase;
    font-size: 18px;
    line-height: 1.05;
    font-weight: 950;
}

.fone-f1-upcoming-item .fone-f1-date {
    display: block;
    margin-top: 7px;
    color: rgba(255,255,255,.68);
    font-size: 14px;
    line-height: 1.25;
}

.fone-f1-upcoming-item .fone-f1-round {
    margin: 0;
    padding: 9px 10px;
    border-radius: 8px;
    background: rgba(255,255,255,.065);
    color: #fff;
    font-size: 13px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .fone-f1-widget {
        flex-wrap: wrap;
    }

    .fone-f1-widget > .third {
        width: 100%;
    }

    .fone-f1-next h4 {
        font-size: 36px;
    }

    .fone-f1-column h4 {
        font-size: 30px;
    }
}

/* Footer */

.footer {
    background: #1e2327;
    padding: 60px 0;
    color: white;
}

.footer .nethr-logo {
    width: 200px;
    margin-top: -15px;
}

.footer .partner {
    justify-content: flex-end;
}

.footer .partner img {
    width: 50px;
    margin-left: 30px;
    margin-top: -8px;
}

