@import url("https://fonts.googleapis.com/css?family=Oswald");
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif&display=swap');
:root {
  --background: #191919;
  --text: #F1E6D2;
  --highlight: #39AC4C;
}

body {
  background: var(--background);
  justify-content: center;
  height: 100vh;
  overflow-x: hidden;
  transition: 0.5s background ease;
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.theme-switch {
  --background: #FFF;
  --text: #333;
  color: var(--text);
  width: 70px;
  height: 30px;
  background: var(--highlight);
  border-radius: 50px;
  position: absolute;
  right: 2%;
  top: 2%;
}
.theme-switch .switch {
  background: white;
  width: 24px;
  height: 24px;
  background: var(--background);
  border-radius: 100%;
  position: absolute;
  top: 3px;
  left: 4px;
  transition: 0.5s all ease;
}

.light-theme {
  --background: #FFF;
  --text: #000;
  background: var(--background);
}
.light-theme .theme-switch {
  background: var(--text);
}
.light-theme .theme-switch .switch {
  transform: translateX(37px);
}
.light-theme a {
  color: var(--text);
}

h1{
  margin-block-start: 0% !important;
  color: var(--text);
  font-size: 5rem;
  text-align: center;
  cursor: default;
}
.review{
    font-size:3rem !important;
}
h1:nth-child(2){
  font-size: 8rem;
}
h1:nth-child(3){
  margin-block-end: 0% !important;
}
p{
  color: var(--text);
  width: 60%;
  text-align: left;
  margin: auto;
  font-size: 1.3rem;
  margin-top: 2rem;
  font-family: 'Noto Serif', serif;
  cursor:default;
}
ul#pastcomments {
            list-style-type: none;
            background: var(--background);
        }

ul#pastcomments li .author-name {
            font-size: 110%;
            font-style: normal;
            position: relative;
            left: 15px;
            font-weight: bolder;
            color: var(--text);
            display: inline-block;
            width: max-content;
            margin-bottom:5px;
            
        }

        ul#pastcomments li .comment {
            font-size: 90%;
            position: relative;
            left: 15px;
            color: var(--text);
            font-style: italic;
        }
        label{
            color: var(--text);
        }
        #allcomments {
            width: 95%;
            margin: 1em 0 4em 1em;
            padding: 1%;
            
            
            display:none;
        }
       
        ul#pastcomments li {
            margin: 0 0 1px 0;
            padding: 10px;
        }

        ul#pastcomments li .profile-pic {
            background-position: center;
            margin-left: -42px;
            padding-right: 10px;
            position: relative;
            top: 24px;
            background-repeat: no-repeat;
            background-size: cover;
            display: inline-block;
            width: 30px;
            height: 40px;
            border-radius: 100%;
        }
         #newcomment {
            max-width: 600px;
            margin: 0 auto;
            padding: 20px;
            background: var(--background);
            border-radius: 10px;
            box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
        }

        label {
            font-family: 'Courier New', Courier, monospace;
            font-size: 14px;
            color: var(--text);
            margin-bottom: 10px;
            display: block;
        }

        input[type="text"],
        textarea {
            width: 100%;
            padding: 10px;
            font-family: 'Courier New', Courier, monospace;
            font-size: 14px;
            color: #333333;
            border: 1px solid #cccccc;
            border-radius: 5px;
            background-color: #ffffff;
            box-sizing: border-box;
        }

        textarea {
            resize: vertical;
        }

        input[type="submit"] {
            background-color: #555555;
            color: #ffffff;
            font-family: 'Courier New', Courier, monospace;
            font-size: 14px;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }

        input[type="submit"]:hover {
            background-color: #333333;
            cursor: pointer;
        }

        .hidden-field {
            display: none;
          
        }

@media (max-width:480px){
  h1:nth-child(2){
    margin-block-start:40px !important ;
    font-size: 4rem ;
  }
  h1:nth-child(3){
    font-size: 2.5rem ;
  }
  p{
    width: 95% !important;
    margin: 2%;
    font-size: large;
    margin-top: 20px;
  }
}

 