/* CSS Reset */
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
   scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Remove default select style */
select {
    appearance: none;
    background-color: transparent;
    border: none;
    padding: 0 1em 0 0;
    margin: 0;
    width: 100%;
    font-family: inherit;
    font-size: inherit;
    cursor: inherit;
    line-height: inherit;
    outline:none;
}

/* Variables */
:root {
    --dark: #000000;
    --light: #ffffff;
    --grey: #464646;
    --yellow: #FFB100;

    --fs-300: clamp(0.75rem, 0.522rem + 0.927vw, 1.333rem);
    --fs-400: clamp(1rem, 0.87rem + 0.529vw, 1.333rem);
    --fs-500: clamp(0.75rem, 0.349rem + 1.632vw, 1.777rem);

    --select-border: #777;
    --select-focus: blue;
    --select-arrow: var(--select-border);
  }

/* Fonts */
@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'),
         url('../fonts/roboto-v30-latin-regular.ttf') format('truetype');
  }
  
@font-face {
font-display: swap;
font-family: 'Roboto';
font-style: normal;
font-weight: 700;
src: url('../fonts/roboto-v30-latin-700.woff2') format('woff2'),
        url('../fonts/roboto-v30-latin-700.ttf') format('truetype');
}
  
@font-face {
font-display: swap;
font-family: 'Roboto';
font-style: normal;
font-weight: 900;
src: url('../fonts/roboto-v30-latin-900.woff2') format('woff2'),
        url('../fonts/roboto-v30-latin-900.ttf') format('truetype');
}

html {
    height:100vh;
}

body {
    background-color:var(--dark);
    color:var(--light);
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    font-weight:400;
}

p { 
    display: block; 
    margin-block-start: 1em; 
    margin-block-end: 1em; 
    margin-inline-start: 0px; 
    margin-inline-end: 0px; 
}

a:link,
a:visited {
    display:inline-block;
    position:relative;
    text-decoration:none;
}


ul {
    list-style:none;
    padding:0;
    margin:1.25em 0 1.25em 0;

    li {
        list-style:none;
    }

}

h1 {
    font-weight:900;
    font-size:var(--fs-400);
    font-weight:900;
    margin-bottom:.5em;
    text-transform:uppercase;
    color:var(--yellow);
}

h1.site-title {
    color:var(--light);
    font-size:var(--fs-300);
}

h2 {
    font-weight:900;
    font-size:var(--fs-400);
    font-weight:900;
    margin-bottom:.5em;
    text-transform:uppercase;
    color:var(--grey);
}

.container {
    display:flex;
    flex-direction:column;
    width:100%;
    min-height:10em;
}

@media screen and (min-width: 40em) {
    .container {
        display:flex;
        flex-direction:row;
        width:100%;
        min-height:100vh;
    }
}

.col {
    display:flex;
    flex-direction:column;
    justify-content: start;
    align-items: center;
}

@media screen and (min-width: 40em) {
    .col {
        justify-content: center;
    }
}

.col-1 {
    flex: 0 0 33%;
}

.col-2 {
    flex: 1;
    position:relative;
    /* min-height:100vh; */
}


.sidebar {
    position:relative;
    overflow:hidden;
    width:100%;
    height:10em;
}

.sidebar-bg {
    background-image:none;
    background-repeat:no-repeat;
    background-position:center;
    background-size:cover;
    height: inherit;
    width:100%;
}

@media screen and (min-width: 40em) {
    .sidebar {
        height:100vh;
    }
    
    .sidebar-bg {
        position:absolute;
        background-image:url('../img/sidebar-bg.jpg');
        height:100vh;
        opacity:.6;
    }
}

.logo {
    position:absolute;
    z-index:2;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    text-align:center;
    width:clamp(9.375rem, 5.716rem + 14.896vw, 18.75rem);
}

.logo img {
    margin-bottom:1em;
}

#registrationForm,
.content {
    width:80%;
}

@media screen and (min-width: 40em) {
    #registrationForm,
    .content {
        width:66%;
        max-width:580px;
    }
}

.form-wrapper {
    background-color:var(--yellow);
    border-radius:10px;
    padding:1.5em;
    margin-bottom:2em;
}


.input-wrapper {
    display:flex;
    flex-direction:column;
    gap:0;
}

.input-wrapper > div {
    flex: 1;
}


@media screen and (min-width: 40em) {
    .input-wrapper {
        display:flex;
        flex-direction:row;
        gap:1em;
    }
}

.button-wrapper {
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
}

label {
    display:block;
    font-weight:700;
    font-size:.75rem;
    margin-bottom:.5em;
    color:var(--dark);
    letter-spacing:.01rem;
}

.checkbox-label {
    display: grid;
    grid-template-columns: 1em auto;
    gap: 1.3em;
}

.checkbox-label > span {
    width:100%;
    max-width: 20em;
    font-weight:400;
    font-size:1rem;
    margin-top:-.15em;
}

input {
    display: block;
    margin-bottom: 1em;
    padding: 6px 8px;
    width: 100%;
    border-radius:5px;
    border: 1px solid #7C7C7C;
    outline:none;
    color:var(--dark);
}

input#socialMedia {
    margin-top:.25em;
}

input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    background-color: var(--light);
    margin: 0;
    width: 1.5em;
    height: 1.5em;
    border-radius:2px;
    display: grid;
    place-content: center;
}

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(--dark);
}
  
input[type="checkbox"]:checked::before {
    transform: scale(1);
}
  

button,
.button {
    border: 3px solid var(--yellow);
    background-color: var(--dark);
    color:var(--yellow);
    padding:.5em .25em;
    width:100%;
    max-width:280px;
    border-radius:50px;
    text-transform:uppercase;
    font-weight:900;
    transition:.3s ease;
    letter-spacing: 0.025rem;
}

.button {
    margin-top:2em;
}

button:hover,
.button:hover {
    border: 3px solid var(--dark);
    background-color: var(--yellow);
    color:var(--dark);
    cursor:pointer;
}

.select {
    display: grid;
    grid-template-areas: "select";
    width: 100%;
    max-width: 16em;
    border: 1px solid var(--select-border);
    border-radius: 0.25em;
    padding: 0.5em 0.5em;
    font-size: 1rem;
    cursor: pointer;
    line-height: 1.1;
    color:var(--dark);
    background-color: #fff;
    background-image: linear-gradient(to top, #f9f9f9, #fff 33%);
}

.select select, .select::after {
    grid-area: select;
  }

.select::after {
    content: ' ';
    justify-self: end;
    border-bottom: 3px solid var(--dark);
    border-right: 3px solid var(--dark);
    height: 10px;
    width: 10px;
    transform: rotate(45deg);
    border-radius:1px;
    margin:.15em;
}

.equipment-info {
    font-size:.75rem;
    color:var(--dark);
}

#errorStep1,
#errorStep2,
#errorStep3,
#vatStatusMessage {
    margin-top:1em;
    color:#bb0a0a;
    font-size:.75rem;
}

#errorStep3 {
    margin-bottom:2em;
}

.footer-nav {
    width:100%;
    padding:2em 1.25em;
    flex-shrink: 0;

    display:flex;
    flex-direction:row;
    justify-content:center;
    align-items:center;
    gap:1em;
    font-size:.75rem;
}

.footer-nav a {
    color:var(--light);
    transition:.3s ease;
}

.footer-nav a:hover {
    color:var(--yellow);
}