@font-face {
  font-family: 'InterVariable';
  src: url('./fonts/InterVariable.woff2') format('woff2');
  font-weight: 1 1000;
  font-style: normal;
  font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f5f5f5;
    background-size: cover;
    background-position: center;
    font-family: 'InterVariable', 'Arial', sans-serif;
    color: #0B1215;
    padding: 10px;
}

.content {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.content-wrapper {
    flex-grow: 1;
    display:flex;
    flex-direction: column;
}
.menu {
    display:flex;
}

.menu ul{
    list-style-type: none;
    margin: 0;
    padding: 10px 0 0 10px;
    width: 140px
}

.top-bar {
    display:flex;
    justify-content: space-between;
}

.logo {
    width: fit-content;
}

.logo img{
    height: 125px;
}

.weather {
    display: flex;
    justify-content: space-around;
    flex-direction: column;
}

.weather-bar {
    height: 128px;
    display: flex;
    align-content: space-between;
}

.weather-box {
    display: flex;
    width: 125px;
    height: 100%;
    padding: 0 0 0 20px;
    color: #1d1d1d;
    text-align: left;
}

.weather-box .city-name {
    flex: .5;
    font-size: .8rem;
    width:100%;
    font-weight: 700;
}

.weather-box .temperature {
    flex: 1.1;
    width: 100%;
    font-weight: 700;
    font-size: 2.5rem;
}


.weather-box .description {
    flex: 1;
    width: 100%;
    font-size: 1rem;
    font-weight: 500;
}

.footer {
    justify-self:flex-end;
    max-width: 100%;
    font-size: 28vw;
    font-weight: 900;
}

.weather-slideshow {
    display: none;
}

.thorple-link {
    height: 100%;
    font-size: 2rem;
    font-weight: 700;
}

/* Switch container */
.professional {
    display: flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.switch {
    position: relative;
    padding:10px;
    width: 60px;
    height: 34px;
  }
  
  /* Hide default checkbox */
  .toggle-checkbox {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .toggle-label {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
  }
  
  /* Circle inside the switch */
  .toggle-label::before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: #f5f5f5;
    transition: 0.4s;
    border-radius: 50%;
  }
  
  /* When checked */
  .toggle-checkbox:checked + .toggle-label {
    background-color: cornflowerblue;
  }
  
  /* Circle moves when checked */
  .toggle-checkbox:checked + .toggle-label::before {
    transform: translateX(26px);
  }

  .professional-text {
    padding-bottom: 10px;
    font-weight:300;
    text-align:center;
  }

  .professional-content {
    align-items:center;
    flex-direction: column;
    text-align: left;
    font-family:sans-serif;
    padding:20px;
  }

  .professional-content p {
    max-width:700px;
    font-size: 1rem;
    font-weight: 500;
    text-align: justify;
    padding: 15px 0 15px 0;
  }

  .professional-content h1 {
    font-size: 3rem;
    font-weight: 700;
  }


  .hide {
    display: none;
}

.invisible {
    visibility: hidden;
}

/* Wordle Game */

.game{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    height: 100%;
    min-height: 400px;
}

.game h1 {
    font-size: 3rem;
    font-weight: 700;
}

.game p {
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
}

.user-input {
    text-align:center;
    font-size: 2rem;
}

.feedback {
    font-weight: bold;
    font-size: 2rem;
    display: inline-flex;
    padding: 0 5px;
}

.feedback.correct {
    background-color: rgb(136, 255, 152);
}

.feedback.wrong-position {
    background-color: rgb(240, 195, 110);
}

.feedback.incorrect {
    background-color: rgb(255, 139, 139);
}

#result,
#lastGuess {
    margin-top: 10px;
}

#againBtn {
    margin-left:45%;
}

.top-container {
    flex:1;
    margin-bottom: 20px;
    min-height: 250px;
    max-height: 300px;
    max-width:700px;
    display:flex;
    justify-content:space-evenly;
}

.top-text {
    flex:1;
    min-width:350px;
}

.headshot {
    display: flex;
    justify-content: center;
    height: 250px;
    object-fit:cover;
    overflow:hidden;
}

.headshot img{
    padding:15px;
    height: 250px;
    width: 250px;
    overflow:hidden;
    border-radius:50%;
    background-color: cornflowerblue;
}



@media (max-width: 820px) {
    .weather-bar {
        display: none;
        height: 100px;
    }

    .logo img {
        height: 100px;
        
    }

    .nav {
        display: none;
    }

    .menu > * {
        display: none;
    }

    .weather-slideshow {
        display:flex;
        flex-direction: column;
        justify-content: space-evenly;
        height: 100%;
    } 

    .weather-box {
        width: 100px;
        height: 100px;
        margin-right:30px;
        color: #0B1215;
        text-align: left;
    }
    
    .weather {
        display: flex;
        width:100px;
        margin-right: 30px;
        justify-content: space-evenly;
        flex-direction: column;
    }

    .weather-box .city-name {
        flex: 1;
        width: 100%;
        font-size: 1rem;
        font-weight: 700;
    }
    
    .weather-box .temperature {
        flex:1;
        width: 100%;
        font-size: 2rem;
        font-weight: 700;
    }
    
    
    .weather-box .description {
        flex: 1;
        width: 100%;
        font-size: 1rem;
        font-weight: 500;
    }

    .professional-text {
        font-size: 1.2rem;
        text-align:center;
    }

    .professional-content {
        width:100%;
    }

    .professional-content p {
        width:100%;
        font-size: 1rem;
        font-weight: 500;
      }

    .game{
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        height: 100%;
        width: auto;
        min-height: 800px;
    }
    
    .game h1 {
        font-size: 4rem;
        font-weight: 700;
    }
    
    .game p {
        font-size: 3rem;
        font-weight: 500;
        text-align: center;
    }
    
    .user-input {
        text-align:center;
        font-size: 3rem;
        width: 600px;
    }
    
    .user-input input {
        font-size: 3rem;
        width: 100px;
        text-align: center;
    }

    .top-container {
        flex:1;
        margin-bottom: 20px;
        min-height: 250px;
        max-height: 100%;
        max-width:700px;
        display:flex;
        flex-direction: column;
        justify-content:space-evenly;
    }
}

/*
@media (max-width: 576px) {
    * {
        font-size: 12px;
    }
}

@media (max-width: 320px) {
    * {
        font-size: 10px;
    }
} */