@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

body {
    background: url(../images/bg-desktop.svg) hsl(257, 40%, 49%);
    padding: 0;
    margin: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
}

h1 p {
    margin: 0 !important;
}

/*.header,
.landing-content {
    padding: 40px;
}*/
.header, .landing-content {
    padding: 20px;
}

.landing-content {
    transform: scale(0.9);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.header img {
    width: 20%;
}

/*.landing-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
   

}*/

.landing-content img {
    width: 696px;
    padding-right: 59px;
    height: 493px;
}

.huddle-copy {
    flex-basis: 30%;

}

.huddle-copy h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    color: #fff;
    font-size: 40px;
    padding: 0;
    margin: 0;
    line-height: 60px;
}

.huddle-copy p {
    font-family: 'Open Sans', sans-serif;
    color: #fff;
    font-size: 18px;
    line-height: 27px;
    margin-bottom: 24px;
    width: 520px;
}

.huddle-btn button {
    border: none;
    width: 50%;
    padding: 20px;
    border-radius: 35px;
    cursor: pointer;
    box-shadow: 3px 10px 19px #2121216e;
    color: #674BAF;
    font-size: 16px;
    color : #674BAF;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}
.popup-wrapper {
    background:rgb(0,0,0,0.5);
    width:100%;
    height:100%;
    position:fixed;
    top: 0;
    display:none;   
    min-height: 100vh;
    
    
  }

  .popup {
    text-align: center;
    background:hsl(257, 40%, 49%);
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    width:100%;
    max-width:400px;
    margin:auto;
    padding: 15px 10px;
    position:relative;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    border-radius: 15px;
  }
  div#submit-btn button {
    width: 100%;
    padding: 9px;
    background-color: hsl(300, 69%, 71%);
    color: #fff;
}
input[type="email"], input[type="password"] ,input[type="text"]{
    width: 92%;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 30px;
    border: none;
    font-family: 'Poppins', sans-serif;
}
a.login-link,a.register-link{
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}
a.login-link:hover,a.register-link:hover {
    color:  hsl(300, 69%, 71%);
}
.popup-close {
    position:absolute;
    top:8px;
    right:20px;
    font-size:30px;
    cursor:pointer;
  }
  .popup-register {
    display: block;
  }
  .popup-login {
    display: none;
  }
  .popup-logo {
    width: 56%;
    margin: auto;
  }




.huddle-btn button:hover {
    background-color: hsl(300, 69%, 71%);
    color: #fff;
}

.socials {
    float: right;
    padding-right: 24px;
    margin-bottom: 10px;
}

.socials img {
    width: 25%
}
i.fa-brands {
    color: aliceblue;
    border: 1px solid;
    padding: 20px;
    border-radius: 105%;
    width: 18px;
    text-align: center;
    margin: 10px;
}

i.fa-brands:hover {
    color:  hsl(300, 69%, 71%);
}

.popup-login {
    display: none;
}

form {
    width: 81%;
    margin: auto;
}

.header, .landing-content {
    padding: 20px;
}
.error-mgs {
    color: red;
}
.error-border {
    border: 1px solid red;
}


@media (max-width:820px) {
    body {
        background: url(../images/bg-mobile.svg) hsl(257, 40%, 49%);
        padding: 0;
        margin: 0;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: top center;
    }

    .landing-content {
        flex-direction: column;
    }


    .huddle-copy h1 {
        text-align: center;
        font-size: 27px;
        line-height: 36px;
    }

    .huddle-copy p {
        text-align: center;
        width: 304px;

    }

    .header img {
        width: 40%;
    }

    .landing-content img {
        margin-bottom: 35px;
        width: 296px;
        height: 209px;
        padding-right: 0;
    }

    .huddle-btn button {
        width: 99%;
    }

    .socials {
        padding-right: 73px;

    }
}
