@font-face {
    font-family: 'CustomFont';
    src: url('assets/font.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    font-family: 'CustomFont', sans-serif;
}






/* Styl loadera - pełnoekranowe tło */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7));
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 1s ease;
}

.loader-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url("assets/textbg.png");
  background-size: cover;
  background-position: center;
  z-index: -1;
  opacity: 1;
  transition: opacity 1s ease;
}


/* Styl animowanego spinnera */
.spinner {
  width: 50px;
  height: 50px;
  /* border: 6px solid #ccc;
  border-top-color: #333;
  border-radius: 50%; */
  animation: spin 1s linear infinite;
}

/* Animacja obrotu */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}










.header{
    min-height: 100vh;
    width: 100%;
    /* background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(assets/banner.png); */
    background-position: center;
    background-size: cover;
    position: relative;
}
.back-video{
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: -1;
    filter: brightness(65%);
    user-select: none;
}
@media (min-aspect-ratio: 16/9){
    .back-video{
        width: 100%;
        height: auto;
    }
}
@media (max-aspect-ratio: 16/9){
    .back-video{
        width: auto;
        height: 100%;
    }
}
nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}
nav img{
    width: 100px;
}
.nav-links{
    flex: 1;
    text-align: right;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 20px;
    position: relative;
}
.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 22px;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 1px;
    background: #fff;
    display: block;
    margin: auto;
    transition: 0.2s;
}
.nav-links ul li:hover::after{
    width: 100%;
}
.text-box{
    width: 100%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    overflow: hidden;
}
.text-box h1{
    font-size: 120px;
    color: #fff;
    user-select: none;
    transition: 0.5s;
    animation: ease-in-out;
}
.text-box h1:hover{
    transform: scale(1.05);
    transition: 0.5s;
    animation: ease-in-out;
}
.text-box h6{
    font-size: 25px;
    /*-webkit-text-stroke: 0.1px #fff;
    color: transparent; */
    color: #fff;
    padding-bottom: 40px;
    user-select: none;
}




.video-footer {
    position: absolute;
    bottom: 10px; /* Odstęp od dołu - reguluj tę wartość */
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2; /* Wyżej niż wideo (z-index: -1) */
}

.video-footer .copyright {
    color: #fff;
    font-size: 10px;
    display: inline-block;
    padding: 5px 15px;
    margin: 0;
    user-select: none;
}






.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 2px solid #fff;
    padding: 12px 34px;
    font-size: 18px;
    background: transparent;
    border-radius: 50px;
    position: relative;
    transition: 0.2s;
    animation: ease-in-out;
}


/* ... (twój obecny CSS) ... */

/* ... (twój obecny CSS) ... */


.hero-btn:hover {
    background: #0000001d;
    padding: 12px 38px;
}

nav .fa{
    display: none;
}
.logoleft{
    user-select: none;
    cursor: default;
}
@media(max-width: 700px){
    .text-box h1{
        font-size: 20px;
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: absolute;
        background: #adadad;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 0.5s;
    }
    nav .fa{
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 30px;
    }
}
.course{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
h1{
    font-size: 36px;
    font-weight: 600;
}
p{
    color: #000;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}
.row{
    margin: 5%;
    display: flex;
    justify-content: space-between;
}
.course-col{
    flex-basis: 31%;
    background: #8c8c8c;
    border-radius: 7px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}
h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}
.course-col:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}
@media(max-width: 700px){
    .row{
        flex-direction: column;
    }
}
.campus{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}
.campus-col{
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    transition: 0.5s
}
.campus-col:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.7);
}
.campus-col img{
    width: 100%;
    display: block;
}
.layer{
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
}
.layer:hover{
    background: rgba(242, 242, 242, 0.45);
}
.layer h3{
    width: 100%;
    font-weight: 500;
    color: #000;
    font-size: 26px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
}
.layer:hover h3{
    bottom: 49%;
    opacity: 1;
}
.facilities{
    width: 100%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}
.facilities-col{
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: center;
}
.facilities-col img{
    width: 100%;
    height: 57%;
    top: 0;
    flex-basis: 32%;
    border-radius: 10px;
}
.facilities-col h3{
    margin-top: 16px;
    margin-bottom: 16px;
    text-align: left;
}
.sub-header{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(assets/pokoje.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}
.sub-header h1{
    margin-top: 50px;
}
.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
}
.footer h4{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
}
.icons .fa{
    color: #000;
    margin: 0 13px;
    cursor: pointer;
    padding: 18px 0;
}














