/* General body styles */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e0f7fa; /* Light cyan background */
    color: #000000; /* Default text color */
}

/* Header styles */
.header {
    background-color: #00796b; /* Teal background */
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.header img {
    width: 32px;
    height: 32px;
    cursor: pointer;
}

.header button {
    background-color: white;
    color: #00796b;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
    margin-left: 10px;
}

.header button:hover {
    background-color: #004d40; /* Darker teal for hover */
    color: white;
}

/* Container styles */
.container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

/* Sidebar styles */
.sidebar-left {
    background-color: #004d40; /* Darker teal */
    padding: 20px;
    width: 200px;
    height: 100vh; /* Full height */
    overflow-y: auto;
    color: white;
}

.sidebar-right {
    background-color: #b2dfdb; /* Light teal */
    padding: 20px;
    width: 200px;
    height: 100vh; /* Full height */
}

/* Main content styles */
.main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    padding: 20px;
}

.central-box {
    border: 2px solid #00796b; /* Teal border */
    padding: 40px;
    width: 400px;
    height: 300px;
    text-align: center;
    background-color: #ffffff; /* White background */
    font-size: 24px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1); /* Subtle shadow */
}

/* Arrow button styles */
.arrow {
    background-color: #00796b; /* Teal background */
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    margin: 0 10px;
}

.arrow:hover {
    background-color: #004d40; /* Darker teal on hover */
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4); /* Semi-transparent background */
}

.modal-content {
    background-color: #ffffff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2); /* Subtle shadow */
}

.modal-content h2 {
    margin-top: 0;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal form {
    display: flex;
    flex-direction: column;
}

.modal form label {
    margin-top: 10px;
}

.modal form input,
.modal form textarea,
.modal form select {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.modal form button {
    margin-top: 20px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.modal form button[type="submit"] {
    background-color: #00796b; /* Teal background */
    color: white;
}

.modal form button[type="submit"]:hover {
    background-color: #004d40; /* Darker teal on hover */
}

.modal form button[type="button"] {
    background-color: #f44336; /* Red background */
    color: white;
}

.modal form button[type="button"]:hover {
    background-color: #c62828; /* Darker red on hover */
}
 /* Animācijas definīcijas */
        .fade-out {
            opacity: 0;
            transition: opacity 0.5s ease-out;
        }

        .fade-in {
            opacity: 1;
            transition: opacity 0.5s ease-in;
        }

        /* Modālā loga parādīšanas animācija */
        @keyframes slide-down {
            from {
                transform: translateY(-100%);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .modal-content {
            animation: slide-down 0.5s ease-out;
        }

        /* Pārslēdzot sadaļas, pāreja (fading efektam) */
        .hidden {
            display: none;
        }/* Skrejošā teksta stils */
.marquee {
    width: 100%;
    overflow: hidden;
    background-color: #e0f7fa;
    color: #000;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    text-align: center;
}

.marquee p {
    display: inline-block;
    white-space: nowrap;
    font-size: 20px;
    animation: marquee 100s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}
/* Glowing teksts */
.glowing-news {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    margin-top: 20px;
    cursor: pointer;
    animation: glow 1.5s infinite alternate;
}

/* Mirdzošs efekts */
@keyframes glow {
    0% {
        text-shadow: 0 0 10px #00e6e6, 0 0 20px #00e6e6, 0 0 30px #00e6e6, 0 0 40px #00ffff;
    }
    100% {
        text-shadow: 0 0 20px #00ffff, 0 0 30px #00ffff, 0 0 40px #00ffff, 0 0 50px #00ffff;
    }
}

/* Slēptā projekta bloka stils */
#newsBlock {
    background-color: #f1f1f1;
    padding: 10px;
    margin-top: 10px;
    border-radius: 8px;
    animation: slide-down 0.5s ease-out;
}

.hidden {
    display: none;
}

/* Projekta bloka atvēršanās animācija */
@keyframes slide-down {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
/* Info poga sākotnējā stāvoklī */
#infoBtn {
    position: absolute;
    bottom: 350px; /* Attālums no lapas apakšas */
    left: 140px; /* Attālums no kreisās malas */
    padding: 20px 30px;
    background-color: #4CAF50;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    animation: pulse 2s infinite; /* Poga pulsē ik pēc 2 sekundēm */
    
    /* Pārejas definēšana */
    transition: all 0.5s ease; /* Visi stili mainās 0.5 sekundēs ar vieglu pāreju */
}

/* Jaunais stāvoklis, kad uzspiež uz pogas */
#infoBtn.clicked {
    background-color: #388E3C; /* Fona krāsa kļūst tumšāka */
    padding: 25px 35px; /* Poga palielinās */
    transform: translateY(-10px); /* Poga paceļas nedaudz augstāk */
    animation: none; /* Pārtrauc pulsējošo animāciju */
}


/* Lai pogas hover efekts izskatās labāk */
#infoBtn:hover {
    background-color: #45a049;
}
@keyframes pulse {
    0% {
        transform: translateX(-50%) scale(1);
        background-color: #4CAF50;
    }
    50% {
        transform: translateX(-50%) scale(1.1); /* Palielinās par 10% */
        background-color: #45a049; /* Maina fona krāsu */
    }
    100% {
        transform: translateX(-50%) scale(1);
        background-color: #4CAF50;
    }
}
        /* Animācijas definīcijas */
        .fade-out {
            opacity: 0;
            transition: opacity 0.5s ease-out;
        }

        .fade-in {
            opacity: 1;
            transition: opacity 0.5s ease-in;
        }

        /* Modālā loga parādīšanas animācija */
        @keyframes slide-down {
            from {
                transform: translateY(-100%);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        .modal-content {
            animation: slide-down 0.5s ease-out;
        }

        /* Pārslēdzot sadaļas, pāreja (fading efektam) */
        .hidden {
            display: none;
			
		
		}
	
	.main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    padding: 20px;
}

    #content-box {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 50%; /* Aizpilda visu platumu */
        height: 50%; /* Aizpilda visu augstumu */
    }

    #content-box img {
        width: 110%;
        height: 115%;
        object-fit: cover; /* Attēls pielāgojas konteinera izmēram, nezaudējot proporcijas */
    }

