*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

#sidebar {
  padding: 1rem;
  position: relative;
  z-index: 2;
}
#sidebar .nav > li {
  display: inline-block;
}
#sidebar footer {
  display: flex;
  justify-content: space-between;
}
#sidebar footer p {
  margin: 0;
}

#main {
  padding: 2rem 1rem;
  min-height: 100vh;
}

@media (min-width: 800px) {
  #sidebar {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 264px;
    position: fixed;
    height: 100%;
    box-sizing: border-box;
    padding: 30px 30px 30px 0;
  }
  #sidebar header {
    margin-bottom: 3rem;
  }
  #sidebar .nav {
    flex: 1 1;
  }
  #sidebar .nav > li {
    display: block;
  }
  #sidebar footer {
    display: block;
  }
  #main {
    margin-left: 264px;
  }
}
@media (min-width: 1064px) {
  #sidebar {
    width: calc((100% - 1064px) / 2 + 264px);
    min-width: 264px;
  }
  #main {
    margin-left: calc((100% - 1064px) / 2 + 264px);
    width: 800px;
    box-sizing: border-box;
    padding: 2rem;
  }
}
.m-0 {
  margin: 0 !important;
}

.m-1 {
  margin: 0.25rem !important;
}

.m-2 {
  margin: 0.5rem !important;
}

.m-3 {
  margin: 1rem !important;
}

.m-4 {
  margin: 1.5rem !important;
}

.m-5 {
  margin: 3rem !important;
}

.mr-0 {
  margin-right: 0 !important;
}

.mr-1 {
  margin-right: 0.25rem !important;
}

.mr-2 {
  margin-right: 0.5rem !important;
}

.mr-3 {
  margin-right: 1rem !important;
}

.mr-4 {
  margin-right: 1.5rem !important;
}

