/*
Theme Name: Interaktywni Event
Theme URI: https://inter-aktywni.pl
Description: Motyw Eventowy InteAktywni @Astra_Theme
Author: Sławek Nazaruk
Author URI: https://inter-aktywni.pl
Template: astra
Version: 1.0.0
*/


/* stylowanie wykladowców */
 
 /* style.css w motywie pochodnym */
@import url('https://fonts.googleapis.com/css2?family=DejaVu+Sans&display=swap');

body {
    font-family: 'DejaVu Sans', sans-serif;
}

 
 
 .wykladowcy-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.wykladowca {
    position: relative;
    text-align: center;
}

.wykladowca-image {
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background-size: cover;
    background-position: center;
    border-radius: 5%;
    box-shadow: 0 0 30px 0 rgba(236, 84, 24, .3);
    position: relative;
    overflow: hidden;
	 cursor: pointer;
}

.wykladowca-image:hover {
    filter: grayscale(100%);
}



.zobacz-biogram {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 10px;
    font-size: 0.9em;
    border-radius: 5px;
    cursor: pointer;
    display: none;
}

.wykladowca-image:hover .zobacz-biogram {
    display: block;
}

.wykladowca-info {
    margin-top: 10px;
}

.tytul-naukowy {
    font-size: 1em!important;
    margin-bottom: 0px!important;
}

.nazwa {
    font-size: 1.3em!important;
	font-weight: 700!important;
	line-height: 1.2!important;
}

/* Popup Styles */
.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: #fff;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
	margin-top:50px;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.biogram-content {
    margin-top: 20px;
    text-align: justify;
    font-size: 0.9em;
}

.popup-title {
    font-size: 1.5em;
    margin-bottom: 10px;
}


/* Responsiveness */
@media (max-width: 1024px) {
    .wykladowcy-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .wykladowcy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsiveness */
@media (max-width: 1024px) {
    .wykladowcy-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .wykladowcy-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Dodajemy nowe style dla wersji mobilnej */
@media (max-width: 480px) {
    .wykladowca {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .wykladowca-image {
        width: 50%; /* Ustawia szerokość na 50% kontenera */
        padding-top: 50%; /* Zachowanie proporcji 1:1 */
    }
}


.button-container {
    display: flex; /* Ustawia elastyczny model pudełkowy */
    justify-content: center; /* Wyśrodkowuje poziomo */
    align-items: center; /* Wyśrodkowuje pionowo */

}

.custom-button {
    background-color: #E30613; /* Ustawia czerwone tło */
    color: white; /* Ustawia biały kolor tekstu */
    border: none; /* Usuwa domyślną ramkę przycisku */
    padding: 10px 20px; /* Dodaje wewnętrzne odstępy w przycisku */
    text-transform: uppercase; /* Ustawia wszystkie litery na wielkie */
    font-weight: bold; /* Ustawia pogrubiony tekst */
    cursor: pointer; /* Ustawia kursor w postaci ręki po najechaniu */
    font-family: 'Noto Sans', sans-serif; /* Ustawia czcionkę Arial lub inną bezszeryfową */
    transform: skew(-10deg); /* Pochyla przycisk w lewo */
}

.custom-button:hover {
    background-color: #C00000; /* Zmienia kolor tła po najechaniu */
}


.miejsce {
    font-size: 0.8em!important; /* Ustawienie mniejszej czcionki */
    color: #fc644e!important; /* Ustawienie koloru tekstu */
    margin-top: 5px; /* Mały odstęp od nazwiska */
	font-weight: 500!important;
}


/* STYLE DLA CERTYFIKATÓW */

.certificate-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    
    margin: 0 auto;
}

.certificate-form label {
    margin-bottom: 10px;
}

.certificate-form input[type="text"] {
    margin-bottom: 20px;
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

.certificate-form button {
    padding: 10px 20px;
}

