/*---------------------------Defaults--------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

html{
    box-sizing: border-box;
}

*, *::after, *::before{
    box-sizing: inherit;
}

*{
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif, 'Courier New', Courier, monospace;
    scroll-behavior: smooth;
}

body{
    background: #1D1D1D;
    font-weight: 300;
    position: relative;
    display: flex;
    flex-direction: column;
    color: #D9D9D9;
    gap: 20px;
}

h1{
    color: #FBAD41;
    padding: 20px;
    text-align: center;
    border:1px;
    border-style:solid;
    border-radius: 20px;
    border-color:#303030;
    width: 80%;
    margin: 20px auto;
}

html, body{
    height: 100%;
}

footer{
    padding: 10px;
    width: 100%;
    margin-top:auto;
    text-align: center;
    color: #D9D9D9;
    font-size: x-small;
}

.container{
    width: 80%;
    margin: 0 auto;
}

.ar{
    text-align: right;
    direction: rtl;
}

/* controls */
button{
    width: 120px;
    padding: 5px 10px;
    border-radius: 20px;
    color: #D9D9D9;
    background-color: #1D1D1D;
    outline: auto;
    outline-color: #D9D9D9;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: ease-in-out 0.2s;
    font-size: x-small;
}

.ar button{
    font-size: small;
}

button:hover{
    background-color: #303030;
    color: white;
    outline-color: white;
    transition: ease-in-out 0.2s;
}

textarea{
    width: 100%;
    height: 200px;
    background-color: #303030;
    margin: 5px auto;
    resize: none;
    padding: 20px;
    color: #D9D9D9;
    outline: none;
    border: none;
    border-radius: 20px;
    font-size: 16px;
}