.title {
    text-align: center;
}

.form {
    padding: 15px;
    background-color: rgb(159, 231, 174);
    box-shadow: 0 0 5px rgb(116, 240, 142);
    border-radius: 5px;
    width: 30%;
}

label {
    display: inline-block;
    margin-bottom: 5px;
}

input, textarea {
    display: inline-block;
    margin-bottom: 10px;
    border: none;
    border-radius: 3px;
    width: 100%;
}
.check {
   width : 10%
}

.contact-container {
    display: flex;
    justify-content: flex-start;
}

.illustration-img {
    margin: 0px;
    width: 400px;
}
.contact {
    display: inline-block;
    margin: 10px 30px;
    text-align: center;
}

.profile-contact-img {
    width: 200px;
}

.form-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.input-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.icon {
    margin-right: 6px;
}
.fa-user, .fa-map-marker-alt, .fa-envelope-open, .fa-comment {
    font-size: 27px;
}

.form-label {
    position: absolute;
    left: 10px;
    top: 10px;
}

.form-input {
    position: relative;
    width: 100%;
    border-bottom: 1px solid grey;
    outline: none;
    height: 48px;
    margin-bottom: 15px;
    padding: 0;
}

.input-item {
    position: absolute;
    top: 0;
    left: 0;
    border-style: none;
    outline: none; 
    background-color: transparent;
    padding: 0;
    margin: 0;
    font-size: 15px;
    height: 100%;
}

.textarea-container {
    display: flex;
    justify-content: center;
}

.form-textarea {
    position: relative;
}

.textarea {
    border-style: none;
    border-bottom: 1px solid grey;
    outline: none;
    margin-top: 10px;
}

.submit {
    border-style: none;
    border-radius: 25px;
    color: aliceblue;
    background-color: rgb(38, 70, 83);
    margin: 5px;
    cursor: pointer;
}
.input-item:focus + .form-label {
    top: -5px;
    left: -2px;
    font-size: 10px;
}
.textarea:focus + .form-label {
    top: -5px;
    left: -2px;
    font-size: 10px;
}

.input-item:not(:placeholder-shown).input-item:not(:focus) + .form-label {
    top: -2px;
    left: -2px;
    font-size: 10px;
    color: rgb(138, 130, 130);
}

.modal-container {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.411);
    visibility: hidden;
    opacity: 0;
    transition: visibility 1s, opacity 1s;
}

.show {
    visibility: visible;
    opacity: 1;
}

.modal {
    width: 600px;
    height: 400px;
    position: relative;
    background-color:white;
    padding: 35px;
    border-radius:10px;
    display: flex;
    justify-content:center;
    align-items: center;
    flex-direction: column;
}

.modal h3 {
    margin:0;
    padding:0;
    font-size:30px;
}

.modal p {
    margin: 20px 0;
    padding:0;
    font-size:15px;
}

.modal img {
    display: block;
    margin: 0 auto 0 auto;
    padding:0;
    width: 300px;
}

.section-slider {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 30px;
}

.image-slider {
    position: relative;
    width: 640px;
    height: 426px;
}

.slide {
    width: 100%;
    position: absolute;
}

.slide img {
    width: 100%;
    border-radius: 15px;
}

.slide-text {
    position: absolute;
    bottom: 50px;
    left: 30px;
    background-color: rgba(220, 220, 220, 0.609);
    padding: 15px ;
    border-radius: 10px;
}

.slide-text h2 {
    font-size: 30px;
    padding: 0;
    margin: 0;
}

.slide-text p {
    font-size: 15px;
    padding: 0;
    margin: 0;
}

.navigation {
    position: absolute;
    display: flex;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.slider-btn {
    background-color: rgb(151, 151, 151);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    margin: 0 5px;
}

.wave1 {
    position: absolute;
    top: 195px;
    z-index: 2;
    font-size: 3vw;
}

body{
    background-image: url("background.jpg");
    background-size: cover;
}

.section-container{
    text-align: center;
    padding: 10px;
}
.section-tile{
    font-size: 40px;
    margin: 50px 0 0;
}
.section-subtitle{
    font-size:15px;
    color:gray;
    margin: 10px 0 0;
}
.about-flex-item{
    display:block;
}
.about-image{
    margin:0;
}
.blob-image{
    width:500px;
    height: auto;
    transform: rotate(-90deg);
}
.blogger-image{
    position:absolute;
    width: 200px;
    height:auto;
    left:580px;
    top:350px;
}

.about-description p{
    width: 60%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: 2px;
}
.about-description h4{
    color: gray;
    letter-spacing: 2px;
}
.skills-flex{
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 50px;
}
.skill-item{
    box-shadow: 0 0 3px gainsboro;
    border-radius: 10px;
    padding: 15px;
    background-color: white;
}
.skill-item img{
    width: 200px;
    height : 180px;
}
.skill-item p{
    padding: 5px;
    box-shadow: 0 0 10px gainsboro;
    border-radius: 5px;
    background-color: rgb (243, 199, 117);
}
.activity-flex{
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    justify-content: center;
}

.activity-item{
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 3px gainsboro;
    border-radius: 5px;
    margin: 10px;
}

.activity-item img{
    width: 350px;
    height: auto;
}

@media (max-width: 900px) {
    * {
        font-size: 2.5vw;
        padding: 0px;
        margin: 0px;
    }
    
.section-title {  
   font-size: 4vw;
}
.section-subtitle {
   font-size: 2vw;
}
.blob-image {
   max-width: 60%;
   max-height: 60%;
   transform: rotate(-90deg);
}
.blogger-image {
   position: absolute;
   max-width: 27%;
   max-height: 50%;
   left: 37%;
   top: 100px;  
}
.about-description p {
   width: 80%;
}
.skill-item {
   margin: 5px;
}

.contact-container {
   justify-content: center;
}
.illustration-img {
   display: none;
}
.modal {
   display: flex;
   align-items: center;
   flex-direction: column;
   max-width: 60%;
   max-height: 40%;
   padding: 10px;
}
.modal h3 {
   margin: 0;
   padding: 0;
   font-size: 4vw;
}
.modal img {
   max-width: 60%;
}

.image-slider {
   width: 50%;
   height: 240px;
}
.slide-text {
   left: 0;
   bottom: 0;
}    
.slide-text h2 {
   width: 150px;
   height: auto;
   font-size: 20px;
}
.slide-text p {
   font-size: 10px;
}
}











