@import url('https://fonts.googleapis.com/css2?family=Rubik&display=swap');

* {
    margin: 0px;
    padding: 0px;
    font-family: 'Rubik', sans-serif;
    box-sizing: border-box;
    
}

body {
    
    background-image:  url('/assets/fondo2.67a9dc95.jpg');
    background-size: cover;
    background-attachment: fixed;
}

#root {

    border: 1px solid #ccc;
    display: grid;
    place-items: center;
    
}

section {
    
    text-align: center;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

@media only screen and (max-width: 576px) {
    * {
        font-size: 18px;
    }
}

#logo {
    width: 120px;
    padding: 30px;
}

#logoGoogle{
    width: 60px;
}

h1 {
    text-align: center;
    font-weight: 800;
    padding: 0 20px;
}

p {
    font-size: 18px;
    padding-bottom: 8px;
    margin-top: 4px;
}

#comment3 {
    font-weight: bold;
}

input {
    font-size: 1rem;
    min-height: 2.75rem;
    width: 80%;
    border: 1px solid rgb(178, 178, 178);
    border-radius: 0.25rem;
    line-height: 1.25rem;
    letter-spacing: 0.2px;
    padding: 0px 1rem;
    
}

button {
    font-size: 16px;
    margin-top: 16px;
    margin-bottom: 10px;
    padding: 4px 12px;
    border-radius: 5px;
    border: 0;
    cursor: pointer;
    transition: opacity 0.2s ease;
    background-color: #00c7566c;    
    place-items: center;
}

#btnRegister, #btnLogin, #btnReg, #btnBack {
    font-size: 0.875rem;
    min-height: 2.75rem;
    width: 80%;
    margin-top: 16px;
    margin-bottom: 10px;
    padding: 4px 12px;
    border-radius: 5px;
    border: 0;
    cursor: pointer;
    transition: opacity 0.2s ease;        
    place-items: center;
    
}

#googleLogin {    
    
    justify-content: center;    
    align-items: center;    
    width: 80%;
    /*margin: 0.25rem 0px;*/
    border-radius: 5px;
    border: 1px solid rgb(178, 178, 178);
    background-color: rgb(255, 255, 255);
    /*box-shadow: none;*/
    /*padding: 0px;*/
    line-height: 1rem;
    height: auto;
    cursor: pointer;
}

#btnLogin, #btnReg, #btnCreate {
    background-color: #00c7566c;
}

#btnRegister, #btnBack, #btnlogOut {    
    background-color: rgb(178, 178, 178, .5);
    color: #FFFFFF;
}

#btnlogOut, #btnCreate{
    font-size: 1rem;
    min-height: 2.75rem;
    margin-top: 16px;
    margin-bottom: 10px;
    padding: 4px 12px;
    border-radius: 5px;
    border: 0;
    cursor: pointer;
    transition: opacity 0.2s ease;        
    place-items: center;
}

hr {
    margin: 20px 70px;
}

#homeSection, #sectionRegister {
    max-width: 31rem;
    width: 100%;
    padding: 1rem;
}

/*home, prblemas con mobile first*/

#divHome {
    width: 100%;
    justify-content: center;
    row-gap: 1em;
}

header {
    align-items: center;
    border-bottom: 1px solid #ccc;
    height: 60px;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255);
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0 10%;
}

li {
    padding: 20px;
    background: #f6f6f6;
    font-size: 20px;
    color: #555;
    position: relative;
    align-items: center;
    border: 1px solid #A5C4AD;

}

#del{
    cursor: pointer;
    color: red;
}

li span {
    display: block;
    padding-bottom: 10px;
}

li div {
    position: absolute;
    top: 0;
    right: 0px;
    background: rgba(255, 255, 255, 0.6);
    width: 40px;
    text-align: center;
    padding: 5px 0;
    font-weight: bold;
    cursor: pointer;
}

h2 {
    font-size: 21px;
    font-weight: 800;        
}

#goToTop:hover {
    cursor: pointer;
    color: #00c7566c;
}

#loginCreate {
    padding-top: 29px;
    margin: 0 10%;
}

.textArea,
textarea {
    display: flex;
    justify-content: center;
    min-height: 80px;
    width: 100%;
    padding: 0.9rem;
    resize: vertical;
    font-size: 16px;
}

nav {
    align-items: center;
    display: flex;
    justify-content: space-around;
    bottom: 0;
    border-top: 1px solid #ccc;
    height: 49px;
    position: sticky;
    width: 100%;
    background: rgba(255, 255, 255);
    font-weight: bold;
}

#name {
    font-weight: bold;
}

#btnSave{
    background-color: white;
    border-width: thin;
    border-style: solid;
    border-color: green;
}

#btnCancel{
    background-color: white;
    border-width: thin;
    border-style: solid;
    border-color: red;
}

.visible {
    display: block;

}

.oculto {
    display: none;
}