@font-face {
    font-family: 'CircularXX';
    src: url("../fonts/circular/CircularXXSub-Regular.woff2") format("woff2");
    font-weight: 400; /* Regular */
    font-style: normal;
}

@font-face {
    font-family: 'CircularXX';
    src: url("../fonts/circular/CircularXXSub-Medium.woff2") format("woff2");
    font-weight: 450; /* Medium */
    font-style: normal;
}

@font-face {
    font-family: 'CircularXX';
    src: url("../fonts/circular/CircularXXSub-Bold.woff2") format("woff2");
    font-weight: 700; /* Bold */
    font-style: normal;
}

body {
    font-family: 'CircularXX', sans-serif;
    background-color: white;
    margin: 0;
    padding: 0;
    height: 100vh; /* Full viewport height */
    display: flex;
    justify-content: center; /* Center the container horizontally */
    align-items: flex-start; /* Align container at the top */
}

.container {
    background: linear-gradient(180deg, #FEEFEC 0%, #FFFFFF 100%);
    
    border-radius: 12px;
    width: 90% !important; /* Adjust to fit smaller screens */
    max-width: 730px !important; /* Keeps max size */
    height: calc(100vh - 60px); /* Adjust height to fit the viewport minus top margin */
    display: flex;
    flex-direction: column;
    align-items: center; /* Align items to the start (left) */
    justify-content: space-between; /* Space between header, main, and footer */
    margin-top: 100px; /* Top margin */
}

.header {
    width: 100%; /* Ensure header takes full width */
}

.logo {
    width: 150px;
    margin-left: 20px; /* Padding from left */
    margin-top: 20px; /* Padding from top */
}

main {
    text-align: center; /* Center the content inside main */
    flex: 1; /* Allow main to take up remaining space */
    width: 100% !important;
    max-width: 450px !important;
	margin-top: 50px;
}

footer {
    width: 100%; /* Ensure footer takes full width */
    text-align: center; /* Center the footer content */
    margin-top: 20px; /* Space above footer */
}
.icon {
    width: 60px;
    margin: 20px auto;
    display: block;
}

.loginIcon {
    width: 100px;
    margin: 20px auto;
    display: block;
}

h1 {
    font-size: 40px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: -2px;
    text-align: center;
    color: #000000;
}

p {
    font-size: 20px;
    font-weight: 400;
    color: #000000;
    margin: 10px 0;
}

.small-text {
    font-size: 16px; /* Adjust size as needed */
	margin: 0;

}

.link-rail {
    padding-top:40px;
}

.timer {
    font-size: 20px;
    font-weight: 400;
    color: #000000;
    margin-top: 10px;
}

.resend {
    background: none; /* Removes background */
    border: none; /* Removes border */
    text-decoration: underline; /* Adds underline like a link */
    cursor: pointer; /* Makes it look clickable */
    font-size: 20px; /* Matches surrounding text */
    padding: 0; /* Removes default padding */
}

.resend:hover {
    color: #000000; /* Darker color on hover */
}


footer a {
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    line-height:26px;
    margin: 0 5px;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.no-bullets {
  list-style-type: none;
  padding-left: 0;
  margin-left: 0;
}

.emailInput {
	max-width: 322px;
    width:100%;
    height: 36px;
    text-align: center;
    border-radius: 5px;
	border-block-color: lightgray;
}

/* Button styles */
.bankButtonWrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 50px;
}

.vippsButton, .bankButton {
	font-family: 'CircularXX', sans-serif !important;
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* Vipps button */
.vippsButton {
    background-color: #EF4821;
    color: white;
	margin-top: 20px;
    margin-bottom: 55px;
}

.vippsButton:hover {
    background-color: #e65c00;
}

.loginButton {
	font-family: 'CircularXX', sans-serif !important;
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    border: none;
    border-radius: 6px;
    cursor: pointer;
	background-color: #EF4821;
    color: white;
	margin-top: 20px;
    margin-bottom: 55px;
	max-width: 330px;
}

.loginButton:hover {
    background-color: #e65c00;
}

/* BankID button */
.bankButton {
    background: none; /* Removes background */
    border: none; /* Removes border */
    text-decoration: underline; /* Adds underline like a link */
    cursor: pointer; /* Makes it look clickable */
    font-size: 20px; /* Matches surrounding text */
    padding: 0; /* Removes default padding */
	color: #000000;
}

.loginLinkButton {
    background: none; /* Removes background */
    border: none; /* Removes border */
    text-decoration: underline; /* Adds underline like a link */
    cursor: pointer; /* Makes it look clickable */
    font-size: 17px; /* Matches surrounding text */
    padding: 0; /* Removes default padding */
	color: #000000;
}

button.bankButton[type="submit"] {
    font-size: 16px; /* Adjust the font size as needed */
}


.bankButton:hover {
    color: #333; /* Darker color on hover */
}

@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 15px;
		margin-top: 6px; /* Top margin */
    }



    h1 {
        font-size: 28px;
    }

    p {
        font-size: 16px;
    }



    .bankButton, .vippsButton, .loginButton {
        font-size: 14px;
        padding: 10px;
    }
}