html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
 margin: 0;
 padding: 0;
 border: 0;
 font-size: 100%;
 font: inherit;
 vertical-align: baseline;
}
HTML5 display-role reset for older browsers 
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
 display: block;
}
body {
 line-height: 1;
}
ol, ul {
 list-style: none;
}
blockquote, q {
 quotes: none;
}
blockquotebefore, blockquoteafter,
qbefore, qafter {
 content: '';
 content: none;
}
table {
 border-collapse: collapse;
 border-spacing: 0;
}

@font-face {
    font-family: EduTasFont;
    src: url(./Fonts/EduTasFont.ttf);
}

:root{
    height: 100vh;
    background-image: url("./Images/form-practice-background-image.jpg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 110%,110%;
    --custom-font-family: EduTasFont, Verdana, Geneva, Tahoma, sans-serif;
    font-family: var(--custom-font-family);
    background-color: #27192F;
}

input{
    border: none;
    outline: none;
    font-size: 14px;
}

@media screen and (max-width: 599px){
    :root{
        background-size: cover;
        padding-left: 5%;
        padding-right: 5%;
        --border-color: rgb(121, 74, 69);
        --btn-color: #cf8674;
    }

    #form-container>* , #form-container>*>*{
        display: flex;
        flex-direction: column;
    }
    fieldset>*{
        margin: 0.7rem 0;
    }
    #form-container{
        min-height: auto;
        margin-top: 10vh;
        background-color: white;
        border: 2px solid var(--border-color);
        padding: 3rem 3.5rem;
        box-shadow: 0px 0px 21px 1px rgba(0,0,0,0.36);
        -webkit-box-shadow: 0px 0px 21px 1px rgba(0,0,0,0.36);
        -moz-box-shadow: 0px 0px 21px 1px rgba(0,0,0,0.36);
    }
    #header-container{
        display: flex;
        justify-content: space-evenly;
        margin-bottom: 2rem;
    }
    #header-container>*{
        color: var(--border-color);
        font-size: 24px;
        font-weight: bold;
    }
    #h1-header{
        text-align: center;
        position: absolute;
    }
    #p-left{
        display: flex;
        margin-right: auto;
    }
    #p-right{
        display: flex;
        margin-left: auto;
    }
    input{
        border-bottom: 1px solid var(--border-color);
    }
    #sign-in-container, #term-fieldset{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
    #term-fieldset{
        margin-top: 5vh;
    }
    #tearms-cb{
        
        margin-right: 1rem;
    }
    input[type=checkbox]:hover, label[for=tearms-cb]:hover{
        cursor: pointer;
    }
    input[type=checkbox] {
        -webkit-appearance: none;
        appearance: none;
        background-color: #fff;

        font: inherit;
        color: var(--btn-color);
        width: 1.15em;
        height: 1.15em;
        border: 0.15em solid var(--border-color);
        border-radius: 0.15em;
        transform: translateY(-0.075em);
        accent-color: var(--btn-color);
        border: 1px solid var(--border-color);
        place-content: center;
        display: grid;
    } 
    input[type=checkbox]::before{
        content: "";
        width: 0.65em;
        height: 0.65em;
        transform: scale(0);
        transition: 120ms transform ease-in-out;
        box-shadow: inset 1em 1em var(--btn-color);
        transform-origin: center;
        clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
    } 
    input[type=checkbox]:checked::before{
        transform: scale(1.2);
    }
    input::placeholder{
        font-size: 10px;
        color: #bbbbbb;
    }
        #btn-submit {
        align-self: center;
        align-items: center;
        border-radius: 30px;
        padding: 1rem 2rem;
        min-width: 75%;
        margin: 1rem;
        background-image: linear-gradient(to right, #DD5E89 0%, #F7BB97  51%, #DD5E89  100%);
        margin: 10px;
        transition: 0.3s;
        background-size: 200% auto;
        color: white;  
        border: none;          
        box-shadow: 0 0 20px #eee;
        border-radius: 30px;
        display: block;
      }
      #btn-submit:focus{
        background-color: var(--btn-color);
      }

      button#btn-sign-in{
        border: none;
        font-family: var(--custom-font-family);
        font-size: 16px;
        background: none;
        color: var(--border-color);
        margin: 0;
        margin-left: 0.2em;
        padding: 0;
        font-size: 16px;
        cursor: pointer;
        display: inline-block;
        font-weight: 600;
      }
      #sign-in-text{
        justify-content: center;
      }

      @keyframes btn-submit {
        from{
            transform: scale(1);
        }
        to{
            transform: scale(0.95);
        }
      }




}

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

    :root{
        padding-left: 15%;
        padding-right: 15%;
        --border-color: rgb(121, 74, 69);
        --btn-color: #cf8674;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    #form-container>* , #form-container>*>*{
        display: flex;
        flex-direction: column;
    }
    fieldset>*{
        margin: 0.45rem 0;
    }
    #form-container{
        min-height: auto;
        margin-top: 10vh;
        background-color: white;
        border: 2px solid var(--border-color);
        padding: 3rem 4rem;
        box-shadow: 0px 0px 21px 1px rgba(0,0,0,0.36);
        -webkit-box-shadow: 0px 0px 21px 1px rgba(0,0,0,0.36);
        -moz-box-shadow: 0px 0px 21px 1px rgba(0,0,0,0.36);
    }
    #header-container{
        display: flex;
        justify-content: space-evenly;
        margin-bottom: 1.5rem;
    }
    #header-container>*{
        color: var(--border-color);
        font-size: 32px;
        font-weight: bold;
    }
    #h1-header{
        text-align: center;
        position: absolute;
    }
    #p-left{
        display: flex;
        margin-right: auto;
    }
    #p-right{
        display: flex;
        margin-left: auto;
    }
    input{
        border-bottom: 1px solid var(--border-color);
    }
    #sign-in-container, #term-fieldset{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
    #term-fieldset{
        margin-top: 5vh;
    }
    #tearms-cb{
        
        margin-right: 1rem;
    }
    input[type=checkbox]:hover, label[for=tearms-cb]:hover{
        cursor: pointer;
    }
    input[type=checkbox] {
        -webkit-appearance: none;
        appearance: none;
        background-color: #fff;

        font: inherit;
        color: var(--btn-color);
        width: 1.15em;
        height: 1.15em;
        border: 0.15em solid var(--border-color);
        border-radius: 0.15em;
        transform: translateY(-0.075em);
        accent-color: var(--btn-color);
        border: 1px solid var(--border-color);
        place-content: center;
        display: grid;
    } 
    input[type=checkbox]::before{
        content: "";
        width: 0.65em;
        height: 0.65em;
        transform: scale(0);
        transition: 120ms transform ease-in-out;
        box-shadow: inset 1em 1em var(--btn-color);
        transform-origin: center;
        clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
    } 
    input[type=checkbox]:checked::before{
        transform: scale(1.2);
    }
    input::placeholder{
        font-size: 10px;
        color: #bbbbbb;
    }
    #btn-submit {
        align-self: center;
        align-items: center;
        border-radius: 30px;
        padding: 1rem 2rem;
        min-width: 75%;
        margin: 1rem;
        background-image: linear-gradient(to right, #DD5E89 0%, #F7BB97  51%, #DD5E89  100%);
        margin: 10px;
        transition: 0.3s;
        background-size: 200% auto;
        color: white;  
        border: none;          
        box-shadow: 0 0 20px #eee;
        border-radius: 30px;
        display: block;
      }

      #btn-submit:hover {
        background-position: right center; /* change the direction of the change here */
        color: #fff;
        text-decoration: none;
        cursor: pointer;
      }

      #btn-submit:focus{
        background-color: var(--btn-color);
      }

      button#btn-sign-in{
        border: none;
        font-family: var(--custom-font-family);
        font-size: 16px;
        background: none;
        color: var(--border-color);
        margin: 0;
        margin-left: 0.2em;
        padding: 0;
        font-size: 16px;
        cursor: pointer;
        display: inline-block;
        font-weight: 600;
      }
      #sign-in-text{
        justify-content: center;
      }

      @keyframes btn-submit {
        from{
            transform: scale(1);
        }
        to{
            transform: scale(0.95);
        }
      }
    }


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

        :root{
            padding-left: 35%;
            padding-right: 35%;
            --border-color: rgb(121, 74, 69);
            --btn-color: #cf8674;
        }
        #form-container>* , #form-container>*>*{
            display: flex;
            flex-direction: column;
        }
        fieldset>*{
            margin: 0.7rem 0;
        }
        #form-container{
            min-height: auto;
            margin-top: 10vh;
            background-color: white;
            border: 2px solid var(--border-color);
            padding: 3rem 4rem;
            box-shadow: 0px 0px 21px 1px rgba(0,0,0,0.36);
            -webkit-box-shadow: 0px 0px 21px 1px rgba(0,0,0,0.36);
            -moz-box-shadow: 0px 0px 21px 1px rgba(0,0,0,0.36);
        }
        #header-container{
            display: flex;
            justify-content: space-evenly;
            margin-bottom: 2rem;
        }
        #header-container>*{
            color: var(--border-color);
            font-size: 32px;
            font-weight: bold;
        }
        #h1-header{
            text-align: center;
            position: absolute;
        }
        #p-left{
            display: flex;
            margin-right: auto;
        }
        #p-right{
            display: flex;
            margin-left: auto;
        }
        input{
            border-bottom: 1px solid var(--border-color);
        }
        #sign-in-container, #term-fieldset{
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
        }
        #term-fieldset{
            margin-top: 5vh;
        }
        #tearms-cb{
            
            margin-right: 1rem;
        }
        input[type=checkbox]:hover, label[for=tearms-cb]:hover{
            cursor: pointer;
        }
        input[type=checkbox] {
            -webkit-appearance: none;
            appearance: none;
            background-color: #fff;
    
            font: inherit;
            color: var(--btn-color);
            width: 1.15em;
            height: 1.15em;
            border: 0.15em solid var(--border-color);
            border-radius: 0.15em;
            transform: translateY(-0.075em);
            accent-color: var(--btn-color);
            border: 1px solid var(--border-color);
            place-content: center;
            display: grid;
        } 
        input[type=checkbox]::before{
            content: "";
            width: 0.65em;
            height: 0.65em;
            transform: scale(0);
            transition: 120ms transform ease-in-out;
            box-shadow: inset 1em 1em var(--btn-color);
            transform-origin: center;
            clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
        } 
        input[type=checkbox]:checked::before{
            transform: scale(1.2);
        }
        input::placeholder{
            font-size: 10px;
            color: #bbbbbb;
        }
        #btn-submit {
            align-self: center;
            align-items: center;
            border-radius: 30px;
            padding: 1rem 2rem;
            min-width: 75%;
            margin: 1rem;
            background-image: linear-gradient(to right, #DD5E89 0%, #F7BB97  51%, #DD5E89  100%);
            margin: 10px;
            transition: 0.3s;
            background-size: 200% auto;
            color: white;  
            border: none;          
            box-shadow: 0 0 20px #eee;
            border-radius: 30px;
            display: block;
          }
    
          #btn-submit:hover {
            background-position: right center; /* change the direction of the change here */
            color: #fff;
            text-decoration: none;
            cursor: pointer;
          }
    
          #btn-submit:focus{
            background-color: var(--btn-color);
          }
    
          button#btn-sign-in{
            border: none;
            font-family: var(--custom-font-family);
            font-size: 16px;
            background: none;
            color: var(--border-color);
            margin: 0;
            margin-left: 0.2em;
            padding: 0;
            font-size: 16px;
            cursor: pointer;
            display: inline-block;
            font-weight: 600;
          }
          #sign-in-text{
            justify-content: center;
          }
    
          @keyframes btn-submit {
            from{
                transform: scale(1);
            }
            to{
                transform: scale(0.95);
            }
          }
        }