body {
    background: hsla(264, 100%, 50%, 1);
    background: linear-gradient(90deg, hsla(264, 100%, 50%, 1) 0%, hsla(275, 100%, 72%, 1) 100%);
    background: -moz-linear-gradient(90deg, hsla(264, 100%, 50%, 1) 0%, hsla(275, 100%, 72%, 1) 100%);
    background: -webkit-linear-gradient(90deg, hsla(264, 100%, 50%, 1) 0%, hsla(275, 100%, 72%, 1) 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;

}
.content{
    animation: fadeIn 1.3s ease-out forwards;
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#6600FF", endColorstr="#C36EFF", GradientType=1 );
}
.title {
    text-align: center;
    font-weight: bold;
    font-size: 32px;
    font-family: Arial, Helvetica, sans-serif;
}

.site-logo {
    display: block;
    width: 100vw;
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    object-position: bottom right;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;           
    box-sizing: border-box; 
    z-index: 1000;         
    animation: fadeIn 1.3s ease-out forwards;
    background-color: rgb(115, 80, 142);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-text {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    font-family: monospace;
}

nav a {
    color: #e0aaff;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
}

nav a:hover {
    color: #fff;
}

.info {
  max-width: 60%;
  margin-inline: auto;
  border:none;
  padding: 20px;
  overflow: auto;
  margin-bottom: 20px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 12px
}

.info-image {
    max-width:  30%;
    max-height: 20%;
    float: left;          
  margin-right: 20px;   
  margin-bottom: 10px;  
}
.info p:first-child{
    text-align: center;
    font-size: 30px;
    color: white;
    font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

.info-text{
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    font-weight: bold;
}

.float-left{
    float: right
}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px); 
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.theme-text {

    text-align: center;
    font-size: 30px;
    color: white
}
    
main > *:first-child{
    padding-top: 80px;
    margin-top: 0  !important;
}

header {
    animation: fadeInUp 1.2s ease-out forwards;
}

main > .first-block {
    animation: fadeInUp 1.2s ease-out 0.2s forwards;
}


.scroll-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}


.scroll-show {
    opacity: 1;
    transform: translateY(0);
}


.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px 0;
    width: 60%;
    box-sizing: border-box;
    margin-inline: auto;
}


.gallery-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}


.gallery-item:hover {
    transform: translateY(-5px);
    border-color: rgba(115, 80, 142, 0.8);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}


.gallery-item:hover img {
    transform: scale(1.05);
}


dialog.modal {
    border: none;
    background: transparent;
    padding: 0;
    max-width: 90vw;
    max-height: 85vh;
    outline: none;
}

dialog.modal::backdrop {
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.modal-content {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: block;
}

.modal-close {
    position: fixed;
    top: 20px;
    right: 30px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #ffffff;
    font-size: 35px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10000;
}

.modal-close:hover {
    background: #a1128e;
}

.gallery-item img, 
.zoomable {
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    will-change: transform;
}


.gallery-item img:hover, 
.zoomable:hover {
    transform: scale(1.03); 
}

.modal-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #ffffff;
    font-size: 28px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10000;
}

.modal-prev {
    left: 30px;
}

.modal-next {
    right: 30px;
}

.modal-nav:hover {
    background: #a1128e;
}

.arg-enter:link {
      color: #5d6164; /* Blue */
    }