@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

footer {
    background-color: #333;
    color: #bbb;
    padding: 30px;
    text-align: center;
    font-size: 14px;
}

.global-footer {
    bottom: 0px;
    position: relative;
    width: 100%;
}

footer a {
    color: #ff6f61;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

body {
    font-family: Arial, sans-serif;
    background-color: #fff4f4;
    color: #333;
}

main {
    min-height: 100vh;
}

h1 {
    text-align: center;
    margin-top: 20px;
}


h2 {
  font-size: 24px;
  color: #333;
}

/* Header layout */
header {
    background-color: #f6a0a0;
    padding: 10px 30px;
    display: flex;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    flex-direction: row;
    height: 20rem;
    justify-content: flex-start;
    align-items: flex-start;
}

/* Site Logo */
.site-logo img {
    width: 15rem;
    height: 15rem;
    border-radius: 50%;
    border: 4px double #ff6f61;
    transition: transform 0.3s ease;
    position: absolute;
    left: 1%;
}

.site-logo img:hover {
    transform: scale(1.05);
}

/* Burger menu */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.burger span {
    width: 25px;
    height: 3px;
    background: black;
    border-radius: 2px;
}

/* Navigation links - modern and elegant */
nav {
    display: flex;
    gap: 20px;
    transition: max-height 0.3s ease;
    position: absolute;
    top: 20rem;
    flex-direction: row;
}


nav a {
    font-family: 'Inter', sans-serif;
    color: #222;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid transparent;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    border-radius: 6px;
}

nav a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #ff6f61;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

nav a:hover {
    background-color: #ff6f61;
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 111, 97, 0.35);
    border-color: #ff6f61;
}

nav a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

nav a:hover {
    background-color: #ff6f61;
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 111, 97, 0.35);
    border-color: #ff6f61;
}

.go-back {
      z-index: 100;
      color: white;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      position: absolute;
      margin: 20px;
      right: 100px;
      top: 350px;
      text-decoration: none;
      padding: 20px 30px 20px 30px;
      font-size: 2rem;
      background: linear-gradient(145deg, #f6a0a0, #ff6f61);
      box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1), -2px -2px 6px rgba(255, 255, 255, 0.5);
}

.go-back:hover {
  background: linear-gradient(145deg, #ff6f61, #f6a0a0);
  transform: translateY(-3px);
  box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.2), -2px -2px 12px rgba(255, 255, 255, 0.3);
}

.go-back:active {
  transform: translateY(1px);
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 0px 0px rgba(255, 255, 255, 0.3);
}

/* Profile picture styles */
.dashboard-header {
    position: absolute;
    right: 3%;
    top: 1rem;
}

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

.profile-picture {
    width: 15rem;
    height: 15rem;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ff6f61;
    transition: box-shadow 0.3s;
}

.profile-picture:hover {
    box-shadow: 0 0 10px #ff6f61;
}

.pretty-dropdown {
  background-color: white;
  color: #333;
  border: 2px solid rgb(246, 160, 160);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 16px;
  font-family: Arial, sans-serif;
  transition: all 0.3s ease;
  outline: none;
  cursor: pointer;
}

.pretty-dropdown:hover {
  border-color: #e68c8c;
  box-shadow: 0 0 6px rgba(246, 160, 160, 0.5);
}

.pretty-dropdown:focus {
  border-color: #e68c8c;
  box-shadow: 0 0 8px rgba(246, 160, 160, 0.7);
}

/* Responsive styling */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        background-color: #f6a0a0;
        margin-top: 10px;
        align-items: center;
        top: 11rem;
        left: 0;
    }

    nav.open {
        max-height: 500px;
        left: 0;
        padding-bottom: 20px;
        top: 11rem;
    }

    nav a {
        width: 80%;
        text-align: center;
    }

    header {
        height: 11rem;
    }

    .dashboard-header {
        margin-left: 0;
    }

    .profile-picture {
        width: 7rem;
        height: 7rem;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid #ff6f61;
        transition: box-shadow 0.3s;
    }

    .burger {
        display: flex;
        position: absolute;
        top: 10rem;
        right: 2rem;
        height: fit-content;
    }

    .dashboard-header {
        margin-left: 0;
        top: 0;
        margin-top: 10px;
    }

    .profile-picture {
        width: 7rem;
        height: 7rem;
        border-radius: 50%;
        object-fit: cover;
        border: 3px solid #ff6f61;
        transition: box-shadow 0.3s;
    }

    .site-logo img {
        width: 7rem;
        height: 7rem;
    }

    .burger span {
        width: 70px;
        height: 3px;
        background: black;
        border-radius: 2px;
        top: 300px;
    }

    .global-footer {
        bottom: 0px;
        width: 100%;
    }

    .go-back {
        position: absolute;
        top: 25%;
        right: 2%;
    }
}

