@import url('https://fonts.googleapis.com/css2?family=Crimson+Text&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Redressed&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@300&display=swap');

:root {
  --white: white;
  --grey: #e9ecef;
  --darkgrey: #adb5bd;
  --blue: #284b63;
  --green: #3c6e71;
  --light-blue: #20639b;
  --ff-heading: 'Kaushan Script', cursive;
  --ff-body: 'Poppins', sans-serif;
  --ff-footer: 'Dancing Script', cursive;
  --ff-header: 'Redressed, cursive;';
  --ff-para: 'Mukta', sans-serif;;
}

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

html,
body {
  height: 100%;
}

html {
  position: relative;
}

body,
header,
h2,
.container,
footer {
  margin: 0;
  padding: 0;
}

body {
  background: var(--grey);
  font-family: var(--ff-body);
  font-weight: 400;
  width: 100%;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
}

h2 {
  font-family: var(--ff-heading);
  color: var(--white);
  font-weight: 200;
}

header {
  background-color: var(--blue);
  text-align: center;
  width: 100%;
  display: flex;
  align-items: center;
}

.hd-text {
  margin-right: auto;
  padding: 1rem;
}

.home {
  margin-left: auto;
  padding-right: 3rem;
}

footer {
  background-color: var(--blue);
  color: white;
  display: flex;
  align-content: center;
  width: 100%;
  flex: 0 0 60px;
  margin-top: auto;
}

.footer-text {
  margin-right: auto;
  padding: 1rem;
}

.footer-icons {
  margin-left: auto;
  padding: 1rem;
}

.footer-text h4 {
  font-family: var(--ff-header);
  margin: 10px;
}

footer a {
  text-decoration: none;
}

.footer-icons ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 10px;
}

.footer-icons ul li {
  list-style: none;
  margin: 0 10px;
}

.box-1 {
  height: auto;
}

.footer-icons ul li .fa {
  color: white;
  font-size: 20px;
  line-height: 10px;
  transition: 0.5s;
  cursor: pointer;
}

.footer-icons ul li .fa:hover {
  color: #fff;
}

.topnav {
  overflow: hidden;
  font-family: var(--ff-heading);
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 15px;
}

.topnav a:hover {
  background-color: var(--light-blue);
  color: black;
}

.topnav a.active {
  background-color: var(--grey);
  color: black;
}

.topnav .icon {
  display: none;
}

.wrapper {
  margin: 2rem;
}

.wrapper-left {
  background-color: white;
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  margin: 0 auto;
}

.wrapper-left h3 {
  text-align: center;
  font-family: var(--ff-heading);
  color: #000;
  margin-bottom: 1rem;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

input[type=text],
select {
  padding: 0.5rem;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 2px;
  box-sizing: border-box;
  width: 320px;
  height: 34px;
}

input[type=button],
select {
  padding: 0.5rem;
  display: inline-block;
  border-radius: 2px;
  box-sizing: border-box;
  background: grey;
  text-decoration: solid;
  text-align: left;
  color: black;
  margin: 1rem;
  width: 320px;
  height: 34px;
}

input[type=number],
select {
  padding: 0.5rem;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 2px;
  box-sizing: border-box;
  width: 320px;
  height: 34px;
  margin: 1rem;
}

.label {
  font-family: var(--ff-heading);
  text-align: left;
  font-size: 15px;
  margin: 10px;
  padding: 5px;
  color: #000;
}

.select {
  padding: 8px 12px;
  color: #000;
  background: var(--grey);
  cursor: pointer;
  border-radius: 5px;
  border: 1px solid #ddd;
  width: 320px;
  height: 40px;

  /* Replace Default styling of arrow */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8, <svg xmlns = "http://www.w3.org/2000/svg" width ="100" height ="50"> <polygon points ="0,0 100,0  50,50" style = "fill: %23666666;"/> </svg>');
  background-position: right 10px top 50%;
  background-repeat: no-repeat;
  background-size: 10px;
  padding-right: 30px;
}

.select:focus,
.select:hover {
  outline: none;
  border: 1px solid #bbb;
}

.select option {
  background: white;
}

@media screen and (max-width: 700px) {
  .topnav a:not(:first-child) {
    display: none;
  }

  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 700px) {
  .topnav.responsive {
    position: relative;
  }

  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

@media screen and (max-width: 400px) {
  .topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 12px 10px;
    text-decoration: none;
    font-size: 10px;
  }

  .topnav a:hover {
    background-color: #ddd;
    color: black;
  }

  .topnav a.active {
    background-color: var(--grey);
    color: black;
  }
}

@media screen and (max-width: 500px) {
  input[type=text],
  select {
    padding: 0.5rem;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 2px;
    box-sizing: border-box;
    width: 200px;
    height: 34px;
  }

  .select {
    width: 200px;
  }

  input[type=number],
  select {
    padding: 0.5rem;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 2px;
    box-sizing: border-box;
    width: 200px;
    height: 34px;
    margin: 1rem;
  }
}

@media screen and (min-width: 1000px) {
  input[type=text],
  select {
    padding: 0.5rem;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 2px;
    box-sizing: border-box;
    width: 500px;
    height: 34px;
  }

  .select {
    width: 500px;
  }

  input[type=number],
  select {
    padding: 0.5rem;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 2px;
    box-sizing: border-box;
    width: 500px;
    height: 34px;
    margin: 1rem;
  }
}
