/* Variable */
:root {
  --primary-color: #E0AED4;
  --secondary-color: #7FC8F8;
  --background-color: #F5F5F5;
  --font-color: #2f4f4f;
}

/* Fonts */
/* Fonts */
@font-face {
  font-family: 'Playfair Display';
  src: url('/Assets/Fonts/PlayfairDisplay-Regular.ttf') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('/Assets/Fonts/PlayfairDisplay-Italic.ttf') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('/Assets/Fonts/PlayfairDisplay-Bold.ttf') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/Assets/Fonts/DMSans-Regular.ttf') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/Assets/Fonts/DMSans-Italic.ttf') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('/Assets/Fonts/DMSans-Bold.ttf') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

body {
    background: linear-gradient(to left, var(--primary-color), var(--secondary-color), var(--background-color));
    color: var(--font-color);
    font-family: 'DM Sans', Arial, sans-serif;

}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
}

img,
button,
input,
textarea,
input::placeholder,
textarea::placeholder {
  font: inherit;
  color: inherit;
}

input::placeholder,
textarea::placeholder {
  background-color: var(--accent-color);
}

a,
a:link,
a:visited,
a:hover,
a:active {
  color: inherit;
  font: inherit;
}

ul li {
    list-style: none;
}

button:hover,
a:hover {
  box-shadow: 3px 10px 20px 10px var(--secondary-color);
}

/* Global Styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    gap: 10px;
    background-color: var(--background-color);
}

.small {
  font-size: 14px;
}

.socialIcons {
  border: 2px solid var(--text-color);
  border-radius: 20px;
  width: 50px;
  height: 50px;
  fill: var(--font-color);
  margin: 0 40px;
}

footer {
    border: 2px solid var(--outline-color);
    background-color: var(--accent-color);
    width: 100%;
    text-align: right;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background-color: var(--background-color);
}

/* Homepage Styling */
.hero-container {
    background-image: url(/Assets/Portfolio/hero.webp);
    background-size: cover; 
    background-position: center;
    height: 50vh;
    margin-top: 20px;
}

.intro {
    margin: 10px;
}

.buttons {
    display: flex;
    gap: 20px;
    margin: 20px;
    padding: 10px;
    border-radius: 10px; 
    justify-content: center;
    align-items: center;   
}

.button {
    background-color: var(--primary-color);
    color: var(--font-color);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
}
/* Portfolio Styling */

.portfolio {
  text-align: center;
  margin-top: 20px;
  font-weight: 700;
  font-size: 2rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 5px solid var(--font-color);
  margin-top: 40px;
}

.bento-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.span-col-2 { grid-column: span 2; }
.span-row-2 { grid-row: span 2; }
.span-both  { grid-column: span 2; grid-row: span 2; }

/* Services Styling */

.services-container, .about {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    max-width: 80%;
    justify-content: center;
    align-items: center;
    margin: 40px auto;
}

button {
    background-color: var(--primary-color);
    color: var(--font-color);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    margin-top: 20px;
    max-width: 200px;
}

/* Contact Styling */

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 400px;
    margin: 40px auto;

}


/* Media Queries */
@media (min-width: 768px) {
  .nav ul {
    display: flex;
    gap: 20px;
    flex-direction: row;
  }
}