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

*,*::after,*::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    border: 0;
}

html {
    font-size: 62.5%;
    height: 100vh;
}

body {
    background: #F1F5F8;
    font: normal 1.6rem 'Roboto', sans-serif;
}

.container {
    width: 50%;
    margin: 0 auto;
}

#header h1 {
    color: #C19856;
    font-family: 'Great Vibes', cursive;
    text-align: center;
    margin: 5rem 0;
    font-size: 2.5em;
}

.panel__shadow {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.418);
    display: none;
}

#panel__question {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    border-radius: 10px;
    background: white;
    width: 500px; 
    padding: 2rem;
    display: none;
}
    
#panel__question h2 {
    text-align: center;
}

.btn__exit {
    height: 3.5rem;
    width: 3.5rem;
    position: absolute;
    top: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.btn__exit:active {
    transform: scale(1.2);
}

.line1 {
    height: 5px;
    width: 100%;
    border-radius: 10px;
    background: red;
    transform: rotate(45deg);
}
.line2 {
    height: 5px;
    width: 100%;
    border-radius: 10px;
    background: red;
    transform: rotate(-45deg) translate(3.5px, -3px);
}

.form__question {
    width: 100%;
    margin: 10px 0 0 0;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.form__question label {
    font-weight: bold;
}

.form__question #txtp {
    border: 1px solid grey;
    padding: 5px;
    width: 70%;
}

#btn__add__question {
    padding: 10px;
    border-radius: 10px;
}

.question {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin: 0 0 20px 0;
}

.question__add {
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.301);
    border-radius: 1rem;
}

.question__add i {
    color: #C19856;
}

.question__add p {
    font-size: 1.5em;
    width: 75%;
}

.question__icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.question__icons .fa-trash-can {
    display: none;
}

.fa-square-plus:active {
    transform: scale(1.2);
}

.socialMedias {
    display: flex;
    justify-content: center;
    align-content: center;
    margin: 50px 0;
    height: 100px;
}

.socialMediasIcons {
    display: flex;   
    align-items: center;
    gap: 20px;
}

@media screen and (max-width: 720px) {
    html {
        font-size: 50%;
    }
    .question__add p {
        font-size: 1.3em;
    }
    #panel__question h2 {
        font-size: 2rem
    }

    #panel__question {
        width: 90%;
    }
}

@media screen and (max-width: 1200px) {
    .container {
        width: 90%;
    }
}