@import url('https://fonts.googleapis.com/css2?family=Comic+Relief:wght@400;700&family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Oswald:wght@200..700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

.head a, a:visited{
    text-decoration: none;
    color: white;
}
.back{
    justify-self: center;
    display: block;
    text-align: center;
    align-content: center;
    font-size: 20px;
    background-color: #00b3ff;
    color: white;
    font-weight: bold;
    font-family: 'Montserrat';
    height: 30px;
    width: 100px;
    border-radius: 4px;
}
header h1{
    font-family: 'Oswald';
    text-align: center;
    font-size: 40px;
    color: #00103e;
    margin-bottom: 0px;
    margin-top: 5px;
}

header h2{
    font-family: 'Montserrat';
    font-size: 18px;
    color: slategrey;
    text-align: center;
    margin-top: 0px;
    margin-bottom: 0px;
}
.details{
    justify-self: center;
    display: block;
    text-align: center;
    align-content: center;
    font-size: 14px;
    font-weight: bold;
    font-family: 'Montserrat';
}
.main{
    margin: 20px 100px 20px 100px;
}
main p{
    font-family: 'Montserrat';
    font-weight: 500;
}


.main a {
  position: relative;
  text-decoration: none;
  color: #111;
  font-weight: 500;
  padding: 0 6px;
  z-index: 1;
}
.main a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 30%; 
  background-color: #ffe95d;
  border-radius: 4px; 
  z-index: -1;
  transition: height 0.25s ease-in-out;
}
.main a:hover::after {
  height: 100%;
}

hr{
    width: 80vw;
}
/* Comment start 4 logged out */
.comment-loggedout img {
    height: 20px;
}
.comment-loggedout{
    display: block;
    align-self: center;
    justify-self: center;
    font-family: 'Montserrat';
    border: 1px solid;
    border-radius: 5px;
    text-align: center;
    width: 500px;
}
.google{
    display: flex;
    justify-content: center;
    align-items: center;
    justify-self: center;
    margin: 5px 0px 5px 0px ;
    border: 0px;
    border-radius: 5px;
    width: 175px;
    height: 30px;
    font-family: 'Montserrat';
    background-color: rgb(193, 241, 255);
}
.google img{
    margin-right: 5px;
}
.github{
    display: flex;
    justify-content: center;
    align-items: center;
    justify-self: center;
    margin: 5px 0px 5px 0px ;
    border: 0px;
    border-radius: 5px;
    width: 175px;
    height: 30px;
    font-family: 'Montserrat';
    background-color: rgb(193, 241, 255);
}
.github img{
    margin-right: 5px;
}
/* Comment end 4 Logged out */



/* comment start 4 logged in */
.comment-loggedin{
    display: block;
    justify-self: center;
    font-family: 'Montserrat';
    border: 1px solid;
    border-radius: 5px;
    width: 500px;
    padding: 5px;
    input{
        font-family: 'Montserrat';
        border: 0px;
        border-bottom: 1px solid;
        width: 450px;
        margin-top: 10px;
        font-size: 15px;
    }
    .submit{
        font-family: 'Montserrat';
        background-color:rgb(193, 241, 255) ;
        border: 0px;
        margin-top: 10px;
        height: 25px;
        font-weight: 700;
        border-radius: 5px;
    }
}
/* comment end 4 logged in */

/* comments */
footer p{
    text-align: center;
    font-family: 'Courier Prime';
    font-weight: bold;
    margin-bottom: 0px;
}
.legal{
    font-size: small;
    margin-top: 0px;
    color: rgb(90, 97, 104);
    a{
        color: rgb(90, 97, 104);
    }
}
@media (max-width: 800px){
    .main{
        margin: 2px 5px 2px 5px;
    }
    header h1{
        line-height: 1.1;
    }
    header h2{
        margin-top: 10px;
    }
    .comment-loggedin{
        width: 300px;
        input{
            width: 250px;
            display: block;
        }

    }
    .comment-loggedout{
        display: block;
        width: 300px;
    }
}

