:root{
    font-size: 15px;
    font-family: 'Inter', 'Helvetica', 'Arial', sans-serif;
    --main-clr: #1b1b1b;
    --secondary-clr: rgb(96, 77, 52);
    --light-clr: #d7d7d7;
    --bg-clr: rgb(236, 229, 220);
    --white-clr: white;
    --alert-clr: rgb(184, 19, 19);
    --focus-clr: darkblue;
}

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

@font-face {
    font-family: "Norse";
    src: url(Norse-Bold.otf);
}

body{
    line-height: 1.5;
    background-color: var(--bg-clr);
    font-family: 'Inter';
    height: 100%;
    display: flex;
    flex-direction: column;

}




main{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 24px;
    flex: 1;
}

header{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-image: url(images/cat.jpeg) ;
    height: 50vh;
    position: relative;
    width: 100%;
   
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}



.license p, .license a{
    font-size: 0.8rem;
    color: var(--main-clr);
    margin-bottom: 16px;
    
}


.logo-text{
    font-family: 'Norse';
    font-size: 2.4rem;
    color: white;
}


.logo-img{
    display: block;
    width: 10%;
}

.logo{
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.1);
    width: 100%;
    justify-content: center;
    padding: 12px;
  
}



form{
    width: 100%; 
    font-size: 1.2rem;  
    background-color: var(--white-clr);
    padding: 24px;
    box-shadow: 0 0 10px 3px rgba(0,0,0,0.1);
}


form > p{
    padding-bottom: 20px;
}

fieldset{
    border: none;
}

.sr-only{
    position:absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.form-section {
    font-size: 1.5rem;
    color: var(--main-clr);
    display: flex;
    flex-direction: column;
    gap: 24px;
    background-color: var(--bg-clr);
    
}

.form-section .intro{
    margin: 24px;
}

.intro p{
    font-size: 1.2rem;
}


.form-section p{
    font-weight: 500;
}


.form-row{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 12px;
    gap: 4px;
}

.form-row input{
    width: 100%;
    border: 1px solid var(--light-clr);
    padding: 8px;
    font-size: 1.2rem;
    border-radius: 4px;
}

.form-row input[type="password"]{
    border: 2px solid var(--alert-clr);
}



.form-row input[type="password"]:focus{
    border: 2px solid var(--alert-clr);
    box-shadow: 0 0 4px 3px rgba(255, 166, 166, 0.5);
}



.form-row input:focus{
    width: 100%;
    border: 2px solid var(--focus-clr);
    padding: 8px;
    font-size: 1.2rem;
    border-radius: 4px;
    box-shadow: 0 0 4px 3px rgba(166, 166, 255, 0.5);
}


button{
    padding: 12px 32px;
    font-size: 1.1rem;
    background-color: var(--secondary-clr);
    color: var(--bg-clr);
    border-radius: 4px;
    border: none;
    font-weight: bold;
}

.pswd{
    margin-bottom: 32px;
}

.login{
    display:flex;
    gap: 12px;
    margin-left: 20px;
    margin-right: 20px;
    margin-bottom: 32px;
    align-items: center;
}

.login p, a{
    font-size: 1.2rem;
}

.login a{
    text-decoration: none;
    color: var(--secondary-clr);
    font-weight: bold;
}


label{
    text-transform:uppercase;
    font-size: 1rem;
    font-weight: bold;
}


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



main{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    min-height: 100vh;
}

header{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    background-image: url(images/cat.jpeg) ;
   
    position: relative;
    width: 40%;
    height: auto;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}



.logo-text{
    font-family: 'Norse';
    font-size: 4rem;
    color: white;
}


.logo-img{
    display: block;
    width: 80px;
}

.logo{
    display: flex;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.1);
    width: 100%;
    justify-content: center;
    padding: 12px;
    margin-top: 72px;
  
}

.intro {
    padding-right: 8%;
}


.form-section {
    font-size: 1.5rem;
    color: var(--main-clr);
    display: flex;
    flex-direction: column;
    background-color: var(--bg-clr);
    padding-top: 5%;
    
    
}



form{
    width: 100%; 
    font-size: 1.2rem;  
    background-color: var(--white-clr);
    padding: 24px 72px 24px 24px;
    box-shadow: 0 0 10px 3px rgba(0,0,0,0.1);
}


.form-row{
    display: flex;
    flex-direction: row;
    gap:16px;
}

.form-items{
    flex: 1;
    width: 50%;
}

.license p, .license a{
    font-size: 0.8rem;
    color: var(--light-clr);
}

label{
    text-transform:uppercase;
    font-size: 0.9rem;
    font-weight: bold;
}


}


input::placeholder{
    color: var(--light-clr)
}

footer{
    text-align: right;
    font-size: 0.7rem;
    padding-right: 1rem;
    padding-bottom: 0.5rem;
    padding-top:0.5rem;
    background-color: var(--main-clr);
    color: var(--bg-clr);
}

footer a{
    text-align: right;
    font-size: 0.7rem;

    background-color: var(--main-clr);
    color: var(--bg-clr);
    text-decoration: none;
}