/* FONTS */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800;900&family=Quicksand:wght@300;400;500;600;700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/* VARIABLES */

:root {
    /* COLORS */
    --color-text: #eeecee;
    --color-background: #121113;
    --color-background-secondary:#141414;
    --color-primary: #fa9c0d;
    --color-secondary: #efece9;
    --color-accent: #028BE8;
    /* FONTS */
    --font-1: "Montserrat", sans-serif;
    --font-2: "Roboto", sans-serif;
    --font-3: "Quicksand", sans-serif;
    /* SHADOWS */
    --box-shadow: 0 0 20px rgba(250, 156, 13, 0.5);
    --box-shadow-2: 0 0 10px rgba(250, 156, 13, 0.5);
    --text-shadow: 0 0 20px rgba(250, 156, 13, 0.5);
    --text-shadow-2: 0 0 10px rgba(250, 156, 13, 0.5);
}

/* GLOBAL */

* {
    box-sizing: border-box;
    right: 0;
    bottom: 0;
    padding: 0;
    margin: 0;
    text-decoration: none;
    transition: .2s ease-in-out;
    scroll-behavior: smooth;
    color: var(--color-text);
}

body {
    background-color: var(--color-background);
    color: var(--color-text);
    font-family: var(--font-2);
    font-weight: 400;
}

html {
	scroll-behavior: smooth;
}

/* SELECTION */

::selection {
    color: var(--color-primary);
    text-shadow: var(--text-shadow);
    background-color: var(--color-background);
}

::-moz-selection {
    color: var(--color-primary);
    text-shadow: var(--text-shadow);
    background-color: var(--color-background);
}

/* SCROLLBAR */

::-webkit-scrollbar {
    width:10px;
    height:10px;
}

::-webkit-scrollbar-track {
    box-shadow:inset 0 0 5px rgba(255,255,255,0);
    margin-top:5px;
    margin-bottom:5px;
    border-radius:10px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--color-primary);
    border-radius:10px;
}

/* GLOBAL CLASSES */

.hflex {
    text-align: center;
    font-size: 3.2rem;
    margin-bottom: 15px;
}

.hflex span {
    color: var(--color-primary);
    text-shadow: var(--text-shadow);
}

.pflex {
    font-size: 1.2rem;
    text-align: center;
}

.container {
    padding-left: 30px;
    padding-right: 30px;
}

/* NAVBAR */

nav {
    position: absolute;
    top: 0;
    left: 0;
    height: 100px;
    width: 100%;
    /* background-color: var(--color-background); */
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    text-align: center;
    align-items: center;
    border-bottom: 3px var(--color-primary) solid;
}

nav .nav__img img {
    height: 80px;
    width: 80px;
}

nav .nav__text {
    font-size: 1.4rem;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 25px;
}

nav .nav__text a {
    padding: 10px 15px 10px 15px;
    border-radius: 5px;
}

nav .nav__text a:hover {
    background-color: rgba(0,0,0,0.5);
    border-radius: 10px;
}

nav .nav__buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
}

nav .nav__buttons .nav__button {
    font-size: 1.3rem;
    background-color: var(--color-primary);
    padding: 10px 15px 10px 15px;
    border-radius: 10px;
}

nav .nav__buttons .nav__button:hover {
    box-shadow: var(--box-shadow);
}

/* NAVBAR MENU FOR MOBILE */

.nav__menu {
    width: 40%;
    height: 100vh;
    background-color: rgba(10, 10, 10,0.9);
    position: fixed;
    top: 0;
    left: 0;
    border-right: 3px solid var(--color-primary);
    box-shadow: var(--box-shadow-2);
    display: none;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    transform: translateX(-110%);
    transition: cubic-bezier(0.215, 0.610, 0.355, 1) .5s;
    z-index: 99999;
}

.nav__menu .nav__img img {
    height: 150px;
    width: 150px;
}

.nav__menu .nav__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 1.4rem;
    flex-wrap: nowrap;
    gap: 20px;
}

.nav__menu .nav__text a {
    padding: 10px 15px 10px 15px;
    border-radius: 5px;
}

.nav__menu .nav__text a:hover {
    background-color: rgba(0,0,0,0.4);
    border-radius: 10px;
}

.nav__menu .nav__buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
}

.nav__menu .nav__buttons .nav__button {
    font-size: 1.3rem;
    background-color: var(--color-primary);
    padding: 10px 15px 10px 15px;
    border-radius: 10px;
}

.nav__menu .nav__buttons .nav__button:hover {
    box-shadow: var(--box-shadow);
}

/* HAMBURGER */

.nav__menu__hamburger {
    z-index: 999999;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(10, 10, 10,0.8);
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 18px 0 0 20px;
}

.nav__menu__hamburger .ham {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 400ms;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    z-index: 999999;
}

.nav__menu__hamburger .hamRotate.active {
    transform: rotate(45deg);
}

.nav__menu__hamburger .line {
    fill:none;
    transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
    stroke:var(--color-text);
    stroke-width:5.5;
    stroke-linecap:round;
}

.nav__menu__hamburger .ham4 .top {
    stroke-dasharray: 40 121;
}

.nav__menu__hamburger .ham4 .bottom {
    stroke-dasharray: 40 121;
}

.nav__menu__hamburger .ham4.active .top {
    stroke-dashoffset: -68px;
}

.nav__menu__hamburger .ham4.active .bottom {
    stroke-dashoffset: -68px;
}

/* SCROLL TO TOP */

.scrollToTopBtn {
    background-color: var(--color-background);
    border: var(--card-background) 4px solid;
    border-radius: 50%;
    cursor: pointer;
    font-size: 30px;
    width: 60px;
    height: 60px;
    position: fixed;
    display: flex;
    margin-top: auto;
    margin-left: auto;
    right: 20px;
    bottom: 20px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(100px);
    border: var(--color-primary) 3px solid;
    box-shadow: var(--box-shadow-2);
    transition: all .5s ease
}

.scrollToTopBtn i {
    margin-top: 14px;
    margin-left: 14px;
    color: var(--color-text);
}
      
.showBtn {
    opacity: 1;
    transform: translateY(0)
}


/* HERO */

.hero__container {
    width: 100%;
    height: 100vh;
    background-image: url(../images/bg.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
}

.hero__container img {
    height: 300px;
    height: 300px;
}

.hero__container h1 {
    font-size: 3.5rem;
    text-shadow: var(--text-shadow);
    color: var(--color-primary);
    margin-top: 10px;
    letter-spacing: 3px;
    text-decoration: underline wavy var(--color-text) 2px;
}

.hero__container p {
    font-family: var(--font-1);
    font-size: 1.2rem;
    letter-spacing: 1.5px;
    margin-top: 4px;
    margin: 0 5px 0 5px;
}

.hero__container h2 {
    margin-top: 30px;
    font-size: 1.2rem;
    font-weight: 500;
    font-family: var(--font-1);
    letter-spacing: 1.2px;
}

.hero__container .hero__socials {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
    margin-top: 2px;
    font-size: 1.8rem;
    color: var(--color-text);
}

.hero__container .hero__socials i:hover {
    color: var(--color-primary);
    text-shadow: var(--text-shadow-2);
}

/* HERO WAVES */

.waves {
    position:absolute;
    width: 100%;
    height:15vh;
    min-height:100px;
    max-height:120px;
}

.waves__parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}

.waves__parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 7s;
}

.waves__parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 10s;
}

.waves__parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 13s;
}

.waves__parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 20s;
}

@keyframes move-forever {
  0% {
    transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(85px,0,0);
  }
}

/* ABOUT */

.about__container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 100px;
}

.about__container .about__content {
    width: 60%;
    padding: 0 20px 0 20px;
}

.about__container .about__slider {
    width: 40%;
    padding: 0 10px 0 10px;
}

/* WEAZELNEWS */

.weazelnews__container {
    margin-top: 150px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    align-items: start;
}

