* {
    margin: 0;
    padding: 0;
    font-family: 'Judson', serif;
    box-sizing: border-box;
}

html {
    height: 100%;
}
body {
    background-color: #FCFCFC;
    font-family: 'Judson', serif;
    height: 100%;
    /* display height and width: ; */
    background-size: cover; 
}
header {
    background-color: #2c2fcf;
    padding: 1rem 0;
}
.container {
    padding:  10px 10%  ;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    top: 0;
    
}



nav ul li {
    display: inline-block;
    list-style: none;
    margin: 10px 40px;
    position: relative;
    top: 0em;
    left: -10px;
}

nav ul li a {
    font-size: 22px;
    position: relative;
    color: #FCFCFC;
}


.home-container {
    position: relative; 
    align-items: center; 
    padding: 100px 20px;
}
h1 {
    font-size: 32px;
    color: #2c2bc4;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
    text-align: center;
    top: 150px;
}
  

  
  h6 {
    text-align: center;
    font-size: 16px;
    color: #2c2bc4;
    font-weight: normal;
    z-index: 2;
    position: relative;
    top: 150px;
  }
  
  .corner-flower {
    position: absolute;
    width: 300px;
    z-index: 1;
  }
  
  .top-left {
    top: 40px;
    left: 20px;
  }
  
  .top-right {
    top: 40px;
    right: 20px;
  }
  
  .chandelier {
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    z-index: 1;
  }
  
  .castle {
    position: absolute;
    bottom: -400px;
    left: 20px;
    width: 550px;
  }
  
  .woman {
    position: absolute;
    bottom: -400px;
    right: 20px;
    width: 550px;
  }
  
.text-content {
    position: absolute; 
    bottom: 10%; 
    left: 5%; 
    color: #2A2ECD; 
}

.stefania {
    font-size: 4rem; 
    margin: 0; 
    font-weight: bold;
}

.portfolio {
    font-size: 2rem; 
    margin: 0;
    font-weight: normal;
}





.image_home:hover {
    animation: wiggle 5s linear ;
  }
  @keyframes wiggle {
    0%, 7% { transform: rotateZ(0);}
    15% { transform: rotateZ(-15deg);}
    20% {transform: rotateZ(10deg);}
    25% { transform: rotateZ(-10deg); }
    30% {transform: rotateZ(6deg);  }
    35% {transform: rotateZ(-4deg); }
    40%, 100% {transform: rotateZ(0); }
  }
  

    
/* End of home page / begining of about page */
#about {

    padding: 80px 20px;
    background-color: #FCFCFC;
    color: #2A2ECD;
    margin-top: 370px;
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.aboutCol1 {
    flex-basis: 35%;
}

.aboutCol1 img {
    width: 100%;
}

.aboutCol2 {
    flex-basis: 50%;
}

#sub-title {
    font-size: 60px;
    color: #2A2ECD;
}

.tab-titles {
    display: flex;
    margin: 20px 0 40px;

}
.tab-links {
    margin-top: 30px;
    margin-right: 50px;
    font-size: 26px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    display: inline-block;
    border: 2px solid #2A2ECD;
    border-radius: 5px;
    width: 130px;
    text-align: center;
}

.tab-links::after {
    content: '';
    width: 0;
    height: 3px;
    background: #2A2ECD;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

.tab-links.active-link:hover::after {
    width: 50%;
}

.tab-contents ul li {
    list-style: none;
    margin: 10px 0;

}
.tab-contents ul li span {
    color:#2A2ECD;
    font-size: 23px;
}
.tab-contents {
    display:none ;
}
.tab-contents.active-tab {
    /* that makes the content box visible  */
    display:block  ;
}

/* end of about / start of learning outcomes */
.sub-title {
    font-size: 40px;
}
.title {
    font-size: 30px;
    margin-top: 30px;
    text-align: center;
}

#lo {
    color: #FEF7E4;
    padding: 80px 30px;
    background-color: #2A2ECD;
    position: relative;
    text-align: center;

}
#lo-title {
    color: #FCFCFC;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 80px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.lo-decor-top {
    position: absolute;
    top: 40px;
    right: 60px;
    width: 150px;
    z-index: 1;
}
.lo-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    z-index: 2;
    position: relative;
}
.lo-card {
    width: 200px;
    height: 380px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border: 0.7px solid #FCFCFC;
    color: #FFFFFF;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    font-family: 'Georgia', serif;
    transition: transform 0.3s ease;
}

.lo-card:hover {
    transform: translateY(-10px);
}




