html, body {
    height:100%;
}

body {
    margin-right: 0px;
    margin-left: 0px;
    margin-top: 0px;
    padding-bottom: 0px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: #ededed;
}

p {
  text-align: justify;
}





/*
 * Formatting the footer area
 */
.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #433E3F;
    color: #bdcad9;
    text-align: center;
    font-size: x-small;
}
.footer p {
    flex-grow: 10;
    text-align: center
}
.footer-spacer {
    /* It will take up the same space as the button on the other side */
    visibility: hidden;
    flex: 1; /* Adjust this as necessary to mimic the button's width */
}




/*
 * Formatting the header area
 */
header {
    background-color: #433E3F;
    height: 11%;
    width: 100%;
}
header h1.logo {
    margin: 0;
    font-size: 1.6em;
    color: #bdcad9;
    float: left;
    padding-top: 2.25%;
}
header h1.logo a {
    color: #bdcad9;
    text-decoration: none;
    -webkit-transition: color 400ms;
    -ms-transition: color 400ms;
    transition: color 400ms;
}
header h1.logo a:visited {
    color: #bdcad9;
    text-decoration: none;
}
header h1.logo a:hover {
    color: #fff;
    font-weight: bold;
}




/*
 * Login form style (from sfhi.eu)
 */
*, :after, :before {
   box-sizing: border-box;
}
.col-sfhi {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}
.form-group {
    margin-bottom: 1rem;
}
.form-group label {
    padding-bottom: 5px;
    display: inline-block;
}
.form-input {
    display: block;
    width: 100%;
    height: calc(1em + 1rem + 2px);
    padding: 0.5rem 0.6875rem;
    font-family: Gotham Rounded;
    line-height: 1;
    color: #1b1e4b;
    background-color: #fff;
    background-clip: padding-box;
    border-radius: 29px;
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%);
}

/*
 * Error messages
 */
.error {
    color: FireBrick;
}
.error_small_font {
    color: FireBrick;
    font-size: small;
}
.warning_small_font {
    color: darkorange;
    font-size: small;
}



/*
 * Centering the body content
 */
.container {
    width: 80%;
    margin: 0 auto;
    position: relative;
}

/*
 * Formatting the main content area
 */
.disclaimer {
color: #8b0000; /* dark red color */
font-size: 14px;
font-style: italic;
}
div.home {
    padding: 10px 10px 30px 10px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}
div.about {
    padding: 10px 10px 30px 10px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}
h2 {
    font-size: 3em;
    margin-top: 40px;
    text-align: center;
    letter-spacing: -2px;
}
h3 {
    font-size: 1.7em;
    font-weight: 100;
    margin-top: 30px;
    text-align: center;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    padding-top:1.5%;
}
li {
    float: right;
    margin: auto;
    text-align: center;
    padding: 14px 16px;
}
li a {
    display: block;
    text-align: center;
    text-decoration: none;
    -webkit-transition: color 400ms;
    -ms-transition: color 400ms;
    transition: color 400ms;
    color: #bdcad9;
}
/* Change the link color to #111 (black) on hover */
li a:hover {
    color: #fff;
}


/*
 * Inputs styling
 */
input[type=text] {
    width: 50%;
    transition: width 0.4s ease-in-out;
}
input[type=text]:focus {
    border: 3px solid #555;
    width: 75%;
    background-color: #f7f7fd;
}
input[type=password] {
    width: 50%;
    transition: width 0.4s ease-in-out;
}
input[type=password]:focus {
    border: 3px solid #555;
    width: 75%;
    background-color: #f7f7fd;
}


/*
 * Buttons styling
 */
button {
  background-color: #433E3F;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: 0.4s;
}

button:hover {
  opacity: 0.75;
}
.button1 {
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 8px;
    background-color: white;
    color: black;
    border: 2px solid #555555;
    transition-duration: 0.4s;
    width: 40%;
    cursor: pointer;
}
.button1:hover {
    background-color: #93abc4;
    color: white;
}
.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}



