@import url('https://fonts.googleapis.com/css2?family=PT+Mono&display=swap');

:root{
    --base-color: #FFFFFF;
    --text-color: #000000;
    --accent-color: #808080;
}

.darkmode{
    --base-color: #232C33;
    --text-color: #5A7D7C;
    --accent-color: #596475;
}

*{
    margin: 0;
    padding: 0;
    font-family: 'PT Mono';
}

body{
    background-color: var(--base-color);
    transition: background-color 0.4s ease, color 0.4s ease, opacity 0.6s ease;
    opacity: 0;
  
}


body.fade-in{
    opacity: 1;
}


body.fade-out{
    opacity: 0;
}




.clutter{
    font-size: 1.5rem;
    text-align: center;
    margin-top: 167px;
    color: var(--text-color);
}

a{
    color: var(--text-color);
    text-decoration: none;
}

header{
    display: flex;
    align-items: center;
    list-style-type: none;
    height: 65px;
    background-color: var(--base-color);
    color: var(--text-color);
    justify-content: space-between;
    padding: 20px 50px;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.email li{
    list-style: none;
    display: inline-block;
    margin: 20px;
}
    
.email li a{
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.67rem;
}

.title{
    font-size: 1.67rem;
    color: var(--text-color);
}

.i{
    font-size: 1.6rem;
    color: var(--text-color);
    animation: flicker 1.5s infinite alternate;
    padding: 20px;
}

@keyframes flicker {
      0%   { opacity: 1; }
      50%  { opacity: 0.4; }
      100% { opacity: 1; }
}

.o{
    color: var(--base-color);
    transition: color 0.4s ease, color 0.4s ease;
    position: fixed;
    bottom: 0px;
    font-size: 5px;
}

#theme-switch {
  height: 50px;
  width: 50px;
  padding: 0;
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  background-color: var(--base-color);
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom: 20px;
  right: 20px;
  transition: background-color 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
  overflow: hidden; 
}

#theme-switch:active {
  box-shadow: 0 0 15px var(--accent-color), 0 0 30px var(--accent-color);
  transform: scale(0.95);
  transition: var(--text-color) 0.4s ease
}

#theme-switch .icon {
  position: absolute;
  fill: var(--text-color);
  transition: transform 0.6s ease, opacity 0.4s ease;
}

#theme-switch .sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

#theme-switch .moon {
  opacity: 0;
  transform: rotate(-180deg) scale(0.5);
}

.darkmode #theme-switch .sun {
  opacity: 0;
  transform: rotate(180deg) scale(0.5);
}

.darkmode #theme-switch .moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.a{
  font-size: 1.8rem;
  align-items: center;
  color: var(--text-color);
  justify-content: center;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.mhm{
  text-align: center;
  color: var(--accent-color);
  position: absolute;
  top: 98%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.random{
  font-size: 1.6rem;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  color: var(--text-color);
} 

.privacy-policy{
  color: var(--accent-color);
}

.cookie-popup {
  position: fixed;
  bottom: -120px;
  left: 0;
  width: 100%;
  background: var(--base-color);
  background-color: var(--base-color);
  color: var(--text-color);
  text-align: center;
  padding: 15px;
  border-top: 1px solid var(--accent-color);
  font-size: 0.9rem;
  z-index: 9999;
  transition: bottom 0.6s ease-in-out, 
              background-color 0.4s ease, 
              color 0.4s ease, 
              border-color 0.4s ease;
}

.cookie-popup.show {
  bottom: 0; 
}

.cookie-popup p {
  margin: 0;
}

.cookie-popup button {
  margin-left: 10px;
  padding: 6px 14px;
  border: none;
  border-radius: 8px;
  background: var(--text-color);
  color: var(--base-color);
  cursor: pointer;
  transition: background 0.3s ease, 
              transform 0.2s ease,
              color 0.4s ease;
}

.cookie-popup button:hover {
  background: var(--text-color);
  transform: scale(1.05);
}

.zucc{
  width: 400px;
  height: 400px;
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translate(-50%, -50%);
} 

/*Mobile*/
@media (max-width: 600px) {
header {
  flex-direction: column;
  height: auto;
  padding: 10px;
  text-align: center;
}

.title {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.email li {
  margin: 10px 0;
  display: block;
}

.email li a {
  font-size: 0.7rem;
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);

}

.clutter {
  font-size: 1rem;
  margin-top: 100px;
  padding: 0 60px;
}

center {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0;
}

.i {
  font-size: 1rem;
  display: block;
  padding: 10px 0;
}

.links{
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}


#theme-switch {
  height: 40px;
  width: 40px;
  bottom: 10px;
  right: 10px;
}

.mhm {
  font-size: 0.5rem;
  top: auto;
  bottom: 5px;
  position: fixed;
}
}

