:root {
    --color1:#EF7A1B;
    --color2:#FC9C41;
    --color3:#FFBB77;
    --color4:#FFD4A6;
    --color5:#FFEDD5;
}

body{
    background-color: #fff7ed;
    font-family: "Font Awesome 6 Free";
}

.navbar{
    background-color: var(--color1);
}

#content{
    background-color: #fff7ed;
}

h1, h2, h3, h4, h5, h6, a{
    font-family: "Font Awesome 6 Free";
    color: var(--color1);
}

a.nav-link{
    color: black;
}

.register{
    margin-top: 3cm;
    background-color: var(--color1);
    border-color: var(--color1);
}

p, li{
    text-align: justify;
    text-justify: inter-word;
    font-family: "Font Awesome 6 Free";
    color: #666;
}

section{
    height: 100%;
    background-color: #FFF;
}

#carouselExampleControls{
    background-color: black;
}

#logo {
    height: 3cm;
}

#guide {
    width: 100%;
}

#map {
    width: 100%;
}
.carousel-caption {
    top: 7cm;
    bottom: auto;
}

.bg {
    opacity: 0.5;
}

.calendar-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

table{
    padding: 1px !important;
    width: 100%;
}

tr {
   height: 3em;
}

th, td {
    border: 1px solid #ddd;
    text-align: center;
    width: 12%;
    height: inherit;
}

th {
    background-color: var(--color4);
}

#vr {
background-image: url('virtual.jpeg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; /* This is the key property */
}

#pentest {
background-image: url('pentesting.jpeg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; /* This is the key property */
}

#imgSchool {
background-image: url('school.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; /* This is the key property */
}

#imgTu {
background-image: url('tu.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; /* This is the key property */
}

.programImageContainer {
  display: flex;
  justify-content: center;
  align-items: center;
}

.programImage {
    width: 90%;
}

.empty {
    background-color: #eeeeee;
    color: #800000;
}

.hour {
    background-color: #f0f0f0;
}

td[rowspan] {
    /* Set positioning context for the inner div */
    position: relative;
    /* Remove padding to ensure the div fills to the border */
    padding: 1px;
    /* The vertical-align property on the td is often necessary */
    vertical-align: top;
}

td[rowspan] > div {
    /* Position the div absolutely within its parent cell */
    position: absolute;
    /* Make the div fill 100% of the cell's calculated height and width */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Optional: Include padding/border in the 100% calculation */
    /*box-sizing: border-box;*/
    /* Add padding *inside* the div instead of on the td */
    /*padding: 10px; /* Example padding */
}

.event{
    background-color: var(--color3);
    width: 100%;
    height: 100%;
    text-align: center;
    border-radius: 3px;
    cursor: pointer;
    font-size: 8pt;
    /*justify-content: center;*/
}

.place{
    text-align: right;
}

.Lecture{
    background-color: #C19AB7
}

.Workshop {
    background-color: #9C95DC;
}

.Tour {
    background-color: #0B7189
}

.Panel {
    background-color: #F0F3BD;
}

.Other {
    background-color: #228CDB;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(32, 32, 32, 0.9);
    color: white;
    font-size: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    pointer-events: none; /* Prevent interaction with overlay */
}

#eventTime, #eventLocation{
    display: grid;
    justify-content: right;
}

#registerImg{
    background-image: url('register.jpeg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; /* This is the key property */
    height: 10cm;
}

#footer{
    height: 3cm;
    background-color: var(--color1);
}

.warning{
    color: red;
}
