При добавление текста в блок, съезжает

Имею 3 блока, с разной начинкой, при добавлении в блок текста, съезжает вниз

html {
    width: 100%;
    height: 100%;
}
body {
    height: 100vh;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: url(background.png);
    background-size: cover;
}
.header {
    background-color: black;
    width: 100%;
    height: 100px;
    margin: 0%;
}
.container {
    height: 90px;
    width: 90px;
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.outer {
    
    background-image: url("background.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;

}
.main {
    position: relative;
    display: block;
    height: 100vh;
}
.container2 {
    position: absolute;
    width: 1200px;
    height: 450px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.container3 {
    float: left;
    position: relative;
    width: 1200px;
    height: 450px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.discorddontclick1 {
    display: inline-block;
    width: 300px;
    height: 450px;
    border-radius: 50px;
    background-color: black;
    
}
.discorddontclick2 {
    display: inline-block;
    width: 300px;
    height: 450px;
    border-radius: 50px;
    background-color: black;
   
    
}
.discorddontclick3 {
    display: inline-block;
    width: 300px;
    height: 450px;
    border-radius: 50px;
    background-color: black;
    
}
.dslogo {
    display: flex;
    width: 250px;
    height: 250px;
    background-image: url(dsLogo.png);
    margin-left: 25px;
}
.serverlogo {
    display: flex;
    width: 250px;
    height: 250px;
    background-image: url(severlogo.png);
    margin-left: 25px;
}
.sociallogo {
    display: flex;
    width: 250px;
    height: 250px;
    background-image: url(sociallogo.png);
    margin-left: 25px;
}
.text1 {
    display: flex;
    width: 253px;
    height: 31px;
    
}
h1 {
    color: aliceblue;
    margin: 0;
    font-family: Joan;
    font-size: 24px;
    font-weight: 400;
    line-height: 31px;
    letter-spacing: 0em;
    text-align: left;
    
}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="style.css">
    <title>Destiny Project</title>
</head>
<body>
    <div class="header">
        <div class="container">
            <a href="page1.html">
                <img src="logo1.png" alt="">
            </a>
        </div>
    </div>
    <div class="main">
        <div class="container2">
            <div class="container3">
                <div class="discorddontclick1">
                    <div class="dslogo"></div>
                    <div class="text1">
                      
                    </div>
                </div>
                <div class="discorddontclick2">
                    <div class="serverlogo"></div>
                </div>
                <div class="discorddontclick3">
                    <div class="sociallogo"></div>
                </div>
            </div>
           
        </div>
        
    </div>
   

</body>
</html>


Ответы (0 шт):