:root {
    --red: hsl(0, 100%, 74%); 
    --green: hsl(154, 59%, 51%); 
    --blue: hsl(248, 32%, 49%); 
    --dark-blue: hsl(249, 10%, 26%);  
    --grayish-blue: hsl(246, 25%, 77%);
}

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

body {
    font-family: 'Poppins', sans-serif;
    height: 100vh; 
    font-size: 16px;
    background: url('./images/bg-intro-mobile.png'), var(--red);
    display: flex; 
    justify-content: center;    
}

.container {
    padding-top: 90px;
    display: flex;
    flex-direction: column;
    color: white;
    width: 375px;  
}

h1 {
    text-align : center;
    margin-bottom: 20px;
    
}

p {
    text-align : center;
    padding-right: 30px;
    padding-left: 30px;
    font-weight: 500;    
}

form {
    background: white;
    box-shadow: 0px 8px 0px rgba(0, 0, 0, 0.14688);
    margin-left: 30px;
    margin-right: 30px; 
    padding-left: 20px; 
    padding-top: 20px; 
    border-radius: 10px;
    box-shadow: 0px 8px 0px rgba(0, 0, 0, 0.14688);
    position: relative;   
}

button {
    background-color: var(--green);
    color: white; 
    border: 0;
    width: 280px;
    padding-top: 20px; 
    padding-bottom: 20px;
    border-radius: 10px;    
}

button:hover {
    cursor: pointer;
}

input {
    width: 280px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 10px;
    border: 1px solid var(--grayish-blue);
    border-radius: 10px;
    margin-bottom: 5px;
}

input::placeholder {
    color: var(--dark-blue);
    font-weight: 700;  
}

p {
    margin-top: 10px;
    padding-bottom: 20px;  
    color: var(--grayish-blue);
    font-size: 11px;  
}

.info {
    background-color: var(--blue);
    margin-right: 30px;
    margin-left: 30px;
    margin-top: 50px;
    margin-bottom: 30px; 
    padding: 20px 50px;
    border-radius: 10px;
    box-shadow: 0px 8px 0px rgba(0, 0, 0, 0.14688)       
}

.red {
    color: var(--red);
    font-weight: 700;  
}

.error {
    font-size: 14px;
    color: var(--red);
    text-align: right;
    padding-right: 35px;
    visibility: hidden;
}

.icon_error {
    position: absolute ; 
    right: 30px;
    top: 15px;
    visibility: hidden;  
}

.firstname, 
.lastname, 
.email,
.password {
    position: relative; 
}

@media screen and (min-width: 800px) {

    body {
        background: url('./images/bg-intro-desktop.png'), var(--red);
    }

    h1 {
        font-size: 42px;
        text-align : left;  
    }

    p {
        color: white;
        padding-right: 150px;
        padding-left: 0; 
        text-align: left;
        font-size: 15px; 
    }

    .container {
        flex-direction: row;
        width: 90%;
         
    }

    button {
        width: 95%; 
    }

    .left {
        display: flex; 
        flex-direction: column;
        padding-top: 150px;
        width: 100%
    }

    .right {
        width: 100%;
          
    }

    .confimation {
        color: var(--grayish-blue);
        width:750px; 
        display: inline-block;
        padding-left: 50px
            
    }

    .red {
        display: inline-block; 
    }

    input {
        width: 95%;
        padding-left: 30px; 
        padding-right: 80px;  
    }

    .icon_error {
        position: absolute ; 
        right: 50px;
        top: 15px;
        visibility: hidden;  
    }
    
}