Making text box above already centered container

Im trying to make a informative text box and i feel like the answer should be pretty simple but im overlooking something. After a few tries and also checking the mighty GPT im coming here for advice.

Currently it looks like this
enter image description here

And i want it to look something like this, where the marked area is the text box
enter image description here

The code is the following

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Password Strength Checker</title>
    <link rel="stylesheet" href="styles.scss">
</head>
<body>
    <!-- Informative Text Box Container -->
    <div class="info-container">
        <p>This is an informative text box. It provides guidelines for creating a strong password.</p>
</div>

<!-- Main Content Container -->
<div class="container">
    <h1>Password Strength Checker</h1>
    <label for="password">Enter Password:</label>
    <input type="password" id="password" placeholder="Password">
    <div class="criteria">
        <div class="criteria-item" id="capitalCheck">Capital Letters: <span class="indicator"></span></div>
        <div class="criteria-item" id="numberCheck">Numbers: <span class="indicator"></span></div>
        <div class="criteria-item" id="symbolCheck">Symbols: <span class="indicator"></span></div>
    </div>
    <button onclick="calculateTime()">Calculate</button>
    <div id="result"></div>
</div>

<script src="script.js"></script>

And the scss

/* styles.scss */

/* Informative Text Box Container */
.info-container {
    background-color: #f0f0f0;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center; /* Center text */
}

/* Main Content Container */
.container {
    background-color: #fff;
    padding: 30px; /* Adjusted padding to match the informative text box */
    width: 400px; /* Matched width with .article.container */
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Additional styles */
.criteria-item {
    margin-bottom: 10px;
}

/* Rest of your existing styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container>h1 {
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
}

label {
    font-size: 16px;
    display: block;
    margin-bottom: 10px;
}

input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

p#result {
    margin-top: 20px;
    font-size: 18px;
    text-align: center;
}

ul.criteria {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

ul.criteria>li {
    font-size: 16px;
}

span.indicator {
    font-size: 16px;
    color: red;
}

span.valid {
    color: green;
}

and finally the javascript

document.getElementById("password").addEventListener("input", function() {
    var password = this.value.trim(); // Trim to remove leading and trailing spaces
    var capitalCheck = document.getElementById("capitalCheck").querySelector(".indicator");
    var numberCheck = document.getElementById("numberCheck").querySelector(".indicator");
    var symbolCheck = document.getElementById("symbolCheck").querySelector(".indicator");

    capitalCheck.textContent = /[A-Z]/.test(password) ? '✔' : '✘';
    numberCheck.textContent = /d/.test(password) ? '✔' : '✘';
    symbolCheck.textContent = /[!@#$%^&*()_+-=[]{};':"\|,.<>/?]/.test(password) ? '✔' : '✘';

    capitalCheck.style.visibility = /[A-Z]/.test(password) ? "visible" : "visible";
    numberCheck.style.visibility = /d/.test(password) ? "visible" : "visible";
    symbolCheck.style.visibility = /[!@#$%^&*()_+-=[]{};':"\|,.<>/?]/.test(password) ? "visible" : "visible";
});


function calculateTime() {
    var password = document.getElementById("password").value;
    var charCount = password.length;
    var hasUpperCase = /[A-Z]/.test(password);
    var hasNumber = /d/.test(password);
    var hasSymbol = /[!@#$%^&*()_+-=[]{};':"\|,.<>/?]/.test(password);

    var possibleCharacters = 26 + (hasUpperCase ? 26 : 0) + (hasNumber ? 10 : 0) + (hasSymbol ? 32 : 0); // lowercase letters + uppercase letters + numbers + symbols
    var permutations = Math.pow(possibleCharacters, charCount);

    var seconds = permutations / 1000000000; // divide by 1 billion to convert to seconds
    var minutes = seconds / 60;
    var hours = minutes / 60;
    var days = hours / 24;
    var years = days / 365;

    var result = "It would take approximately ";
    if (years >= 1) {
        result += Math.floor(years) + " years, " + Math.floor(days % 365) + " days, " + Math.floor(hours % 24) + " hours, " + Math.floor(minutes % 60) + " minutes, and " + Math.floor(seconds % 60) + " seconds to crack this password.";
    } else if (days >= 1) {
        result += Math.floor(days) + " days, " + Math.floor(hours % 24) + " hours, " + Math.floor(minutes % 60) + " minutes, and " + Math.floor(seconds % 60) + " seconds to crack this password.";
    } else if (hours >= 1) {
        result += Math.floor(hours) + " hours, " + Math.floor(minutes % 60) + " minutes, and " + Math.floor(seconds % 60) + " seconds to crack this password.";
    } else if (minutes >= 1) {
        result += Math.floor(minutes) + " minutes, and " + Math.floor(seconds % 60) + " seconds to crack this password.";
    } else {
        result += Math.ceil(seconds) + " seconds to crack this password.";
    }

    document.getElementById("result").innerText = result;
}

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật