:root {
    --light-blue: rgba(0, 204, 255);
    --ocean-blue: rgb(0, 51, 201);
    --blue: rgb(1, 0, 102);
    --light-yellow: rgb(252, 240, 216);
    --pink: rgb(233, 78, 123);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

.hero-img {
    opacity: 0.7;
}

#hybrid_masterclass, #prelegent {
    padding: 150px 0 150px 0;
}

html.overflow-hidden,
body.overflow-hidden {
    overflow: hidden !important;
}

.hero-baner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* HEADER */

#navigation .nav-link,
#navi .nav-link {
    color: #fff;
}

#navigation .nav-link:hover,
#navi .nav-link:hover {
    color: var(--blue);
}

.nav-link button {
    color: var(--blue);
}

#hybrid_masterclass {
    position: relative;
    z-index: 1;
    background-color: var(--blue);
    color: #fff;
}

/* #dba .category-box {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    text-align: center;
    background: var(--ocean-blue);
    height: 300px;
    padding: 25%;
} */


#hybrid_masterclass::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../images/new_page/images/ziarno.png");
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}


#hybrid_masterclass h1 {
    font-size: 60px;
}

#hybrid_masterclass img {
    object-fit: cover;
}

.masterclass {
    height: 500px;
}

/* SECTION */

#main-section {
    background-image: url('../images/new_page/images/sand.png');
    background-repeat: no-repeat;
    background-size: cover;
}

section h1 {
    font-size: 60px;
}

section h1, section h4,
.prelegent-box p{
    font-weight: 700;
    color: var(--blue);
}

#prelegents button,
#main_agenda button,
#special_venue button {
    color: orange;
    border: 1px solid orange;
}

#agenda {
    padding-bottom: 175px;
}

.agenda-baner {
    height: 500px;
    margin: 125px 0 125px 0;
}

#agenda img,
#booking-awards img {
    object-fit: cover;
}

#booking-awards .wrapper {
    position: relative;
    display: inline-block;
}

#booking-awards .wrapper img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}


#booking-awards h1,
#booking-awards p {
    color: #fff !important;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

#booking-awards .wrapper > .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,255,0.3);
    pointer-events: none;
}

/* #booking-awards .gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--blue));
    pointer-events: none;
} */

#booking-awards .gradient::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../images/new_page/images/ziarno_stopka.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    background-size: 100% 25%;
    z-index: 1;
}

.content {
  z-index: 3;
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

#booking-awards button,
#booking-awards button:hover,
#booking-awards .btn:first-child:active{
    background-color: var(--blue);
}


/* FOOTER */

#partners {
    position: relative;
    padding: 175px 0 175px 0;
    background-color: var(--blue) !important;
    z-index: 999 !important;
}

/* #partners .gradient{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 75px;
    background: linear-gradient(to bottom, transparent, var(--ocean-blue)) !important;
    pointer-events: none;
} */

#socials {
    background-color: var(--ocean-blue) !important;
}

#partners .gradient::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../images/new_page/images/ziarno.png");
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}


/* RESERVATION */

.baner-heading {
    font-size: clamp(1.5rem, 4vw, 3rem);
    top: 160px;
    color: var(--blue);
    z-index: 10;
    font-weight: 700;
}

.reservation-box {
    font-size: 1.5rem;
    border: 1px solid var(--light-blue);
}

.reservation-box span:nth-child(2),
.reservation-box span:nth-child(4) {
    color: var(--light-blue);
}

#reservation,
#noclegi, #o-nas, #agenda, #prelegenci {
    background-color: var(--blue) !important;
}

#reservation::before,
#o-nas::before,
#agenda::before,
#noclegi::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../images/new_page/images/ziarno.png");
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}


#reservation h5 {
    color: var(--light-blue);
}

#reservation p {
    color: #fff;
}

/* RESERVATION FORM */

.iq-card-body {
    background-color: var(--blue);
}

.iq-card-body h2,
.iq-card-body h3  {
    color: var(--light-blue);
}

.iq-card-body label,
.iq-card-body p,
.iq-card-body i {
    color: #fff;
}

.modal-body p {
    color: #000;
}

.war-12-show-box {
    background-color: transparent;
    border: 1px solid var(--light-blue);
    box-shadow: 0 0 15px 0 var(--light-blue);
}


/* AGENDA */
#agenda .event-box,
#agenda .event-box-desc {
    border: 1px solid var(--light-blue);
}

#agenda .event-box > span {
    font-size: 13px;
    top: -10px;
    left: -125px;
}

#agenda .event-box-desc {
    border-radius: 55px;
}

.hours {
    margin-left: -125px;
}

.event-time {
    font-weight: 700;
    color: var(--light-blue);
}

.event-title h3 {
    color: var(--light-blue);
}

#day2 .event-box,
#day2 .event-box-desc {
    border: 1px solid var(--pink);
}

#day2 .event-time {
    color: var(--pink);
}

#day2 .event-title h3 {
    color: var(--pink);
}

.dba {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* DBA */
#dba {
    background-image: url("../images/new_page/images/dba/background.png");
    background-repeat: no-repeat;
    background-size: cover;
}

