/* site styling */
.module {
    cursor: url(assets/images/leb.png);
}


body {
    background-color: beige;
}

hr.divider {
    position: relative;
    border-top: 2px dashed olivedrab;
}

/* font imports */
@font-face {
    font-family: oliver;
    src: url(assets/fonts/oliver/Olivera_Demo.ttf);
}

@font-face {
    font-family: gladolia;
    src: url(assets/fonts/gladolia-demo/GladoliaDEMO-Regular.otf);
}

@font-face {
    font-family: ruigslay;
    src: url(assets/fonts/ruigslay/Ruigslay.otf);
}

@font-face {
    font-family: talina;
    src: url(assets/fonts/talina-demo/Talina\ DEMO.otf);
}

/* Navbar styling */
.top-nav {
    background-color: darkolivegreen;
    overflow: hidden;
    position: full-width;
}

.top-nav a {
    float: right;
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.top-nav a:hover {
    background-color: rgb(147, 169, 110);
    color: black;
}

/* Home styling */
.profile-pic {
    width: 25%;
    display: block;
    margin: 0 auto;
    border-radius: 50%;
}

header{
    text-align: center;
}

h1 {
    color: darkolivegreen;
    font-family: ruigslay;
    font-size: 2.5em;
    display: table;
    margin: 0 auto;
    padding: 0 8px;
    background-image: linear-gradient(beige 60%, #A7DCA5 55%);
}

h2 {
    color: darkolivegreen;
    font-family: talina;
    font-size: 1em;
    text-align: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

p {
    color: darkslategray;
    font-family: oliver;
    font-weight: bold;
    font-size: 1.3em;
    text-align: center;
}

/* timeline styling */
.timeline {
    max-width: 600px;
    margin: 0 auto;
    list-style-type: none;
}

.entry-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.entry {
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid darkolivegreen;
}

.entry:last-child {
    border-bottom: none;
}

.entry-note {
    font-family: gladolia;
    font-size: 0.85em;
    color: darkslategray;
    text-align: center;
}

/* Project styling */
h3 {
    color: darkolivegreen;
    font-family: talina;
    font-size: 1em;
    text-align: center;
}

.cards{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding-bottom: 50px;
}

.card {
  width: 300px;
  padding: 20px;
  background: #fff;
  border: 6px solid darkolivegreen;
  box-shadow: 12px 12px 0 black;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translate(-5px, -5px);
  box-shadow: 17px 17px ;
}

.card-title {
  font-size: 32px;
  font-weight: 900;
  color: #000;
  text-transform: uppercase;
  margin-bottom: 15px;
  display: block;
  position: relative;
  overflow: hidden;
}

.card-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 90%;
  height: 3px;
  background-color: #000;
  transform: translateX(-100%);
  transition: transform 0.3s;
}

.card:hover .card-title::after {
  transform: translateX(0);
}

.card-button {
  border: 3px solid #000;
  background:darkolivegreen ;
  color: #fff;
  padding: 10px;
  font-size: 18px;
  left: 20%;
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
  width:50%;
  height: 25%;
}

.card-button::before {
  content: "go to project?";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color:rgb(147, 169, 110);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(100%);
  transition: transform 0.3s;
  font-size: 16px;
}

.card-button:hover::before {
  transform: translateY(0);
}

.card-button:active {
  transform: scale(0.95);
}

/* Footer styling */
.footer {
    background-color: darkolivegreen;
    color: white;
    text-align: center;
    padding: 10px;
    position: full-width;
    bottom: 0;
    width: 100%;
    padding: 20px 14px 16px 0px;
}

.social-ico {
    width: 30px;
    height: 30px;
    margin: 0 5px;
}