/* Reset general */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f0f5;
    color: #333;
    line-height: 1.6;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social i {
    font-size: x-large;
    padding-left: 10px;
    padding-right: 10px;
    margin: auto;
}

.social {
    border-bottom: 2px solid #c2c2c2;
    margin-bottom: 15px;
}

.social :nth-child(1) i {
    color: #000;
}

.social :nth-child(2) i {
    color: #4678eb;
}

h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-align: center;
    color: #333;
}

.layoutSizes {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 20px;
    width: 100%;
    max-width: 900px;
}

fieldset {
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 8px;
    background-color: #fff;
    flex: 1;
}

legend {
    font-weight: bold;
    padding: 0 10px;
    font-size: 1.1rem;
    color: #555;
}

.widthPX input,
.heightPX input,
.descSize input,
.search-section input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.widthPX input:focus,
.heightPX input:focus,
.descSize input:focus,
.search-section input:focus {
    border-color: #4caf50;
    outline: none;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

.widthPX,
.heightPX,
.descSize {
    flex-direction: column;
}

.widthPX input,
.heightPX input,
.descSize input {
    width: 100%;
}

.search-section {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
    max-width: 600px;
}

.search-section input {
    flex: 1;
}

.search-section button {
    padding: 10px 20px;
    background-color: #4caf50;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.search-section button:hover {
    background-color: #45a049;
}

.iframe-container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    width: 70%;
    flex-wrap: wrap;
}

iframe {
    width: 30%;
    height: 400px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

iframe:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .layoutSizes {
        flex-direction: column;
        align-items: center;
    }

    .iframe-container {
        flex-direction: column;
        align-items: center;
    }

    iframe {
        width: 100%;
        height: 300px;
    }
}

@media (max-width: 480px) {
    h3 {
        font-size: 1.2rem;
    }

    .widthPX input,
    .heightPX input,
    .descSize input,
    .search-section button {
        font-size: 0.9rem;
        padding: 8px;
    }

    iframe {
        width: 100%;
        height: 250px;
    }

    .search-section {
        flex-direction: column;
        align-items: stretch;
    }

    .search-section input {
        margin-bottom: 10px;
    }
}