* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-weight: 800;
    color: #008000;
    text-decoration: none;
    border-radius: 20px;
}

.logo span {
    color: black;
}

nav {
    background: #fff;
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    width: 60%;
    padding: 20px 0;
    box-shadow: 2px 0 10px #ccc;
    display: flex;
    flex-direction: column;
    display: none;
    transition: 2s ease;
}

nav a {
    text-decoration: none;
    font-size: 14px;
    letter-spacing: .5px;
    padding: 10px 20px;
    width: 100%;
    border-bottom: 1px solid #eee;
    color: #000;
    transition: .2s ease;
}

nav a:hover {
    background: #d8fcd8;
    color: #008000;
}

nav img {
    align-self: end;
    margin-right: 10px;
    margin-bottom: 10px;
}

header img {
    width: 30px;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 2px 5px #ccc;
    transition: .2s ease;
}

header img:hover {
    background: #f9f9f9;
}

html {
    overflow-y: hidden;
}

section {
    display: flex;
    flex-direction: column;
    min-height: 80vh;
    background: linear-gradient(to top left, #eee, #f7f7f7, #fcfcfc);
}

.conversation {
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
} 

@keyframes loadSke {
    0%{background: linear-gradient(to top left,#dadada 50%, #f6f6f6 );}
    10%{background: linear-gradient(to top left,#dadada 40%, #f6f6f6 );}
    20%{background: linear-gradient(to top left,#dadada 30%, #f6f6f6 );}
    30%{background: linear-gradient(to top left,#dadada 20%, #f6f6f6 );}
    40%{background: linear-gradient(to top left,#dadada 10%, #f6f6f6 );}
    50%{background: linear-gradient(to top left,#dadada 0%, #f6f6f6 );}
    60%{background: linear-gradient(to top left,#dadada 10%, #f6f6f6 );}
    70%{background: linear-gradient(to top left,#dadada 20%, #f6f6f6 );}
    80%{background: linear-gradient(to top left,#dadada 30%, #f6f6f6 );}
    90%{background: linear-gradient(to top left,#dadada 40%, #f6f6f6 );}
    10%{background: linear-gradient(to top left,#dadada 50%, #f6f6f6 );}
}

.querry, .ask_something {
    background: #f6fff6;
    max-width: 80%;
    justify-self: end;
    text-overflow: wrap;
    padding: 15px;
    border-radius: 10px;
    font-size: 14px;
    letter-spacing: .5px;
    box-shadow: 0 2px 5px #cccccc74;
}

.ask_something {
    display: none;
}

.reponse {
    margin-top: 10px;
    width: 100%;
}

.welcomeSms {
    background: conic-gradient(#f8fff8, #dffddf, #f8fff8, #daffda, #f8fff8) ;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-grow: 1;
}

.welcomeSms h1 {
    width: 80%;
    text-align: center;
    font-size: 30px;
    font-weight: 500;
    letter-spacing: 1px;
}

.welcomeSms h1::first-letter {
    text-transform: uppercase;
}

.suggestQuerries {
    width: 80%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.suggestQuerries span {
    background: #ffc6ae;
    color: #c70000;
    padding: 2px 10px;
    border-radius: 10px;
    position: absolute;
    top: -20px;
    left: 0;
    width: fit-content;
    font-size: 11px;
    display: none;
}

.suggestQuerries h2 {
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid #aeffae;
    font-size: 13px;
    cursor: pointer;
    letter-spacing: .5px;
    color: #5d5d5d;
    font-weight: 400;
    position: relative;
}

.suggestQuerries h2::first-letter {
    text-transform: uppercase;
}

section form {
    padding: 10px;
    display: flex;
    background: #fff;
    position: fixed;
    width: 100%;
    bottom: 0;
}

section form input {
    padding: 10px;
    flex-grow: 1;
    font-size: 13px;
    outline: none;
    border: none;
}

section form button {
    padding: 0 10px;
    border: none;
    background: none;
    cursor: pointer
}

section form button img {
    width: 23px;
}

@media (min-width: 680px) {
    .conversation {
        width: 80%;
        align-self: center;
    } 

    .suggestQuerries div {
        font-size: 14px;
    }

    section form {
        width: 80%;
        align-self: center;
        bottom: 10px;
        border-radius: 50px;
        box-shadow: 0 2px 5px #ccc;
    }

    section form input {
        font-size: 14px;
    }
}

@media (min-width: 800px) {
    .conversation {
        width: 70%;
    } 

    .welcomeSms h1 {
        font-size: 35px;
    }
    section form {
        width: 60%;
    }
}

@media (min-width: 1200px) {
    .suggestQuerries div {
        font-size: 15px;
    }

    section form {
        width: 60%;
    }

    section form input {
        font-size: 15px;
    }
}
