* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    margin: 0;
}

body {
    background-image: url('img/background.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    padding: 5% 0;
}

#main {
    font-family: Arial, Helvetica, sans-serif;
    font-size: large;
    font-weight: bold;
    padding: 0px;
    margin: 20px auto;
    text-align: center;
    background-color: cyan;
    color: black;
    border-radius: 15px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100% - 40px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

#main p {
    padding: 10px;
}

#secondary {
    font-family: Arial, Helvetica, sans-serif;
    font-size: large;
    font-weight: bold;
    padding: 0px;
    margin: 20px auto;
    text-align: center;
    background-color: cyan;
    color: black;
    border-radius: 15px;
    position: relative;
    max-width: calc(100% - 40px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    align-items: center;
    width: 1021px;
}

#secondary p {
    
}

#secrets p {
    color: white;
}

.image {
    width: 200px;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.image2 {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
}


.icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: calc(100% - 20px);
    padding: 0 10px;
    margin-top: 20px;
    position: relative;
}

.icon-link {
    text-decoration: none;
}

.social-icon {
    width: 40px;
    height: 40px;
    transition: transform 0.3s, opacity 0.3s;
}

.social-icon:hover {
    transform: scale(1.2);
}



@media (max-width: 768px) {
    #main {
        flex-direction: column; 
    }

    .image {
        width: 100%;
        height: auto; 
    }
}
