@font-face {
    font-family: "lob";
    src: url("../LobsterTwo-BoldItalic.ttf");
}
@keyframes animated_intro {
    from{opacity: 0;}
    to{opacity: 1;}
}
html{
    height: 100%;
    width: auto;
    background-color: #444;
}
hr{
    border: 0.3px black solid;
    width: 100%;
    height: 0;
}
main{
    height: 100%;
    width: auto;
    display: flex;
    flex-direction: column;
    background-color: whitesmoke;
    font-family: sans-serif;
    border: 2px black solid;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
#nav{
    height: fit-content;
    width: 100%;
    display: inherit;
    align-items: flex-start;
    background-color: rgb(139, 229, 165);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
#nav > h1 {
    padding:1% 45% 0 5%;
    justify-self: flex-start;
    letter-spacing: 2px;
    opacity: 0.8;
    text-decoration: underline;
    font-family: "lob";
    animation: animated_intro 2s forwards;
}
#nav > h3 {
    align-self: center;
    float: right;
    margin: 2% 0 0 1%;
    width: 15%;
    color: black;
}
#nav > h3 > a {
    color: black;
}
#nav > h3 > a:hover{
    color: #444;
}

#ads_container{
    height: 80%;
    width: auto;
    display: inherit;
    margin: 3%;
}
.ad{
    height: 400px;
    width: 30%;
    margin:1%;
    padding:1%;
    display: flex;
    flex-direction: column;
    text-align: center;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .25);
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, .25);
    animation: animated_intro 2s forwards;
}
.card{
    height: 100%;
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
#about_container{
    height: fit-content;
    width: 75%;
    display: inherit;
    flex-direction: column;
    align-self: center;
    font-size: x-large;
}
#about_container> h1 {
    padding: 2% 5% 0% 8%;
    font-family: "lob";
    text-decoration: underline;
    animation: animated_intro 6s forwards;
    font-size: larger;
}
#about_container > p {
    padding: 0% 7% 0% 7%;
    text-align: center;
    line-height: 150%;
}
#about_container > img {
    height: 90%;
    width:85%;
    align-self: center;
    padding: 2%;
    margin: 2%;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .25);
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, .25);
}
#registration_container{
    height: fit-content;
    width: 50%;
    margin: 5%;
    padding:5%;
    display: inherit;
    flex-direction: column;
    align-self: center;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .25);
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, .25);
    backdrop-filter: blur(15px);
}
#registration_form {
    height: fit-content;
    width: 100%;
    display: flex;
    flex-direction: column;
}
#registration_form  > input  {
    height: 30px;
    width: 100%;
    margin: 1% 0 1% 0;
    padding: 1% 0 1% 0;
    align-self: center;
    border-radius: 1px;
    border-radius: 5px;
    text-indent: 5px;
}
#registration_form > #selling, #buying {
    align-self: center;
  
}
button#send{
    width:50%;
    padding:3%;
    align-self: center;
    background-color: rgb(139, 229, 165);
    border-radius: 5px;
    border: none;
    letter-spacing: 1px; 
    font-weight: bold;
    margin: 5%;
}
button#send:hover{
    background-color: rgb(165, 238, 186);
    cursor: pointer;
}
button#send:active{
    border-color: black;
}
#testimonials{
    height:fit-content;
    width: 80%;
    align-self: center;
    font-size: larger;
}
i{
    font-size: smaller;
}
#testimonial_1, #testimonial_3{
    margin:5%;
    padding:10%;
    opacity: 0.95;
}
#testimonial_2, #testimonial_4 {
    margin:5%;
    padding:10%;
    text-align: right;
    opacity: 0.95;
} 
#testimonial_2_image , #testimonial_4_image {
    float: left;
    margin: 0 0 0 6%;
    height: 20%;
    width: 40%;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .25);
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, .25);
}
#testimonial_1_image , #testimonial_3_image {
    float: right;
    margin: 0 0 10% 0;
    height: 20%;
    width: 40%;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .25);
    box-shadow: 0 0 10px 1px rgba(0, 0, 0, .25);
}