.lo-list h3 {
    font-size: 25px;
    font-weight: 500;
    color: #FCFCFC;
    position: relative;
    top: -10px;
    line-height: 20px;
}



.lo-list div a {
    text-decoration: none ;
    color: #FEF7E4;
    font-size: 10px;
    display: inline-block;
    position: relative;
    top: 15px;
}





#projects {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
  }
  
  #projects .sub-title {
    font-size: 36px;
    font-weight: bold;
    color: #2A2ECD;
    text-transform: uppercase;
    margin-left: 30px;
  }
  
  .projects-list {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 30px;
    margin-top: 60px;
    z-index: 2;
    position: relative;
  }
  
  .project {
    width: 60%;
    max-width: 700px;
    height: 80px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
  }
  
  .project:hover {
    transform: translateY(-5px);
  }
  
  .project h3 {
    color: white;
    font-size: 25px;
    font-weight: 500;
    letter-spacing: 1px;
  }
  
  .project a {
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    line-height: 60px;
  }
  
  .projects-deco-img {
    position: absolute;
    bottom: 90px;
    left: 0;
    width: 500px;
    z-index: 1;
  }
  
.work img {
    width: 100%;
    border-radius: 10px;
    display:block;
    transition: transfrom 0.5s;
}



.work:hover img{
    transform: scale(1.1);
}

.work:hover .layer {
    height: 100%;
}

#my-work {
    color: #FEF7E4;
    text-align: center;
    font-size: 40px;
}


.contact-left {
    flex-basis: 35%;
    
}
.contact-right {
   align-self: flex-end;
   text-align: right;
   margin-left: auto;
    flex-basis: 60%;

}
.contact-left p {
    margin-top: 30px;
    color: #2A2ECD;
}
.contact-left p i {
    color: #2A2ECD;
    margin-right: 15px;
    font-size:25px ;
}
.social-icons {
    margin-top: 30px;

}
.social-icons a{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #2A2ECD;
    display: inline-block;
    transition: transform 0.5s;
}
.social-icons a:hover {
    transform: translateY(-5px);
}
.btn {
   display: block;
   margin: 50px auto;
   width: fit-content;
   border: 1px solid #2A2ECD;
   padding: 14px 50px;
   border-radius: 6px;
   text-decoration: none;
   color: #2A2ECD;
   transition: background 0.5s;

}
.btn:hover {
    background: #2A2ECD;
    color: #FCFCFC;
}
.btn.btn1 {
    display: inline-block;
}
.btn.btn2 {
   background-color: #2A2ECD;
   color: #FCFCFC;
}
.contact-right form {
    width: 100%;

}
form input, form textarea{
    width: 100%;
    border: 1px solid #2A2ECD;
    outline: none;
    padding: 15px;
    margin: 15px 0;
    font-size: 15px;
    border-radius: 6px;
    background-color: transparent;
    color: #2A2ECD;
   
}   
.sub-title {
    color: #2A2ECD;
}
form .btn2{
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;

}
.copyright {
    width: 100%;
    padding: 25px 0;
    background-color: #2A2ECD;
    text-align: center;
    font-weight: 300;
    margin-top: 20px;
    color: #FCFCFC;
}

/* CSS for small screen */
nav .fa-solid {
    display: none;
}

@media only screen and (max-width: 600px){
    .home-container img{
        content: url(images/homeImg-small.png);
        margin-top: -100px;
        
    }
    .text-content h3 {
        margin-top: 100%;
        font-size: 50px;
        display: flex;
        justify-content: center;
        align-self: center;
       
    }
    .text-content h6 {
        font-size: 30px;
        display: flex;
        justify-content: center;
        align-content: center;
    }
    .home-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    nav .fa-solid {
        display: block;
        font-size: 25px;
        color: #FEF7E4;
    }
    nav ul {
        background: #F50076;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: right 0.5s;
    }
    nav ul li {
        display: block;
        margin: 5px;
        line-height: 40px;
    }
    nav ul .fa-solid {
        position: absolute;
        top: 15px;
        left: 15px;
        cursor: pointer;
    }
    .logo {
        margin-left: 40px;
        margin-top: 10px;
        height: 100px;
        width: 100px;
    }
    #sub-title {
        font-size: 40px;
    }
     .aboutCol2, .aboutCol2 {
       flex-basis: 100%;
    }
    .aboutCol1 {
        margin-bottom: 10px;
        text-align: center;
    }
    .aboutimg {
        width: 300px !important;
    }
    .contact-right, .contact-left {
        flex-basis: 100%;
    }
    
    
    
}
