* {
    box-sizing: border-box;
}

body {
    margin: 0;
    width: 100vw;
    overflow-x: hidden;
}

/*------------------------------------*/
/*hlavne menu*/
ul {
    position: sticky;
    top: 0;
    background-color: #303030;
    text-align: center;
    margin: 0;
}

ul li {
    display: inline-block;
}

ul li a {
    height: 38px;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
    color: #fefefe;
    padding: 10px 20px;
}

ul li a:hover {
    background-color: #717070;
}

/*dropdownMenu*/
.dropdown {
    position: relative;
    display: inline-block;
}

.dropItem {
    display: inline-block;
    cursor: pointer;
}

.dropdownContent {
    text-align: left;
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgb(0, 0, 0);
}

.dropdownContent a {
    color: black;
    padding: 10px;
    text-decoration: none;
    display: block;
}

.dropdownContent a:hover {
    background-color: #ddd;
}
/*zobrazenie dropdown menu*/
.dropdown:hover .dropdownContent {
    display: block;
}
/*------------------------------------*/

.active {
    background-color: #717070;
}

.signoutMenuItem {
    background-color: #fc3b3b;
}
.redirect-lms {
    background-color: cadetblue;
}
/*responzívne menu*/
@media screen and (max-width: 414px) {
    ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-inline-start: 0;
    }

    ul li {
        display: flex;
        flex-direction: row;
    }

    .dropdownContent {
        position: relative;
        width: 111vw;
        text-align: center;
    }

    img {
        visibility: hidden;
    }

    ul li a:hover {
        width: 111vw;
    }

    .signoutMenuItem {
        margin: auto;
    }
}

/*------------------------------------*/

/*logo*/
.logo {
    position: relative;
    width: fit-content;
    margin: 10px auto;
}

.logo a {
    text-decoration: none;
    color: rgb(19, 0, 97);
}

.squares {
    position: absolute;
    top: 6px;
}

.logoSquare1 {
    width: 40px;
    height: 40px;
    border: 4px solid rgb(202, 22, 22);
    position: absolute;
    right: 10px;
    z-index: 3;
}

.logoSquare2 {
    width: 40px;
    height: 40px;
    border: 4px solid rgb(9, 129, 9);
    position: absolute;
    right: 0;
    z-index: 0;
}

.logoSquare3 {
    width: 40px;
    height: 40px;
    border: 4px solid rgb(204, 132, 24);
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 1;
}

.logoSquare4 {
    width: 40px;
    height: 40px;
    border: 4px solid rgb(31, 21, 161);
    position: absolute;
    right: 0;
    top: 10px;
    z-index: 2;
}

/*animacia loga
.logo {
  animation-name: logo;
  animation-duration: 1s;
  animation-iteration-count: 1;
}

@keyframes logo {
  0% {
    scale: 0.1;
  }
}

.logoSquare1 {
  animation-name: redSquare;
  animation-duration: 2s;
  animation-iteration-count: 2;
}

@keyframes redSquare {
  0% {
    transform: rotate(0deg);
    background-color: rgb(224, 6, 6);
  }
  50% {
    transform: rotate(-180deg);
    background-color: rgb(224, 6, 6);
  }
}

.logoSquare2 {
  animation-name: greenSquare;
  animation-duration: 2s;
  animation-iteration-count: 2;
}

@keyframes greenSquare {
  0% {
    transform: rotate(0deg);
    background-color: rgb(7, 243, 66);
  }
  50% {
    transform: rotate(180deg);
    background-color: rgb(7, 243, 66);
  }
}

.logoSquare3 {
  animation-name: yellowSquare;
  animation-duration: 2s;
  animation-iteration-count: 2;
}

@keyframes yellowSquare {
  0% {
    transform: rotate(0deg);
    background-color: rgb(253, 187, 5);
  }
  50% {
    transform: rotate(180deg);
    background-color: rgb(253, 187, 5);
  }
}

.logoSquare4 {
  animation-name: blueSquare;
  animation-duration: 2s;
  animation-iteration-count: 2;
}

@keyframes blueSquare {
  0% {
    transform: rotate(0deg);
    background-color: rgb(4, 18, 221);
  }
  50% {
    transform: rotate(-180deg);
    background-color: rgb(4, 18, 221);
  }
}*/