#dba .category,
#dba .jury,
#dba .iqs ,
#dba .awards, #dba .competition{
    padding: 100px 50px;
}

#dba .boxy {
    padding-top: 75px;
    display: grid;
    flex-wrap: wrap;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}


#dba .category-box {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    text-align: center;
    background: var(--ocean-blue);
    height: 300px;
    padding: 25%;
}

#dba .category-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../images/new_page/images/dba/frame.svg");
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.3;
    z-index: -1;
}

#dba .category-box h4,
#dba .jury-box h4,
#dba .jury-box span,
#dba .iqs h1, #dba .iqs p,
#dba .awards h1, #dba .awards p{
    color: #fff;
}

#dba .awards-img {
    height: 450px;
    width: 450px;
    border-radius: 50%;
    object-fit: cover;
    background-image: url("../images/new_page/images/dba/award.jpg");
    background-size: cover;
    background-position: top;
}

#dba .competition-box {
    background: var(--blue);
    border: 1px solid var(--light-blue);
}

#dba .competition-box h3 {
    text-transform: uppercase;
    color: var(--light-blue);
}

#dba .competition a {
    border: 1px solid #fff;
    color: #fff;
}

@media (max-width: 576px) {
    .reservation-box {
        border: none;
    }
}

@media (max-width: 768px) {
    .baner-heading {
        top: 75px !important;
    }

    .hours {
        margin-left: 0;
    }

    #agenda .event-box > span {
        font-size: 13px;
        top: -22px;
        left: 0;
    }

    #agenda .event-box {
        border-radius: 55px !important;
    }
}

@media (max-width: 992px) {

	#hybrid_masterclass{
		padding-top:0px !important;
	}

	#hybrid_masterclass .masterclass{
		height:300px;
	}
	
    #navigation nav {
        width: 100%;
        border: none !important;
    }

    .navbar-nav {
        border: none !important;
    }

    .navbar-toggler {
        z-index: 9999;
    }

    .menu {
        position: fixed;
        top: -100vh;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: linear-gradient(to bottom, #ff7a00, #e82d92);
        z-index: 100;
        transition: top 0.4s ease-in-out;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .menu.show {
        top: 0;
    }

    .navbar-collapse:not(.show) {
        display: none !important;
    }


    #agenda {
        padding-bottom: 50px;
    }

    .agenda-baner {
        margin: 0;
    }

    .special_baner {
        margin: 0;
    }

    .event-title {
        width: 100% !important;
    }
}

  .swal2-title{
	margin-bottom:20px;
		line-height:30px;
	   }
	   
	   .swal2-timer-progress-bar{
			height:7px;
			border-radius:3px;
			background: rgb(255,122,2);
            background: linear-gradient(90deg, rgba(255,122,2,1) 0%, rgba(237,61,115,1) 100%);
	   }
	   
	   .swal2-timer-progress-bar-container{
		background-color:#d6d6d6;
	   }
	   
	   .swal2-title{
		color:#333;
	   }
	   
	   
	    .form-control{
		    border: 1px solid rgba(0, 204, 255);
            height: 50px;
            margin-top: 5px;
	   }
	   
	   
	   .active-btn .btn{
		background-color:#eb5565;
		border-color:#eb5565 !important;
	   }



/* ANIMATED */
.btn-animated {
  position: relative;
  overflow: hidden;
  display: inline-block;
  padding: 8px 16px;
  width: auto;
  cursor: pointer;
  border: 1px solid transparent;
  background-color: transparent;
  color: white;
  font-weight: bold;
  border-radius: 9999px;
}

.btn-animated::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background-color: #e82d92;
  z-index: 0;
  transition: height 0.3s ease;
  border-radius: 9999px;
}

.btn-animated:hover::before {
  height: 100%;
}

.btn-content-wrapper {
  height: 35px;
  overflow: hidden;
  position: relative;
  display: inline-block;
  width: max-content;
}

.btn-content-container {
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease;
  height: 70px;
}

.btn-content {
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
}

.btn-animated:hover .btn-content-container {
  transform: translateY(-35px);
}

#prelegents button:hover,
#main_agenda button:hover,
#special_venue button:hover {
    border: 1px solid #fff;
}

.special_venue_see {
    position: absolute;
    bottom: 50px;
    z-index: 2;
}

#special_venue img {
    opacity: 1;
    z-index: 999;
}

.prelegent-box img {
  transform-origin: center center;
  animation: spiral-out 0.8s ease-out forwards;
}

.prelegent-box:hover img {
  animation: spiral-in 0.8s ease-out forwards;
}

@keyframes spiral-in {
  0% {
    transform: rotateZ(0deg) translateZ(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: rotateZ(45deg) translateZ(-100px) scale(0.8);
    opacity: 0.7;
  }
}

@keyframes spiral-out {
  0% {
    transform: rotateZ(45deg) translateZ(-100px) scale(0.8);
    opacity: 0.7;
  }
  25% {
    transform: rotateZ(45deg) translateZ(0) scale(1);
    opacity: 1;
  }
}