.a{
  font-size: 1rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  font-size: 1rem;
  margin-top: 50px;
  padding: 0 60px;
  
}

.cookie-popup{
  font-size: 0.7rem;
  position: fixed;
  left: -10px;
}

.cookie-popup button {
  margin-top:  12px;
  margin-left: 10px;
  padding: 6px 14px;
  border: none;
  border-radius: 8px;
  background: var(--text-color);
  color: var(--base-color);
  cursor: pointer;
  transition: background 0.3s ease, 
              transform 0.2s ease,
              color 0.4s ease;
}

.cookie-popup button:hover {
  background: var(--text-color);
  transform: scale(1.05);
}


.random{
  font-size: 0.8rem;  
}

/*tablet*/

@media (min-width: 601px) and (max-width: 1024px) {

header {
  flex-direction: column;
  height: auto;
  padding: 10px;
  text-align: center;
  }

.title {
  font-size: 2rem;
  margin-bottom: 10px;
  }

.email li {
  margin: 10px 0;
   display: block;
  }

.email li a {
  font-size: 1.2rem;
  position: absolute;
  top: 93.5%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);

}

.clutter {
  font-size: 1.6rem;
  margin-top: 160px;
  padding: 0 60px;
}

center {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0;
}

  .i {
  font-size: 1.6rem;
  display: block;
  padding: 10px 0;
}

.links{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}


#theme-switch {
  height: 50px;
  width: 50px;
  bottom: 10px;
  right: 10px;
}

.mhm {
  font-size: 1rem;
  top: auto;
  bottom: 5px;
  position: fixed;
 }
}

.a{
  font-size: 1.67rem;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  
}


/*pc*/


@media (min-width: 1025px) {
.clutter {
  font-size: 1.5rem;
  margin-left: 30px;
  margin-right: 30px;
}

.title {
  font-size: 1.67rem;
  }

.email li a {
  font-size: 1.5rem;
  }

.i {
  font-size: 1.6rem;
  }
}

.cookie-popup {
  position: fixed;
  bottom: -120px;
  left: 0;
  width: 100%;
  background: var(--base-color);
  background-color: var(--base-color);
  color: var(--text-color);
  text-align: center;
  padding: 15px;
  border-top: 1px solid var(--accent-color);
  font-size: 1.2rem;
  z-index: 9999;
  transition: bottom 0.6s ease-in-out, 
              background-color 0.4s ease, 
              color 0.4s ease, 
              border-color 0.4s ease;
}

.cookie-popup.show {
  bottom: 0; 
}

.cookie-popup p {
  margin: 0;
}

.cookie-popup button {
  margin-left: 10px;
  padding: 6px 14px;
  border: none;
  border-radius: 8px;
  background: var(--text-color);
  color: var(--base-color);
  cursor: pointer;
  transition: background 0.3s ease, 
              transform 0.2s ease,
              color 0.4s ease;
}

.cookie-popup button:hover {
  background: var(--text-color);
  transform: scale(1.05);
}

.random{
  font-size: 1.6rem;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  color: var(--text-color);
} 