/* styles.css */
.info-icon {
	position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 19px;
    text-align: center;
    border-radius: 50%;
    background-color: #4e4e4e;
    color: #242424;
    cursor: pointer;
    margin: 5px;
    z-index: 1000;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.modal_info {
    display: none;
    position: fixed;
    z-index: 2;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0 0 0 / 95%);
}

.modal_info-content {
	font-weight: 400;
    background-color: #161616;
    margin: 40% auto;
    padding: 20px;
    border-radius: 6px;
    width: 80%;
    max-width: 600px;
    max-height: 80%;
    overflow: auto;
    margin-top: 0;
    top: 50%;
    transform: translateY(-50%);
    position: relative;
    color: white;
    z-index: 1010;
}

.modal_info-close {
    color: #f49b00;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: sticky;
    top: 0;
    right: 0;
    line-height: 0.2rem;
}

.modal_info-close:hover,
.modal_info-close:focus {
    color: black;
    text-decoration: none;
}

@media (max-width: 768px) {
    .info-icon {
    	width: 15px;
    	height: 15px;
    	line-height: 15px;
  }
    
}

/* Stylizacja modala opis */
/* Stylizacja modala pełnoekranowego */
.opis-fullscreen-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgb(22 22 22);
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.opis-fullscreen-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 7rem;
}

.opis-fullscreen-modal-body {
    display: flex;
    width: 100%;
    height: 100%;
    background: #161616;
    padding: 6rem 5rem;
    overflow-y: auto;
    color: white;
    justify-content: center;
}

.opis-fullscreen-text-content {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 600px;
}

/* Stylizacja dozwolonych znaczników HTML */
.opis-fullscreen-text-content h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #f49b00; /* Kolor dla nagłówków */
}

.opis-fullscreen-text-content p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #ffffff; /* Kolor dla paragrafów */
}

.opis-navigation-container {
    position: absolute;
    top: 2%;
    right: 5%;
    display: flex;
    gap: 20px;
}

.opis-close-fullscreen-modal {
    background: none;
    border: none;
    cursor: pointer;
}

.opis-close-fullscreen-modal img {
    width: 40px;
    height: 40px;
}

/* Responsywność */
@media (max-width: 768px) {
    .opis-fullscreen-modal-body {
    	padding: 4rem 2rem;
    	
	}

    .opis-fullscreen-text-content {
        font-size: 1rem;
    }

    .opis-fullscreen-text-content h1 {
        font-size: 1.5rem;
    }

    .opis-fullscreen-text-content p {
        font-size: 0.9rem;
    }

    .opis-close-fullscreen-modal img {
        width: 30px;
        height: 30px;
    }
    
}