@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;
}

.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;
}

.input {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
}

.btn-group {
  display: flex;
}

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

input[type=button],
select {
  width: 80px;
  height: 40px;
  padding: 12px;
  margin: 10px;
  display: inline-block;
  border-radius: 4px;
  box-sizing: border-box;
  text-decoration: solid;
  text-align: center;
  color: black;
  font-size: 12px;
  font-family: var(--ff-header);
  background-color: var(--darkgrey);
}

.btn:hover {
  background-color: var(--blue);
  opacity: 1;
  color: white;
  font-family: var(--ff-heading);
}

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;
}

p {
  font-family: var(--ff-para);
  padding-left: 1rem;
  color: #000;
}

.box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: var(--grey);
  margin-bottom: 2rem;
  padding: 2rem;
  width: 100%;
}

.box h3 {
  font-family: var(--ff-heading);
  color: #000;
  margin-bottom: 10px;
  padding-left: 1rem;
  padding-right: 2rem;
}

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

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

@media screen and (max-width: 1200px) {
  .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;
  }

  h2 {
    font-family: var(--ff-heading);
    color: var(--white);
    font-weight: 100;
    font-size: 15px;
  }
}

@media screen and (max-width: 500px) {
  input[type=text],
  select {
    padding: 1rem;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    width: 230px;
    height: 50px;
    margin-bottom: 1rem;
    overflow: scroll;
  }

  .btn-group {
    display: flex;
    flex-direction: column;
  }
}

@media screen and (max-width: 350px) {
  input[type=text],
  select {
    padding: 1rem;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    width: 100px;
    height: 50px;
    margin-bottom: 1rem;
    overflow: scroll;
  }
}

@media screen and (min-width: 900px) {
  input[type=text],
  select {
    padding: 1rem;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    width: 600px;
    height: 200px;
    margin-bottom: 1rem;
    overflow: scroll;
  }
}