.mr-5 {
  margin-right: 3rem !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 0.25rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.p-0 {
  padding: 0 !important;
}

.p-1 {
  padding: 0.25rem !important;
}

.p-2 {
  padding: 0.5rem !important;
}

.p-3 {
  padding: 1rem !important;
}

.p-4 {
  padding: 1.5rem !important;
}

.p-5 {
  padding: 3rem !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.pt-1 {
  padding-top: 0.25rem !important;
}

.pt-2 {
  padding-top: 0.5rem !important;
}

.pt-3 {
  padding-top: 1rem !important;
}

.pt-4 {
  padding-top: 1.5rem !important;
}

.pt-5 {
  padding-top: 3rem !important;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.pb-1 {
  padding-bottom: 0.25rem !important;
}

.pb-2 {
  padding-bottom: 0.5rem !important;
}

.pb-3 {
  padding-bottom: 1rem !important;
}

.pb-4 {
  padding-bottom: 1.5rem !important;
}

.pb-5 {
  padding-bottom: 3rem !important;
}

.alert {
  position: relative;
  padding: 1rem;
  margin-bottom: 1.5rem;
}
.alert .close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: transparent;
  border: 0;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
}
.alert.alert-success {
  background-color: #c8f4ff;
}
.alert.alert-danger {
  background-color: #ffd8cc;
}

body {
  background: linear-gradient(90deg, #598eaa 80%, #b1d7eb);
  font-size: clamp(14px, 3vw, 18px);
  font-family: Arial, Helvetica, sans-serif;
  color: #333333;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  text-transform: uppercase;
  margin-top: 0;
  line-height: 1;
}

h1, .h1 {
  font-size: clamp(1.85rem, 8vw, 3rem);
  margin-bottom: clamp(1.5rem, 7vw, 2.5rem);
}

h2, .h2 {
  font-size: clamp(1.65rem, 7vw, 2.5rem);
  margin-bottom: clamp(1.4rem, 6vw, 2rem);
}

h3, .h3 {
  font-size: clamp(1.45rem, 6vw, 2rem);
  margin-bottom: clamp(1.3rem, 5vw, 1.75rem);
}

p {
  margin: 1rem 0;
}

section::after, .clearfix, .clear-after::after {
  content: "";
  display: block;
  clear: both;
}

hr {
  margin: 2rem 0;
  height: 1px;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
  border: 0;
  clear: both;
}

ul {
  margin: 1.5rem 0;
  padding: 0 0 0 1rem;
}
ul ul {
  margin: 0.5rem 0;
}

body.admin {
  background: #fff;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

input[type=text],
input[type=email],
input[type=password],
textarea {
  padding: 0.5rem;
  margin: 0;
  border: 1px solid rgb(229.5, 229.5, 229.5);
  font-size: 18px;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=password]:focus,
textarea:focus {
  outline: 0;
  border-color: #223d46;
}
input[type=text],
input[type=email],
input[type=password],
textarea {
  width: clamp(300px, 100%, 600px);
}

.form-row {
  margin-bottom: 1.25rem;
}

.invalid {
  color: #ff3c00;
}

.collapse {
  display: none;
}

a.logo {
  display: block;
}

img.avatar {
  display: block;
  border-radius: 80px;
  margin-right: 10px;
}

.small-text {
  font-size: 0.8rem;
}

.center, .text-center {
  text-align: center;
}

.float-left {
  float: left;
}

.clear {
  clear: both;
}

.color-success {
  color: #ff5500;
}

.btn {
  display: inline-block;
  padding: 0.25rem 0.85rem;
  background-color: #223d46;
  color: #fff !important;
  text-decoration: none;
  border-radius: 5px;
  border: none;
  font-weight: bold;
  font-size: 18px;
}
.btn:hover {
  background-color: rgb(50.6730769231, 90.9134615385, 104.3269230769);
}
.btn.btn-success {
  background-color: #ff5500;
}
.btn.btn-success:hover {
  background-color: #ff7733;
}

.breadcrumb {
  list-style: none;
  padding: 0.5rem;
  display: flex;
  margin: 0 0 1.5rem 0;
}
.breadcrumb .breadcrumb-item + .breadcrumb-item {
  padding-left: 0.5rem;
}
.breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  float: left;
  padding-right: 0.5rem;
  content: "/";
}

#sidebar {
  background-color: #fff;
  text-align: right;
  box-shadow: 6px 6px 20px 0px rgba(0, 0, 0, 0.15);
}
#sidebar header {
  text-align: center;
}
#sidebar a {
  color: #333333;
  text-decoration: none;
}
#sidebar a:hover {
  color: rgb(89.25, 89.25, 89.25);
}
#sidebar ul.nav {
  list-style: none;
  padding: 0;
  border-top: 1px solid rgb(229.5, 229.5, 229.5);
}
#sidebar ul.nav > li {
  border-bottom: 1px solid rgb(229.5, 229.5, 229.5);
}
#sidebar ul.nav > li a {
  text-decoration: none;
  display: block;
  padding: 0.35rem 0.75rem;
  margin: 0.25rem 0;
}
#sidebar ul.nav > li.active a {
  color: #000000;
  font-weight: bold;
}

#main {
  background-color: #fff;
}
#main a {
  color: rgb(50.6730769231, 90.9134615385, 104.3269230769);
}
#main a:hover {
  color: rgb(84.7115384615, 150.3942307692, 172.2884615385);
}

#intro h1 {
  text-transform: none;
}

.work.card {
  margin-bottom: 3rem;
}
.work.card a {
  text-decoration: none;
}
.work.card a:hover {
  text-decoration: underline;
}
.work.card .title {
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  margin-bottom: 1rem;
}

.work-img {
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.work-img img {
  max-width: 100%;
  transition: all 1s;
}
.work-img img:hover {
  -webkit-transform: scale(1.3);
  transform: scale(1.3);
}

@media (min-width: 800px) {
  .cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .work-img {
    width: auto;
  }
  .work-img img {
    display: block;
  }
}
@media (min-width: 1064px) {
  .work.card {
    margin-bottom: 3rem;
    width: 350px;
  }
  .work-img {
    width: 350px;
  }
}