table {
    border: 2px solid black;
    border-radius: 5px;
    padding: 8px;
}
caption {
    font-weight: bold;
}
.centered-table td {
    text-align: center;
}


.bigger { font-size:125%; }

.SlateBlue { color:#433E3F; }

.MediumSeaGreen { color:#136F63; }

p.round1 {
  border: 2px solid black;
  border-radius: 5px;
  padding: 8px;
  text-align: center;
}



/* Styling the SELECT form */



select {
  // A reset of styles, including removing the default dropdown arrow
  appearance: none;
  background-color: rgba(230, 230, 230);
  border: none;
  padding: 0 1em 0 0;
  margin: 0;
  width: 100%;
  font-family: inherit;
  font-size: 11;
  cursor: inherit;
  line-height: inherit;

  // Stack above custom arrow
  z-index: 1;

  // Remove dropdown arrow in IE10 & IE11
  // @link https://www.filamentgroup.com/lab/select-css.html
  &::-ms-expand {
    display: none;
  }

  // Remove focus outline, will add on alternate element
  outline: none;
}

.select {
  display: grid;
  grid-template-areas: "select";
  align-items: center;
  position: relative;

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

  min-width: 15ch;
  max-width: 30ch;

  border: 1px solid var(--select-border);
  border-radius: 0.25em;
  padding: 0.25em 0.5em;

  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1.1;
}

// Interim solution until :focus-within has better support
select:focus + .focus {
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border: 2px solid var(--select-focus);
  border-radius: inherit;
}

select:focus + .focus {
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border: 2px solid var(--select-focus);
  border-radius: inherit;
}

/* Basic styling for dropdown menus */
select#mySelectLangue {
    padding: 2px 6px; /* Reduced padding */
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: #ebebeb;
    font-family: Arial, sans-serif;
    width: 200px; /* Adjust as per your requirement */
    font-size: 14px; /* Adjust font size if needed */
    -webkit-appearance: none; /* Removes default styling for webkit browsers */
    -moz-appearance: none; /* Removes default styling for Firefox */
    appearance: none; /* Removes default styling */
    position: relative;
}

/* Custom arrow for dropdown menus */
select#mySelectLangue {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 4 5"><path fill="rgb(0, 0, 0)" d="M2 0L0 2h4L2 0zm0 5L0 3h4l-2 2z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}

/* Hover effect for dropdown menus */
select#mySelectLangue:hover {
    border-color: #888;
}

/* Focus effect for dropdown menus */
select#mySelectLangue:focus {
    outline: none;
    border-color: #555;
}


/* Contact me button */
.btn-4 {
    position: relative;
    color: #000;
    z-index: 2;
    padding: 2px 10px;
    margin-right: 1%;
}
.btn-4 button {
    padding: 1px 5px; /* Reduced padding for the button to decrease height */
    width: auto; /* Adjust the width as needed, auto will make it content-based */
    background-color: inherit; /* Optionally make the button background match the .btn-4's background */
    border: none; /* Removes border if not needed */
}
.btn-4:hover{
    border: none;
}
.btn-4:before,
.btn-4:after {
    position: absolute;
    content: "";
    width: 0%;
    height: 0%;
    border: 2px solid;
    z-index: -1;
    transition: all 0.5s ease;
}
.btn-4:before {
    top: 0;
    left: 0;
    border-bottom-color: transparent;
    border-right-color: transparent;
    border-top-color: #000;
    border-left-color: #000;
}
.btn-4:after{
    bottom: 0;
    right: 0;
    border-top-color: transparent;
    border-left-color: transparent;
    border-bottom-color: #000;
    border-right-color: #000;
}
.btn-4:hover:before,
.btn-4:hover:after {
    border-color: #000;
    height: 100%;
    width: 100%;
}
