@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    text-align: center;
    background: #cfefff;
}

#home {
    position: relative;
    min-height: 100vh;
    overflow: hidden;

    background: linear-gradient(to bottom, #87CEFA 0%, #cfefff 100%);
}
.screen {
    display: none;
    padding: 50px;
}

.active {
    display: block;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.buttons button{
  width: 160px;
  height: 64px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.15);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.buttons button:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.18);
}

.buttons button:active{
  transform: translateY(0px);
}

.aboutBtn{
  position: fixed;
  right: 40px;
  bottom: 40px;

  width: 150px;
  height: 45px;
  border-radius: 25px;
  border: 2px solid #000;

  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);

  cursor: pointer;
  z-index: 9999;
}

.aboutBtn:hover {
    transform: translateY(-3px);
}

#animation {
    height: 300px;
    margin-bottom: 20px;
    border: 2px solid #000;
    border-radius: 12px;
}

#home p {
    font-size: 25px;  
    font-weight: 500; 
    margin-top: 150px; 
}
#weather {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

#animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.info {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);

    width: 700px;
    max-width: 92%;
    max-height: 70vh;  

    padding: 30px;

    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    border-radius: 20px;

    box-shadow: 0 15px 40px rgba(0,0,0,0.25);

    overflow-y: auto; 
}

.backBtn {
    margin-top: 18px;

    width: auto;             
    min-width: 220px;         
    padding: 10px 20px;       

    height: auto;            

    border-radius: 20px;
    border: none;

    background: black;
    color: white;

    font-size: 14px;         
    cursor: pointer;

    transition: 0.2s ease;
}

.backBtn:hover {
    transform: translateY(-2px);
}

#home{
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #0b1d2a;
}

.home-bg{
    .home-bg{
  pointer-events: none;
  will-change: transform;
}
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.8), rgba(255,255,255,0) 40%),
              linear-gradient(180deg, #7ec0ff 0%, #cfe9ff 55%, #ffffff 100%);
  z-index: 0;
}

#home > *{
  position: relative;
  z-index: 1;
}

.cloud {
    .cloud{
  will-change: transform;
}
    position: absolute;
    width: 260px;
    height: 120px;
    background: radial-gradient(circle at 40% 40%, 
        rgba(255,255,255,0.9) 0%, 
        rgba(255,255,255,0.7) 40%, 
        rgba(255,255,255,0.4) 70%, 
        rgba(255,255,255,0.1) 100%);
    border-radius: 50%;
    filter: blur(8px);
    opacity: 0.8;
}

.c1{ top: 90px;  left: -280px; animation: moveCloud 40s linear infinite; }
.c2{ top: 190px; left: -320px; opacity: 0.85; animation: moveCloud 55s linear infinite; }
.c3{ top: 60px;  left: -350px; opacity: 0.75; animation: moveCloud 70s linear infinite; }
.c2 { scale: 0.85; }
.c3 { scale: 1.1; }

@keyframes moveCloud{
  from{ transform: translateX(0); }
  to{ transform: translateX(calc(100vw + 700px)); }
}
.aboutBtn{
  position: fixed !important;
  right: 40px !important;
  bottom: 40px !important;

  left: auto !important;    
  top: auto !important;      
  transform: none !important; 

  width: 150px;
  height: 45px;
  border-radius: 25px;
  border: 2px solid #000;

  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);

  cursor: pointer;
  z-index: 9999;
}

#about {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

    background: linear-gradient(to bottom, #8fd3ff, #cdeeff);
}

.aboutContent {
    width: 600px;
    max-width: 90%;
    padding: 40px;

    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    border-radius: 20px;

    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    text-align: center;
}

.contacts {
    margin-top: 30px;
    margin-bottom: 20px;
}

.contacts h3 {
    margin-bottom: 10px;
}

.contacts a {
    color: #003366;
    text-decoration: none;
    font-weight: 500;
}

.contacts a:hover {
    text-decoration: underline;
}

#about .backBtn {
    margin-top: 25px;
}

.progressPanel{
  width: 700px;
  max-width: 92%;
  margin: 30px auto 0;
  padding: 18px 22px;

  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  text-align: left;
}

.scoreLine{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 16px;
}

.progressBar{
  margin-top: 12px;
  height: 12px;
  background: rgba(0,0,0,0.12);
  border-radius: 999px;
  overflow: hidden;
}

.progressFill{
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: rgba(0,0,0,0.75);
  transition: width 0.3s ease;
}

.badge{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.12);
  font-weight: 600;
}
@media (max-width: 600px) {
  .screen { padding: 18px; }

  #home h1 { font-size: 22px; line-height: 1.2; }
  #home p  { font-size: 18px; margin-top: 90px; }

  .buttons { gap: 12px; margin-top: 28px; }
  .buttons button { width: 140px; height: 56px; }

  .progressPanel { margin-top: 16px; padding: 14px 16px; }
  .scoreLine { flex-direction: column; gap: 6px; }

  .aboutBtn { right: 16px; bottom: 16px; width: 130px; height: 42px; }

  .info { width: auto; max-width: 92%; bottom: 70px; padding: 16px; max-height: 62vh; }
  .info h2 { font-size: 18px; margin: 0 0 8px; }
  .info p  { font-size: 14px; }
  .backBtn { min-width: 180px; font-size: 13px; }
}