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

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

body{
    font-family:'Poppins',sans-serif;
    background:
    linear-gradient(rgba(255,255,255,.82),rgba(255,255,255,.82)),
    url('https://i.pinimg.com/originals/fd/30/f5/fd30f542141390edfe58f1cf5084d2c0.png');
    background-size:cover;
    background-position:center;
    background-attachment:fixed;
    text-align:center;
    color:#85103d;
    padding:40px 20px;
    padding-right:320px;
}

h1{
    font-size:3rem;
    color:#85103d;
    margin-bottom:10px;
    text-shadow:0 0 15px rgba(255,105,180,.4);
    animation:floatTitle 2s ease-in-out infinite;
}

@keyframes floatTitle{
    0%,100%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(-8px);
    }
}

h2{
    color:#176d73;
    font-weight:400;
    margin-bottom:15px;
}

.i{
    margin-bottom:40px;
}

.g{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
    margin-bottom:50px;
}

.x p{
    color:#85103d;
    font-weight:600;
    margin-bottom:10px;
}

a{
    text-decoration:none;
}

img{
    width:220px;
    height:220px;
    object-fit:cover;
    padding:8px;
    border-radius:25px;
    border:6px solid #ffd6e8;
    background:rgba(255,255,255,.75);
    box-shadow:0 8px 25px rgba(255,182,193,.45);
    transition:.3s;
}

img:hover{
    transform:scale(1.05) rotate(1deg);
    border-color:#ff9ac9;
    box-shadow:0 12px 35px rgba(255,105,180,.4);
}

.box{
    max-width:700px;
    margin:50px auto;
    padding:30px;
    border-radius:25px;
    border:4px solid #176d73;
    background:rgba(255,255,255,.92);
    box-shadow:0 8px 25px rgba(255,182,193,.35);
}

.box h2{
    color:#85103d;
}

form{
    display:flex;
    flex-direction:column;
    gap:15px;
}

label{
    text-align:left;
    color:#85103d;
    font-weight:600;
}

input,
select,
textarea{
    font-family:'Poppins',sans-serif;
    padding:12px;
    border-radius:12px;
    border:2px solid #ffd6e8;
    background:#fffafc;
}

button{
    background:#85103d;
    color:white;
    border:none;
    border-radius:15px;
    padding:14px;
    font-family:'Poppins',sans-serif;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

button:hover{
    background:#176d73;
    transform:scale(1.03);
}

iframe{
    border-radius:15px;
}

.sidebar{
    position:fixed;
    top:30px;
    right:20px;
    width:250px;
}

.sidebar-box{
    background:white;
    border-radius:20px;
    padding:20px;
    margin-bottom:20px;
    border:4px solid #ffd6e8;
    box-shadow:0 8px 25px rgba(255,182,193,.35);
}

.sidebar-box h3{
    margin-bottom:12px;
    color:#85103d;
}

.sidebar-box p{
    text-align:left;
    line-height:1.6;
}

/* for responsiveness on other devices*/

@media (max-width: 1000px){

    body{
        padding-right:20px;
    }

    .sidebar{
        position:static;
        width:100%;
        max-width:700px;
        margin:30px auto;
    }

    img{
        width:200px;
        height:200px;
    }
}

/* for responsiveness on other devicesd */

@media (max-width: 600px){

    body{
        padding:20px 12px;
    }

    h1{
        font-size:2.2rem;
    }

    h2{
        font-size:1.1rem;
    }

    .i{
        font-size:.95rem;
    }

    .g{
        gap:15px;
    }

    .x{
        width:100%;
    }

    img{
        width:min(85vw,280px);
        height:min(85vw,280px);
    }

    .box{
        margin:30px auto;
        padding:20px;
    }

    input,
    select,
    textarea,
    button{
        width:100%;
        font-size:16px;
    }

    iframe{
        width:100%;
        height:152px;
    }

    .sidebar{
        width:100%;
        margin-top:20px;
    }

    .sidebar-box{
        padding:16px;
    }
}