.weazelnews__container .trailer {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.weazelnews__container .trailer iframe {
    border-radius: 10px;
    margin-left: 10px;
    margin-right: 10px;
    height: 450px;
    width: 750px;
}

.weazelnews__container .weazelnews {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.weazelnews__container .weazelnews .gazetka {
    height: 450px;
    width: 450px;
    background-image: url(../images/weazelnews.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 10px;
}

/* TEAM */

.team__container {
    margin-top: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.team__cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 30px;
}

.team__cards .card {
    background-color: var(--color-background-secondary);
    border-radius: 10px;
    height: 270px;
    width: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
}

.team__cards .card:hover {
    transform: scale(1.05);
}

.team__cards .card:hover .card__img {
    transform: scale(1.05);
}

.team__cards .card__img {
    height: 120px;
    width: 120px;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    text-align: center;
    display: flex;
    overflow: hidden;
}

.team__cards .card__img img {
    width: 120px;
}

.team__cards .card__text h1 {
    font-size: 2rem;
    font-family: var(--font-2);
    letter-spacing: 1px;
}

.team__cards .card__text p {
    font-size: 1.2rem;
    font-family: var(--font-3);
    letter-spacing: 1.1px;
}

/* PODANIA */

.podania__container {
    margin-top: 100px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.podania__cards {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 30px;
}

.podania__cards .card {
    background-color: var(--color-background-secondary);
    height: 480px;
    width: 100%;
    margin: 0 10px 0 10px;
    max-width: 600px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
}

.podania__cards .card__img {
    height: 250px;
    width: 100%;
    max-width: 450px;
    margin: 0 10px 0 10px;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    text-align: center;
    display: flex;
    overflow: hidden;
}

.podania__cards .card__img img {
    width: 100%;
}

.podania__cards .card__text h1 {
    font-size: 2rem;
}

.podania__cards .card__text p {
    font-size: 1.1rem;
    letter-spacing: .9px;
    font-family: var(--font-1);
    margin: 0 10px 0 10px;
}

.podania__cards .card__buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
}

.podania__cards .card__button {
    font-size: 1.3rem;
    background-color: var(--color-primary);
    padding: 10px 15px 10px 15px;
    border-radius: 10px;
    font-family: var(--font-1);
    font-weight: 500;
}

.podania__cards .card__button:hover {
    box-shadow: var(--box-shadow-2);
}

.podania__iframe {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-top: 150px;
    border-radius: 10px;
    min-height: 55vh;
}

.podania__iframe iframe {
    border: dotted 4px var(--color-primary);
    padding: 20px;
    border-radius: 10px;
}

/* SWIPER */

.swiper {
    border-radius: 10px;
    --swiper-navigation-size: 30px;
    --swiper-navigation-color: var(--color-primary);
    --swiper-pagination-color: var(--color-primary);
}

.swiper .swiper-pagination {
    color: var(--color-primary);
}

.swiper-slide img {
    width: 100%;
}

/* FOOTER */

footer {
    margin-top: 100px;
    height: 220px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
}

footer .section img {
    height: 100px;
    width: 100px;
}

footer .section h1 {
    font-size: 1.2rem;
    font-weight: 500;
}

footer .section h1 span.footer__color-1 {
    color: var(--color-primary);
}

footer .section h1 span.footer__color-2 {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 800;
}

footer .section h1 a:hover {
    color: var(--color-primary);
}

footer .footer__line {
    height: 5px;
    border-radius: 10px;
    width: 50%;
    background-color: var(--color-primary);
    box-shadow: var(--box-shadow);
    margin-top: 5px;
    margin-bottom: 10px;
}

/* MEDIA */

@media screen and (max-width: 1400px) {
    .about__container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 100px;
    }
    .about__container .about__content {
        width: 100%;
    }
    .about__container .about__slider {
        width: 60%;
    }
    .weazelnews__container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 100px;
    }
}

@media screen and (max-width: 950px) {
    nav .nav__text,
    nav .nav__buttons {
        display: none;
    }
    .nav__menu {
        display: flex;
    }
    .nav__menu__hamburger {
        display: flex;
    }
    .about__container .about__slider {
        width: 80%;
    }
}

@media screen and (max-width: 800px) {
    .weazelnews__container .trailer iframe {
        width: 600px;
        height: 350px;
    }
}

@media screen and (max-width: 768px) {
    .waves {
        height:50px;
        min-height:80px;
    }
}

@media screen and (max-width: 650px) {
    .weazelnews__container .trailer iframe {
        width: 470px;
        height: 260px;
    }
    .weazelnews__container .weazelnews .gazetka {
        height: 400px;
        width: 400px;
    }
    .about__container .about__slider {
        width: 90%;
    }
}

@media screen and (max-width: 600px) {
    .hero__container img {
        width: 250px;
        height: 250px;
    }
    .hero__container h1 {
        font-size: 3rem;
    }
    .hero__container p {
        font-size: 1rem;
    }
    .hero__container h2 {
        font-size: 1.1rem;
    }
    .hero__container .hero__socials {
        font-size: 1.6rem;
    }
    .nav__menu {
        width: 45%;
    }
    .nav__menu .nav__img img {
        height: 120px;
        width: 120px;
    }
    .nav__menu .nav__text {
        font-size: 1.2rem;
    }
    .nav__menu .nav__buttons .nav__button {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 500px) {
    .weazelnews__container .trailer iframe {
        width: 350px;
        height: 200px;
    }
    .weazelnews__container .weazelnews .gazetka {
        height: 350px;
        width: 350px;
    }
    .nav__menu {
        width: 55%;
    }
    .nav__menu .nav__img img {
        height: 100px;
        width: 100px;
    }
    .nav__menu .nav__text {
        font-size: 1.1rem;
    }
    .nav__menu .nav__buttons .nav__button {
        font-size: 1rem;
    }
    .podania__cards .card__img {
        height: 200px;
        width: 100%;
        max-width: 350px;
    }
    .about__container .about__slider {
        width: 95%;
    }
}

@media screen and (max-width: 400px) {
    .hero__container img {
        width: 200px;
        height: 200px;
    }
    .hero__container h1 {
        font-size: 2.5rem;
    }
    .hero__container p {
        font-size: 0.8rem;
    }
    .hero__container h2 {
        font-size: 0.9rem;
    }
    .hero__container .hero__socials {
        font-size: 1.4rem;
    }
    .nav__menu {
        width: 60%;
    }
    .nav__menu .nav__img img {
        height: 90px;
        width: 90px;
    }
    .podania__cards .card__img {
        height: 180px;
        width: 100%;
        max-width: 300px;
    }
}

@media screen and (max-width: 375px) {
    .weazelnews__container .trailer iframe {
        width: 280px;
        height: 160px;
    }
    .weazelnews__container .weazelnews .gazetka {
        height: 300px;
        width: 300px;
    }
    .podania__cards .card__img {
        height: 150px;
        width: 100%;
        max-width: 280px;
    }
}