:root{
    --blue: #283c3b;
    --red: #c24536;
    --darkred: #763026;
    --dark-color: var(--black);
    --secondary-dark-color: var(--black);
    --med-color: var(--black);
    --secondary-light-color: #eeddd5;
    --white : #f5f5f5;
    --black : #111111;
}

@font-face {
    font-family: 'paper';
    src: url(fonts/demibold.ttf);
}
@font-face {
    font-family: 'cursive';
    src: url(fonts/cursive.ttf);
}

::-webkit-scrollbar{
width: 0px; 
}



  @keyframes slide-in {
    from {
      transform: translateX(100%);
    }
    to {
      transform: translateX(0%);
    }
  }



@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.5px);
  }
}










body {
    margin: 0;
    padding: 0;
    font-family: 'paper', sans-serif;
    background-color: var(--white);
    color: var(--dark-color);
    overflow-x: hidden;
    scrollbar-width: none;
}





header h1 a {
    text-decoration: none;
    color: var(--dark-color);
    cursor: pointer;
    z-index: 3;
}
header h1 a:hover{
    text-decoration: none;
    font-style: normal;
    color: var(--dark-color);
}

#logo {
    width: 50%;
    height: auto;
    position: relative;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: -20px;
    z-index: 10000000;
}
@media screen and (max-width: 768px) {
    #logo {
        width: 90%;
    }
}



img{
    width: 100%;
}

#icons {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
}

#icons img {
    width: 5vw;
    height: 5vw;
    margin: 5px;
    transition: transform 0.3s;
}
#icons img:hover {
    transform: scale(1.2) ;
    border-bottom: var(--dark-color) 1px solid;
}


#sidebar-icons {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    padding: 0px;
    margin: 0px;
}
#sidebar-icons a {
    gap: 10px;
    margin-left: -10px;
    display: flex;
    flex-direction: row;
    align-items: center;
}
#sidebar-icons a img{
    width: 30px;
    height: 30px;
}
#sidebar-icons a p{
    font-size: 16px;
}


@media screen and (max-width: 768px) {
    #icons {
        display: none;
    }
}

#tab {
    position: fixed;
    font-size: 2vw;
    right: 0;
    top: 10px;
    background-color: var(--dark-color);
    color: var(--white);
    padding: 10px;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    font-family: 'cursive', sans-serif;
    z-index: 2;
    animation: slide-in 1000ms;
}

#tab:hover{
    text-decoration: underline;
    text-decoration-color: var(--white);
    color: var(--secondary-light-color);
    transition: color 0.25s ease-in-out;
}

@media screen and (max-width: 768px) {
    #tab {
        display: none;
    }
}

header {
    background-color: var(--white);
    border-color: var(--dark-color);
    color: var(--dark-color);
    font-family: 'cursive', sans-serif;
    text-align: center;
}

header h1 {
    font-size: 50px;
    margin-top: 30px;
    margin-bottom: 0px;
}

nav {
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
    background-color: var(--white);
    border-top: solid 2px var(--secondary-dark-color); 
    border-bottom: solid 2px var(--secondary-dark-color);
    border-left: none;
    border-right: none;
    color: var(--secondary-dark-color);
    margin-bottom: 5px;
    font-size: 20px;
}

nav span {
    cursor: pointer;
}

nav span:hover {
    color: var(--med-color);
    font-style: italic;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-evenly;
    width: 100%;
}
nav li {
    display: inline;
}
nav a {
    color: var(--dark-color);
    text-decoration: none;
    margin: 0;
}

a:hover{
font-style: italic;
color: var(--secondary-dark-color);
}

.active {
    color: var(--red) !important;
}


.navbar a:hover {
  background-color: var(--med-color);
  color: var(--white);
}




i {
    display: inline-block;
    color: var(--white);
}
i:hover{
    animation: bounce 0.3s ease-out;
    animation-fill-mode: none;
}





a {
    color: inherit;
    display: inline-block;
}
a:hover{
    animation: bounce 0.3s ease-out;
    animation-fill-mode: none;
}



footer {
    background-color: var(--secondary-dark-color);
    color: var(--white);
    text-align: center;
    margin-top: 20px;
    position: relative;
    left: 0;
    bottom: -10px;
    width: 100%;
    padding: 10px 0;
    padding-bottom: 10px;
}

footer a:hover {
    color: var(--white);
}