@font-face {
    font-family: 'Poppins-Medium';
    src: url('Poppins-Medium.otf');
}

:root {
    /* Color scheme */
    --primary-color: #ffde83;
    --accent-color: #e577af;
    --text-color: #e577af;
    --background-color: white;
    --header-background: #e577af;
    --footer-background: #e577af;
    --footer-text-color: white;
    /* Typography */
    --font-family: Poppins-Medium;
    --font-size-base: 18px;
    --font-size-heading: 50px;
    --font-weight-regular: 500;
    --font-weight-bold: 900;
    /* Spacing */
    --spacing-unit: 10px;
    /* Transitions */
    --transition-duration: 0.5s;
    --scale: 1;
    --scale-hover: 1.1;
}

body {
    
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    color: var(--text-color);
    margin: 0;
    padding: 0;  
}


header {
    display: flex;
    background-color: var(--header-background);
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-unit);

}

.logo img {
    width: 30%;
    height: auto;
    margin-left: 30%;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 50px;
    margin-right: 100px;
}

nav ul li a {
    display: inline-block;
    text-decoration: none;
    font-weight: var(--font-weight-bold);
    color: white;
    transform: scale(var(--scale));
    transition: color var(--transition-duration) ease, transform var(--transition-duration) ease;
}

nav ul li a:hover {
    color: var(--primary-color);
    transform: scale(var(--scale-hover));
}

nav ul li{
    transform: scale(var(--scale));
    transition: transform var(--transition-duration) ease;
}

nav ul li:hover{
    transform: scale(var(--scale-hover));
} 

main {
    max-width: 1440px;
    margin: 0 auto;
    padding: var(--spacing-unit);
}

section {
    margin-bottom: calc(var(--spacing-unit)*4);
}

h1 {
    font-size: var(--font-size-heading);
    font-weight: var(--font-weight-bold);
    margin-bottom: 0;
    margin-left: 150px;
    color: white;
}

h2 {
    font-size: var(--font-size-heading);
    font-weight: var(--font-weight-bold);
    margin-bottom: 0;
    color: #e577af;
}

p {
    font-size: var(--font-size-base);
    line-height: 1;
}

#bio{
    margin-left: 150px;
    margin-right: 50px;
    width: 55%;
}

.skills ul {
    list-style: square;
    margin-left: var(--spacing-unit);
}

.projects {
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--spacing-unit)*3);
    justify-content: space-evenly;
}

.projectCard {
    width: 400px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transform: scale(var(--scale));
    transition: all var(--transition-duration) ease;
    color: #e577af;
}

.projectCard:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: scale(var(--scale-hover));
}

.projectCard img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
}

.projectCard h3,
.projectCard p {
    padding: var(--spacing-unit);
}

.contact form {
    display: flex;
    flex-direction: column;
}

.contact form input,
.contact form textarea {
    border: 1px solid var(--accent-color);
    padding: var(--spacing-unit);
    border-radius: 12px;
}

.contact form input:focus,
.contact form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 12px;
    padding: var(--spacing-unit);
    margin: var(--spacing-unit);
    cursor: pointer;
    font-weight: var(--font-weight-bold);
    transition: background-color 0.4s;
}

.button2 {
    background-color: white;
    color: #e577af;
    border: none;
    border-radius: 12px;
    padding: var(--spacing-unit);
    margin: var(--spacing-unit);
    cursor: pointer;
    font-weight: var(--font-weight-bold);
    transition: background-color 0.4s;
    margin-left: 150px;
}

.button2:hover{
    background-color: #ffde83;
    color: #e577af;
}

.button:hover {
    background-color: var(--primary-color);
    color: #e577af;
}

.footer {
    background: #e577af;
    padding: 30px 0px;
    font-family: 'Play', sans-serif;
    text-align: center;
}

.footer .row {
    width: 100%;
    margin: 1% 0%;
    padding: 0.6% 0%;
    color: white;
    font-size: 0.8em;
}

.footer .row a {
    text-decoration: none;
    color: white;
    transition: 0.5s;
}

.footer .row a:hover {
    color: #fff;
}

.footer .row ul {
    width: 100%;
}

.footer .row ul li {
    display: inline-block;
    margin: 0px 30px;
}

.footer .row a i {
    font-size: 2em;
    margin: 0% 1%;
}

@media (max-width:720px) {
    .footer {
        text-align: left;
        padding: 5%;
    }

    .footer .row ul li {
        display: block;
        margin: 10px 0px;
        text-align: left;
    }

    .footer .row a i {
        margin: 0% 3%;
    }
}

.google-map {
    padding-bottom: 35%;
    position: relative;
}

.google-map iframe {
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    position: absolute;
}

#about {
    padding-top: 100px;  
    padding-bottom: 100px;                                  
    background-color: #e577af;           
    color: white;            
     
}

#title-image {
    width: 700px;
    height: auto;
    float: right;
    margin-left: -500px;
    margin-top: -500px;
    
}

#experience {
    text-align: center;
    color: var(--accent-color);
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

#middle-image {
    width: 100%;
    height:auto; 
}

#contact{
    width: 700px;
    padding: 50px;
    margin: 10px;
    
}
#contact-info {
    width: 550px;
    height: auto;
    float: right;
    margin-right: -600px;
    margin-top: -250px;
    color: #e577af;
}

#little-cake{
    width: 5%;
    height: auto;
}

#personal-message{
    color: #e577af;
    width: 50%;
}

#my-slides{
    width: 50%;
    height: auto;
}

h2{
    padding-top: 25px;
    padding-bottom: 20px;
}

.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

/* Hide the images by default */
.mySlides {
    display: none;
}


.mySlides img {
    width: 100%;
    height: auto;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: var(--accent-color);
}

.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #e577af;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #ffde83;
}


.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1.5s;
    animation-name: fade;
    animation-duration: 1.5s;
}

@-webkit-keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

@media only screen and (max-width: 600px) {
    .prev, .next, .text {font-size: 11px;}
}